[Mediawiki-l] Trouble adding external link using MediaWiki:Sidebar page

Brion Vibber brion at pobox.com
Fri Jan 13 04:24:11 UTC 2006


Patricia Barden wrote:
> I'm having trouble adding a link to the navigation bar using the
> MediaWiki:Sidebar page.
> 
> The format for adding an external link is:
> 
> http://www.somelink.com |Somelink
> 
> The problem is that, in my case, the external address has a pipe
> character in it:
> 
> https://www.groundspring.org/donate/index.cfm?ID=2344-0|1118-0 |Donate

That's not a legal URL according to the spec. You'll need to escape the '|'
character according to the rules in RFC 3986 §2.1 "Percent-Encoding".

http://www.faqs.org/rfcs/rfc3986.html

-- brion vibber (brion @ pobox.com)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20060112/01746558/attachment.pgp 


More information about the MediaWiki-l mailing list