Extension:UrlGetParameters

This extension enables you to use and/or display the "GET" parameters of the URL, i.e. the query string, on the wiki page.

Download
You can download the code, in .tgz format, here.

You can also download the code directly via Git from the MediaWiki source code repository. From a command line, call the following:

To view the code online, including version history for each file, go.

Installation
Once you have downloaded the extension, enable it by adding this line to your :

Usage
To display the value of a URL get parameter in your page, you might do this: Where  is the name of the parameter whose value you want. If the parameter is not found, the extension will result in nothing. Alternatively, you can also specify a default value as follows: When the parameter  is not available, then the value   is returned.

If the URL contains parameters of the form "A[B]=C", you can display the value "C" in a similar way, by calling:

Authors
This extension was written by S.O.E. Ansems. Important contributions were made by Ankit Garg and some anonymous editors.