Last modified: 2012-04-16 09:16:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28457, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26457 - Create default function for getting URL parameters
Create default function for getting URL parameters
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
ResourceLoader (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Trevor Parscal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-28 16:37 UTC by Helder
Modified: 2012-04-16 09:16 UTC (History)
2 users (show)

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


Attachments

Description Helder 2010-12-28 16:37:43 UTC
Currently, depending on the wikiproject, the function used for getting URL parameters is called either "getURLParamValue" ([[MediaWiki:Common.js]]) or "getParamValue" ([[commons:MediaWiki:Common.js]])

It would be preferable to have only one function for this, available by default from some MediaWiki file. The function could be available through a name of the form "mw.get...()"
Comment 1 Krinkle 2010-12-28 16:45:53 UTC
Already added a few weeks age:

http://www.mediawiki.org/wiki/ResourceLoader/Default_modules#getParamValue

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


Navigation
Links