Last modified: 2008-08-11 19:57:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 10283 - Nesting "font=red" inside #switch is broken
Nesting "font=red" inside #switch is broken
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
ParserFunctions (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/User:Dra...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-15 22:22 UTC by Robert Rohde
Modified: 2008-08-11 19:57 UTC (History)
1 user (show)

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


Attachments

Description Robert Rohde 2007-06-15 22:22:45 UTC
Some recent software change broke the widely used "check talk" template on en.wikipedia.

After some playing around, it appears that placing HTML for 'font="red"' as part of the output from the #switch tag is causing the output to fail.  I suspect that it has something to do with the fact that "=" is a part of the syntax for both #switch and the HTML code.  An example is shown at the URL given.

This nested format was working correctly until recently, so I assume there was some recent change that broke it.
Comment 1 Jelte (WebBoy) 2008-08-11 19:57:43 UTC
See http://meta.wikimedia.org/wiki/Help:ParserFunctions#.23switch:

Use "#default = ": {{#switch:{{{2}}}|#default = <span id=a>FOO</span>}}


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


Navigation
Links