Last modified: 2006-10-11 06:24:44 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 6835 - Please delete the getTemplateArgs() method from Parser.php if it is not called
Please delete the getTemplateArgs() method from Parser.php if it is not called
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Lowest trivial with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: code_quality
  Show dependency treegraph
Reported: 2006-07-28 02:50 UTC by Nick Jenkins
Modified: 2006-10-11 06:24 UTC (History)
0 users

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


Description Nick Jenkins 2006-07-28 02:50:34 UTC
The getTemplateArgs() function in Parser.php does not appear to be called:
root@bling:/var/www/hosts/mediawiki/wiki# grep -inr getTemplateArgs *
includes/.svn/text-base/Parser.php.svn-base:2602:       function
getTemplateArgs( $argsString ) {
includes/Parser.php:2602:       function getTemplateArgs( $argsString ) {

Can we maybe kill it?
Comment 1 Phil Boswell 2006-10-10 07:21:36 UTC
Is this possibly to allow extensions to gain access to template parameters so they can decode {{{parameter}}}?

I recall this being an issue a little while back...
Comment 2 Nick Jenkins 2006-10-11 06:24:44 UTC
Removed in r16925 (could not see any external extensions using this, and if it's
removed now it gives the maximum window of opportunity for it to be added back
in case someone somewhere turns out to be using it). Marking as resolved.

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