Last modified: 2011-03-13 18:05:38 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 1409 - '=' character in template shorthand variable
'=' character in template shorthand variable
Status: VERIFIED WONTFIX
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
1.4.x
PC Windows XP
: Lowest normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://meta.wikimedia.org/wiki/Help:T...
:
: 4455 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-01-26 03:08 UTC by Sanford Poon
Modified: 2011-03-13 18:05 UTC (History)
1 user (show)

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


Attachments

Description Sanford Poon 2005-01-26 03:08:53 UTC
Any parameter values that consists of the character '=' will not work using the
{{templatename|parvalue1|parvalue2}} shorthand. For example calling Template:TTT
(consists of just {{{1}}}{{{2}}}) with {{TTT|a=b|c}} gives c{{{2}}}. This may or
may not be a bug. The workaround is to use {{TTT|1=a=b|2=c}}, which gives a=bc
properly.

The proper parsing of "=" is needed for external links which often consists of
HTTP GET arguments.
Comment 1 Antoine "hashar" Musso (WMF) 2005-01-27 00:49:29 UTC
By calling the template with:
{{TTT|a=b|c}}

You are asking the template engine to assign the value 'b' to {{{a}}}
which does not exit, then it assign value 'c' to the {{{1}}}.

Result 'c{{{2}}}' is indeed correct. Probably need to update the
documentation to let users know that they need to use the long
syntax when they want to use a parameter with the equal sign.
Comment 2 Antoine "hashar" Musso (WMF) 2005-01-27 00:51:29 UTC
http://meta.wikimedia.org/wiki/Help:Template#Parameters
got updated by meta user Patrick.
Comment 3 lɛʁi לערי ריינהארט 2006-01-19 16:13:10 UTC
*** Bug 4455 has been marked as a duplicate of this bug. ***

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


Navigation
Links