The center for all Wikitravel images!

Tech:Ampersand in page name

From Wikitravel Shared
Jump to: navigation, search

Moved from en:Wikitravel:Bug reports by Evan

What happens[edit]

If want to add en:Villazón & La Quiaca to my watchlist, I only add or remove en:Villazón. -- Ronald 17:59, 17 March 2006 (EST)

Yeah, it looks like titles with "&" in them break a lot of stuff. Blech. --Evan 11:02, 21 March 2006 (EST)

Copied from en:User:Evan by Evan

Hi! I've just tried to delete some articles but I get an internal error. Allegedly they are already deleted. But they exist. -- DerFussi 03:12, 27 September 2006 (EDT)

It's the funny characters ("&", "?") in the names. I'll see what I can do with them. --Evan 08:26, 27 September 2006 (EDT)
Actually, he hasn't deleted the pages, yet. He tries to delete those pages, but for whatever reason when he and I try to delete those pages it will delete any pages with a name that is the same as the first word in the title of the page. I.e. a page titled "Spass & whatever" would not be deleted. Instead "Spass" would be deleted. -- Sapphire 08:35, 27 September 2006 (EDT)

When it happens[edit]

What should happen[edit]

How to fix it[edit]

I've changed the Javascript for building the page tabs so that it correctly encodes the page titles. Let me know if this does the trick; I think it should. You should probably do a force-reload ("Shift+Reload" or "Control+Reload") to make sure you get the new Javascript. --Evan 10:45, 28 September 2006 (EDT)