https://bugzilla.wikimedia.org/show_bug.cgi?id=28616

             Bug #: 28616
           Summary: Preview seems to be parsed twice
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ExpandTemplates
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to