Page MenuHomePhabricator

Support "Preview page with this template" (TemplateSandbox) in the new wikitext editor
Open, LowPublic8 Story Points

Description

"Preview page with this template" is available in the regular wikitext editor in the Template namespace, but not available in the new wikitext editor.

Event Timeline

Amire80 created this task.Dec 15 2016, 10:06 PM
Restricted Application added a project: VisualEditor. · View Herald TranscriptDec 15 2016, 10:06 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
AlexMonk-WMF renamed this task from Support "Preview page with this template" in the new wikitext editor to Support "Preview page with this template" (TemplateSandbox) in the new wikitext editor.Dec 15 2016, 11:40 PM

(I've accidentally linked to this task in a few unrelated revisions - if you're here from no.wikipedia.org please see T153579 instead)

This is the API call we'll need to use:

{
	"action": "parse",
	"page": "Page being previewed",
	"templatesandboxtitle": "Template:Template being edited",
	"templatesandboxtext": "New wikitext of template being edited"
}
Jdforrester-WMF triaged this task as Low priority.Feb 21 2017, 8:16 PM
Jdforrester-WMF set the point value for this task to 8.
Jdforrester-WMF moved this task from To Triage to TR1: Releases on the VisualEditor board.
Deskana moved this task from TR1: Releases to Freezer on the VisualEditor board.Feb 23 2018, 7:41 PM

Is anything happening here? I have made a lot of unnecessary template edits already because of the lack of a preview function. If it is not introduced, I guess template pages should either use the CodeEditor or the old wikitext mode per default , otherwise template editing will never properly work.

stjn awarded a token.Jan 3 2019, 11:39 AM
stjn added a subscriber: stjn.
SerDIDG added a subscriber: SerDIDG.