Page MenuHomePhabricator

Support "Preview page with this template" (TemplateSandbox) in the new wikitext editor
Open, LowPublic8 Estimated 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

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 set the point value for this task to 8.
Jdforrester-WMF moved this task from To Triage to TR1: Releases on the VisualEditor board.

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.

Change 570984 had a related patch set uploaded (by BrandonXLF; owner: BrandonXLF):
[mediawiki/extensions/TemplateSandbox@master] Support page preview in the 2017 wikitext editor

https://gerrit.wikimedia.org/r/570984