Last modified: 2010-05-15 15:37:57 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 3010 - Cannot link to an article with '&' in Name
Cannot link to an article with '&' in Name
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
PC All
: Normal major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-08-02 08:20 UTC by Fabian Zeindl
Modified: 2010-05-15 15:37 UTC (History)
0 users

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


Description Fabian Zeindl 2005-08-02 08:20:17 UTC
When I create the link [[x1 & y2]] to the nonexisting page 'x1 & y2' and click
on it I can edit the page 'x1 & y2'.
But whenever I click 'Save' or try to link to a page 'x1 & y2' that exists, I
always get displayed the page 'x1'. When I link to the existing page 'Data
Engineering & Statistics' i come to the page 'Data Engineering'.

I'm using Mediawiki 1.5b4
Comment 1 River Tarnell 2005-08-02 08:21:59 UTC
are you using rewrite rules for your article path? 
Comment 2 Fabian Zeindl 2005-08-02 08:23:01 UTC
Yes, I found out that: isn't working and does.

What can I do?
Comment 3 River Tarnell 2005-08-02 08:26:25 UTC
you need to either: 
1) apply maintenance/apache-ampersand.diff to your Apache sources, recompile, and use 
rewrite rules like this: 
      RewriteMap ampescape int:ampescape 
      RewriteRule ^/wiki/(.*)$ /w/index.php?title=${ampescape:$1} [QSA,L] 
or 2) you might try redirecting to "/w/index.php/$1" instead of using ?title=, which will 
form a URL like "/w/index.php/AT&T", which is not a query-string. 
option 2 will only work with mod_php, not CGI/FastCGI PHP. 

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