Last modified: 2014-01-12 10:08:57 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 T30616, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28616 - Special:ExpandTemplates - Preview seems to be parsed twice
Special:ExpandTemplates - Preview seems to be parsed twice
Status: NEW
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.23.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: parser
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-20 07:53 UTC by Bergi
Modified: 2014-01-12 10:08 UTC (History)
4 users (show)

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


Attachments

Description Bergi 2011-04-20 07:53:57 UTC
Try out http://de.wikipedia.org/wiki/Spezial:Vorlagen_expandieren?generate_xml=1&input={{((}}Vorlage{{!}}X{{))}}

de.wikipedia has two templates, "((" expands to "{{" and "))" to "}}". When they are used on normal wiki pages, you are shown the braces as expected.
But in ExpandTemplates, while the xml tree is right, when the result is something parseable is will be expanded for the preview.

This behavior can also be found at http://de.wikipedia.org/wiki/Spezial:Vorlagen_expandieren?generate_xml=1&input=<p<includeonly/>re>X</pre>
Normally, nesting xmlishElements into another tag does not work (often used to insert includeonly tags at preloads), in ExpandTemplates it works for the preview.
Comment 2 db [inactive,noenotif] 2014-01-12 10:05:55 UTC
special page was moved to core

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


Navigation
Links