Page MenuHomePhabricator

Window title for "Creating" should support parser functions
Closed, DeclinedPublic

Description

The browser window title is changed to "Parse error at position 0 in input {{"}}{{{1|$1}}}{{"}}" when editing an article with the VisualEditor on dewp. Reproducible in many articles and at least Firefox and Chromium.

Details

Reference
bz49951

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:47 AM
bzimport set Reference to bz49951.

This seems to be caused by the templates in [[de:MediaWiki:Editing]].

Can be seen on testwiki as well, where parser functions are the cause ([[testwiki:MediaWiki:Editing]]).

This seems solved now on dewp. Good to close from my side.

This is still an issue. I've restored MediaWiki:Editing on testwiki for demonstration purposes.

Krinkle has stated "Don't use wikitext in this message" (MediaWiki:Editing), but he didn't give a reason. Since parser functions, etc. work fine in this message in MediaWiki core, I think we should expect VE to handle them too, or else it should use a different message that specifically does not support fancy stuff.

matmarex renamed this task from VisualEditor: Window title changed to "Parse error at position 0 in input {{"}}{{{1|$1}}}{{"}}" on some pages to Window title changed to "{{„}}{{{1|$1}}}{{“}} – Erstellen" when creating a new page.Apr 10 2015, 4:57 PM
matmarex set Security to None.

This is still a problem, currently only visible when creating a new page because https://de.wikipedia.org/w/index.php?title=MediaWiki:Editing&action=edit no longer has the templates, but https://de.wikipedia.org/w/index.php?title=MediaWiki:Creating&action=edit still does. T95711 is the same bug for MediaWiki's live preview feature.

(No "Parse error at position 0" since T54479 was fixed.)

Krinkle renamed this task from Window title changed to "{{„}}{{{1|$1}}}{{“}} – Erstellen" when creating a new page to Window title for "Creating" should support parser functions.Apr 10 2015, 6:39 PM
Krinkle updated the task description. (Show Details)

This and T95711 are wontfix. These localisation messages should not use parser functions. This was never intentionally supported and whatever localisation needs exist in German that need this should be filed as a separate task against MediaWiki core to find a way to support that.

Complex parser functions will not be supported in this interface message.

matmarex claimed this task.

(If they're wontfix, then let's decline them.)