[Mediawiki-l] Internal link with query string?

Daniel Barrett danb at VistaPrint.com
Fri May 4 15:54:42 UTC 2007


What is the right way (in wikitext) to produce an internal link with a
query string?  I am trying to make a link to a custom special page that
accepts query parameters:

  Please visit our [[Special:Foobar?arg=$1|new special page]].

but unfortunately this link renders as:

  http://mywiki.com/wiki/Special:Foobar%3Farg%3D%241

with the "?" turned into %3F, so it isn't recognized as a query string.

If I use an external link instead:

  [{{SERVER}}/wiki/Special:Foobar?arg=$1 new special page]

this breaks when $1 contains whitespace.

Thanks,
DanB

---------------------
Confidentiality note
The information in this email and any attachment may contain confidential and proprietary information of VistaPrint and/or its affiliates and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, you are hereby notified that any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may cause liability. In case you have received this message due to an error in transmission, please notify the sender immediately and delete this email and any attachment from your system
---------------------



More information about the MediaWiki-l mailing list