This task is about adding support for preloaded text to the New Discussion Tool.
Behavior
- On wikis where the New Discussion Tool is available and on pages where the New Discussion Tool has been enabled for preloads (see: T270797), visit a discussion page that contains a custom new section call to action that, when clicked, loads the new section from from a URL that contains &preload=.[i][ii]
- Click the "custom new section call to action" mentioned in "Step 1."
- Observe the New Discussion Tool opens in source mode [iii], populated with the preloaded content that is being called from the page &title= portion of the URL mentioned in "Step 1."
Open questions
- What makes it challenging to show people preloaded content in the tool's visual mode? My instinct: this constraint stems from the tool's [current] inability to offer reliable support for templates, as we talked about in T241388#5830983.
- "...main problem would be support for templates, and even worse, substituted templates..." More details in T269310#6697490.
Done
- All "Open questions" are answered
- "Behavior" is implemented
References
- en:Malformed entries derived from preloads - is there a better way to do this?
- A discussion @matmarex spotted at en.wiki describing a case the work this ticket is describing would with.
i. en.wiki's WP: Teahouse is an example of page that contains said "custom" new section call to action. Another example: visit 2022 Russian invasion of Ukraine and click the Submit an edit request button (via User:ProcrastinatingReader at en.wiki)
ii. More examples of pages that contain "custom new section calls to action" can be found in T250768
iii. See: T250768#6441372