Last modified: 2008-06-10 17:25:09 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 7651 - problems with {{padleft:}} ({{padright:}}) and template arguments
problems with {{padleft:}} ({{padright:}}) and template arguments
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-10-20 21:36 UTC by Stanisław Skowron
Modified: 2008-06-10 17:25 UTC (History)
1 user (show)

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


Description Stanisław Skowron 2006-10-20 21:36:30 UTC


should return:
  XXX{{{1}}} (if first parameter of current template is not specified)
or for example:
  XXXXXXX123 (if first parameter of current template is 123)

but now it returns:

We have similar situation if we ask for second argument.
Comment 1 Steve Sanbeg 2007-06-08 16:02:49 UTC
When the parser function splits the arguments, it's clobbering its own arg list.  Calling it as 


Should restore the clobbered arg you want, and give the expected result.

Basically the same issue as bug 5678.
Comment 2 RockMFR 2008-06-10 17:25:09 UTC
Fixed in the new parser.

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