Last modified: 2013-08-13 23:51:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53961, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51961 - Unnecessary nowiki escaping of [ and ] chars in template arg.
Unnecessary nowiki escaping of [ and ] chars in template arg.
Status: NEW
Product: Parsoid
Classification: Unclassified
serializer (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-24 12:46 UTC by John Mark Vandenberg
Modified: 2013-08-13 23:51 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description John Mark Vandenberg 2013-07-24 12:46:30 UTC
Steps to reproduce:

1. https://fr.wikipedia.org/wiki/Robert_Soucy?veaction=edit
2. Find the template with 'Soucy a écrit une belle histoire sociale de la France, qui souligne'
3. Open dialog on that template
4. Select parameter 'Texte'
5. Add a ' ' (space) at the end
6. Accept changes, Save page, Review your changes

{{citation|Soucy a écrit une belle histoire sociale de la France, qui souligne [dans ''French fascism''] l’importance de l’appui financier des riches sympathisants et de son attrait généralisé aux yeux des membres petit-bourgeois du parti<ref>James F. McMillan, historien britannique, ''{{lang|en|texte=London Times Literary Supplement}}'', 1995.</ref>.}}

becomes

{{citation|1=<nowiki>Soucy a écrit une belle histoire sociale de la France, qui souligne [dans </nowiki>''French fascism''<nowiki>] l’importance de l’appui financier des riches sympathisants et de son attrait généralisé aux yeux des membres petit-bourgeois du parti</nowiki><ref>James F. McMillan, historien britannique,  ''{{lang|en|texte=London Times Literary Supplement}}'', 1995</ref>.}}

This was a parsoid topfail.
http://parsoid.wmflabs.org:8001/topfails/1
http://parsoid.wmflabs.org:8001/latestresult/fr/Robert_Soucy
Comment 1 ssastry 2013-07-30 17:35:57 UTC
Related: Bug 52268

I am sure a similar problem as in bug 52268 is causing this (although in the context of a single arg).
Comment 2 Gabriel Wicke 2013-08-13 23:51:47 UTC
I opened bug 52824 separately for the conversion of the positional parameter to a named parameter. This bug is about the nowiki escaping only.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links