Page MenuHomePhabricator

Parsing error on TwoColConflict preview note message
Closed, ResolvedPublic3 Estimated Story Points

Description

Using the TwoColConflict extension on de.wikipedia.org to solve an edit conflict there's a parsing error when parsing the preview note message. See screenshot:

TwoColConf - Preview Parse Error.png (900×1 px, 158 KB)

In the JS console there's the following:

mediawiki.jqueryMsg: previewnote: Parse error at position 78 in input: Dies ist nur eine [[Hilfe:Seite bearbeiten#Vorschau und Speichern|Vorschau]], {{#switch: {{NAMESPACEE}}
| =der Artikel
| #default=die Seite
}} wurde noch nicht gespeichert!

The rendered text:

Dies ist nur eine [[Hilfe:Seite bearbeiten#Vorschau und Speichern|Vorschau]], {{#switch: {{NAMESPACEE}} | =der Artikel | #default=die Seite }} wurde noch nicht gespeichert! →Zum Bearbeitungsfeld gehen

Link to the local previewnote message:

https://de.wikipedia.org/wiki/MediaWiki:Previewnote

Related Objects

Event Timeline

thiemowmde set the point value for this task to 3.Nov 22 2019, 11:00 AM

Change 552518 had a related patch set uploaded (by Andrew-WMDE; owner: Andrew-WMDE):
[mediawiki/extensions/TwoColConflict@master] Fix error which occurs when parsing the previewnote message

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

Change 552518 merged by jenkins-bot:
[mediawiki/extensions/TwoColConflict@master] Fix error which occurs when parsing the previewnote message

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

WMDE-Fisch moved this task from Demo to Done on the WMDE-QWERTY-Sprint-2019-12-11 board.

Fixed now and deployed just confirmed on de.wikipedia