"Wikitravel has a speed and convenience the books' publishers can only envy." Time Europe

Difference between revisions of "Tech:Ampersand in page name"

From Wikitravel Shared
Jump to: navigation, search
(Moved from en:)
 
(fixed)
 
(One intermediate revision by one user not shown)
Line 6: Line 6:
  
 
:Yeah, it looks like titles with "&" in them break a lot of stuff. Blech. --[[User:Evan|Evan]] 11:02, 21 March 2006 (EST)
 
:Yeah, it looks like titles with "&" in them break a lot of stuff. Blech. --[[User:Evan|Evan]] 11:02, 21 March 2006 (EST)
 +
 +
''Copied from [[:en:User:Evan]] by [[User:Evan|Evan]]''
 +
 +
Hi! I've just tried to delete some articles but I get an internal error. Allegedly they are already deleted. But they exist. -- [[:en:User:DerFussi|DerFussi]] 03:12, 27 September 2006 (EDT)
 +
* [[:de:Spass & Spiele]]
 +
* [[:de:Sport & Erholung]]
 +
* [[:de:Was isst man in rabat?]]
 +
 +
::It's the funny characters ("&", "?") in the names. I'll see what I can do with them. --[[:en:User:Evan|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. -- [[:en:-User:Sapphire|Sapphire]] 08:35, 27 September 2006 (EDT)
  
 
== When it happens ==
 
== When it happens ==
Line 12: Line 22:
  
 
== How to fix it ==
 
== How to fix it ==
 +
 +
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. --[[User:Evan|Evan]] 10:45, 28 September 2006 (EDT)
 +
 +
{{fixedbug}}

Latest revision as of 14:49, 28 September 2006

Moved from en:Wikitravel:Bug reports by Evan

Contents

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)

Variants

Actions

In other languages