Last modified: 2006-02-22 19:44: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 5064 - {{localurl}} used within a link fails to correctly escape the ampersand character
{{localurl}} used within a link fails to correctly escape the ampersand chara...
Status: RESOLVED DUPLICATE of bug 4781
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-02-22 15:27 UTC by Cesar Eduardo Barros
Modified: 2006-02-22 19:44 UTC (History)
0 users

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


Description Cesar Eduardo Barros 2006-02-22 15:27:51 UTC
When using {{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} as a
link, and the page name contains an ampersand, the generated link does not
escape the ampersand in the page title.


{{localurl:&|action=edit}} gives the expected output of

{{SERVER}}{{localurl:&|action=edit}} is automatically converted into a
hyperlink (because of the leading http:// generated by {{SERVER}}) and gives the
incorrect output of ""
Comment 1 Brion Vibber 2006-02-22 19:44:44 UTC
This has nothing whatsoever to do with {{localurl}}.

*** This bug has been marked as a duplicate of 4781 ***

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