The center for all Wikitravel images!

Tech:Protect and delete don't work on ja

From Wikitravel Shared
Jump to: navigation, search

Moved from en:Wikitravel:Bug reports by Evan

What happens[edit]

Some of my authorized functions as an administrator (ja:) seems malfunctioning. When I am trying to use the "Protect" function and click the tag, the name of the article changes to a garbage character (e.g. "釜ヶ崎" to "釜ヶ崁Eaction=protect"), and can not protect the article. And this is often the case with "Delete" function. Would you check the systems and correct them? Shoestring 23:14, 11 August 2006 (EDT)

(Addition) The article which has some namespace (such as Help:編集の仕方) is also undeletable. In order to avoid further vandalism, I tried to protect this article temporary and click the "Protect" tug of this article. It seemed to work, but actually the Main page had protected instead.--Shoestring 20:37, 12 August 2006 (EDT)

Oddly enough my functions work fine. I think Shoestring has had the same problem ever since the database conversion thingy way back... Jpatokal 03:01, 12 August 2006 (EDT)
I was just able to do it, too. It's not really that useful if Shoestring can't do it, though. Since those tabs are built by JavaScript on the client side, I assume that there's some browser incompatibility at work. So I can test with your browser, Shoestring, can you tell me which one it is? --Evan 20:47, 12 August 2006 (EDT)
Sorry but I don't know much about the technology, so I have no idea whether I can answer your question properly. Browser? My Internet browser is quite common..., the Microsoft Internet Explorer (probably 6, not at least 7). And the version of Java is JRE 1.5.0_06 (property says so). Umm, but I don't think its not enough..., what kind of information do I have to give you? --Shoestring 23:39, 12 August 2006 (EDT)

When it happens[edit]

What should happen[edit]

How to fix it[edit]

OK, so, what happens with the cached pages is that JavaScript builds an url like "title=Title_of_page&action=protect". Because the end of the kanji title is changed, and because the char between the title and the word "action" is not "&" but something else, my guess is that the Unicode is getting messed up in here. Probably the fast-and-dirty solution is to change the order of the parameters, so that nothing follows the title. I'll see if that works, and then we can see if it fixes the problem. --Evan 20:50, 14 August 2006 (EDT)

Oh, thank you for your quick response, umm... but honestly speaking I can not understand what you've said, well (sorry!). Is it means that all I have to do now is just waiting for your next action to solve the problems (by featuring some kinds of parameters inside the systems)?--Shoestring 08:33, 15 August 2006 (EDT)
Yes, it's my job to fix it now. I'll try to do it quickly. --Evan 20:38, 15 August 2006 (EDT)
Thank you very much! --Shoestring 10:12, 16 August 2006 (EDT)
Well, I didn't do it quickly, but I've changed around the order of the parameters. Let me know if it works. --Evan 08:37, 18 September 2006 (EDT)

Thank you very much. Umm…, it still seems to have some problem(s). It become that I can protect some of the pages without any problem, to be sure, but some of the pages never fail to skip to the Main page when I click the "Protect" tug for trying to protect them.

So far the probability to succeed the protection is around fifty-fifty (or much better ?), and I have completely no ideas what cases I can protect and what cases not. Anyway, it's much better than lame duck status about this function. Thank you very much for your effort.-Shoestring 10:58, 18 September 2006 (EDT)

I think the changes for Tech:Ampersand in page name may have fixed the problem. Let me know! --Evan 11:56, 28 September 2006 (EDT)
I tested the protection on “ja:大阪市/釜ヶ崎” and “ja:wikitravel:ページの編集は大胆に”, and it seemed to work perfectly this time. Thank you very much! If I work and have a same problem again (I hope not, of course), I will let you know.Shoestring 06:07, 1 October 2006 (EDT)