Last modified: 2010-05-15 15:37:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T5010, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3010 - Cannot link to an article with '&' in Name
Cannot link to an article with '&' in Name
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.5.x
PC All
: Normal major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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:
http://vowi.fsinf.at/wiki/X_%26_yy isn't working and
http://vowi.fsinf.at/index.php?title=X_%26_yy 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.


Navigation
Links