Last modified: 2010-05-15 15:51:53 UTC
I noticed this on wikipedia's html sources. You can see this line at the top of every page: <script type="text/javascript" src="/w/index.php?title=-&action=raw&gen=js"><!-- site js --></script> this should return raw text of "MediaWiki:Common.js" but since it's linked wrong, it returns the page about "-". That's because the link itself is html encoded somehow. /w/index.php?title=-&action=raw&gen=js should have been /w/index.php?title=-&action=raw&gen=js that way it works.
You're mistaken. & in URLs must be HTML-encoded when used in HTML. Any occurrence of & in HTML that's not part of a character entity is invalid (okay, unless in CDATA or a comment or whatever). You can fairly easily verify that the JavaScript page is in fact being included on Wikipedia.
I noticed after filing the bug report so i tagged it as "INVALID". You're right, it works just fine. Thanks.