Page MenuHomePhabricator

Self-redirect on specific az.wikibooks page makes editing that page impossible
Closed, ResolvedPublic

Description

Hi. Can you please take a look at this two pages:

https://az.wikibooks.org/wiki/Vikikitab:K%C3%B6m%C9%99k

https://az.wikibooks.org/w/index.php?title=Vikikitab:K%C3%B6m%C9%99k&redirect=no

The second page is a redirect page, but when I try to edit any of this two pages it says that both of them are redirect pages. It seems like the first page is a ghost :)

Can you please explain what is wrong and if it is possible to solve the problem.

Thanks!

Event Timeline

Wertuose raised the priority of this task from to Medium.
Wertuose updated the task description. (Show Details)
Wertuose subscribed.

Strange:

MariaDB [azwikibooks_p]> select page_id, page_namespace, page_title, page_is_redirect, page_latest from page where page_title like '%Kömək';
+---------+----------------+-------------------+------------------+-------------+
| page_id | page_namespace | page_title        | page_is_redirect | page_latest |
+---------+----------------+-------------------+------------------+-------------+
|    2131 |              0 | Broken/Kömək      |                0 |        4362 |
|    3737 |              0 | Vikikitab:Kömək   |                0 |       10103 |
|    3815 |             14 | Vikikitab:Kömək   |                0 |        8286 |
|    4497 |              4 | Kömək             |                1 |       10104 |
+---------+----------------+-------------------+------------------+-------------+
4 rows in set (0.01 sec)

This isn't another namespaceDupes thing is it?

Aklapper renamed this task from Problem with redirects and ghost pages to Self-redirect on specific az.wikibooks page makes editing that page impossible.Jan 15 2015, 2:38 PM
Aklapper set Security to None.

Guys, and how to solve the problem? Is this solvable or we need to copy the text from one page to another and then delete previous one?

Looks like it's not nearly as straightforward unfortunately:

1krenair@terbium:~$ mwscript namespaceDupes.php --wiki=azwikibooks
2... 3726 (0,"Vikikitab:Bloklama_qaydaları") -> (4,"Bloklama_qaydaları") [[Vikikitab:Bloklama qaydaları]]
3... *** cannot resolve automatically; page exists with ID 4498 ***
4... 3735 (0,"Vikikitab:Düzəlişin_izahı") -> (4,"Düzəlişin_izahı") [[Vikikitab:Düzəlişin izahı]]
5... *** cannot resolve automatically; page exists with ID 4499 ***
6... 2447 (0,"Vikikitab:Dəqiqləşdirmə") -> (4,"Dəqiqləşdirmə") [[Vikikitab:Dəqiqləşdirmə]]
7... *** cannot resolve automatically; page exists with ID 4500 ***
8... 3736 (0,"Vikikitab:Elanlar") -> (4,"Elanlar") [[Vikikitab:Elanlar]]
9... *** cannot resolve automatically; page exists with ID 4503 ***
10... 2589 (0,"Vikikitab:Etik_qaydalar") -> (4,"Etik_qaydalar") [[Vikikitab:Etik qaydalar]]
11... *** cannot resolve automatically; page exists with ID 4505 ***
12... 3728 (0,"Vikikitab:Etiket") -> (4,"Etiket") [[Vikikitab:Etiket]]
13... *** cannot resolve automatically; page exists with ID 4506 ***
14... 3090 (0,"Vikikitab:Giriş") -> (4,"Giriş") [[Vikikitab:Giriş]]
15... *** cannot resolve automatically; page exists with ID 4507 ***
16... 2144 (0,"Vikikitab:Güncəl_Hadisələr") -> (4,"Güncəl_Hadisələr") [[Vikikitab:Güncəl Hadisələr]]
17... *** cannot resolve automatically; page exists with ID 4495 ***
18... 3713 (0,"Vikikitab:Haqqında") -> (4,"Haqqında") [[Vikikitab:Haqqında]]
19... *** cannot resolve automatically; page exists with ID 4496 ***
20... 2795 (0,"Vikikitab:Kitabların_adlandırılması") -> (4,"Kitabların_adlandırılması") [[Vikikitab:Kitabların adlandırılması]]
21... *** cannot resolve automatically; page exists with ID 4513 ***
22... 3094 (0,"Vikikitab:Kitabxanalar") -> (4,"Kitabxanalar") [[Vikikitab:Kitabxanalar]]
23... *** cannot resolve automatically; page exists with ID 4493 ***
24... 3737 (0,"Vikikitab:Kömək") -> (4,"Kömək") [[Vikikitab:Kömək]]
25... *** cannot resolve automatically; page exists with ID 4497 ***
26... 2111 (0,"Vikikitab:Kənd_meydanı") -> (4,"Kənd_meydanı") [[Vikikitab:Kənd meydanı]]
27... *** cannot resolve automatically; page exists with ID 4628 ***
28... 2662 (0,"Vikikitab:Mükafatlar") -> (4,"Mükafatlar") [[Vikikitab:Mükafatlar]]
29... *** cannot resolve automatically; page exists with ID 4509 ***
30... 3721 (0,"Vikikitab:Müzakirə_səhifəsi") -> (4,"Müzakirə_səhifəsi") [[Vikikitab:Müzakirə səhifəsi]]
31... *** cannot resolve automatically; page exists with ID 5548 ***
32... 3757 (0,"Vikikitab:Neytral_mövqe") -> (4,"Neytral_mövqe") [[Vikikitab:Neytral mövqe]]
33... *** cannot resolve automatically; page exists with ID 4510 ***
34... 3752 (0,"Vikikitab:Nəzakət") -> (4,"Nəzakət") [[Vikikitab:Nəzakət]]
35... *** cannot resolve automatically; page exists with ID 4481 ***
36... 3710 (0,"Vikikitab:Qaralama_dəftəri") -> (4,"Qaralama_dəftəri") [[Vikikitab:Qaralama dəftəri]]
37... *** cannot resolve automatically; page exists with ID 4484 ***
38... 3751 (0,"Vikikitab:Qısayol") -> (4,"Qısayol") [[Vikikitab:Qısayol]]
39... *** cannot resolve automatically; page exists with ID 2515 ***
40... 3739 (0,"Vikikitab:Redaktələr_müharibəsi") -> (4,"Redaktələr_müharibəsi") [[Vikikitab:Redaktələr müharibəsi]]
41... *** cannot resolve automatically; page exists with ID 4482 ***
42... 3733 (0,"Vikikitab:Saxtakarlıq") -> (4,"Saxtakarlıq") [[Vikikitab:Saxtakarlıq]]
43... *** cannot resolve automatically; page exists with ID 4479 ***
44... 2828 (0,"Vikikitab:Səhifə_silmə_kriteriyaları") -> (4,"Səhifə_silmə_kriteriyaları") [[Vikikitab:Səhifə silmə kriteriyaları]]
45... *** cannot resolve automatically; page exists with ID 4485 ***
46... 2513 (0,"Vikikitab:Səsvermə") -> (4,"Səsvermə") [[Vikikitab:Səsvermə]]
47... *** cannot resolve automatically; page exists with ID 4477 ***
48... 3727 (0,"Vikikitab:Təhqir,_təhdid_və_aqressiyaya_yol_verilməməlidir") -> (4,"Təhqir,_təhdid_və_aqressiyaya_yol_verilməməlidir") [[Vikikitab:Təhqir, təhdid və aqressiyaya yol verilməməlidir]]
49... *** cannot resolve automatically; page exists with ID 4487 ***
50... 3744 (0,"Vikikitab:Vandalizm") -> (4,"Vandalizm") [[Vikikitab:Vandalizm]]
51... 2786 (0,"Vikikitab:Vikikitab_qaydaları") -> (4,"Vikikitab_qaydaları") [[Vikikitab:Vikikitab qaydaları]]
52... 2697 (0,"Vikikitab:Vikitətil") -> (4,"Vikitətil") [[Vikikitab:Vikitətil]]
53... *** cannot resolve automatically; page exists with ID 4519 ***
54... 3201 (0,"Vikikitab:Vikiuşaq_aləmi_nədir?") -> (4,"Vikiuşaq_aləmi_nədir?") [[Vikikitab:Vikiuşaq aləmi nədir?]]
55... *** cannot resolve automatically; page exists with ID 4494 ***
56... 3816 (0,"Vikikitab:Yeni_istifadəçilərə_kömək") -> (4,"Yeni_istifadəçilərə_kömək") [[Vikikitab:Yeni istifadəçilərə kömək]]
57... 2321 (0,"Vikikitab:Yeni_kitabın_yaradılması") -> (4,"Yeni_kitabın_yaradılması") [[Vikikitab:Yeni kitabın yaradılması]]
58... *** cannot resolve automatically; page exists with ID 4492 ***
59... 2141 (0,"Vikikitab:İdarəçilər") -> (4,"İdarəçilər") [[Vikikitab:İdarəçilər]]
60... *** cannot resolve automatically; page exists with ID 4489 ***
61... 2588 (0,"Vikikitab:İdarəçilər/Arxiv1") -> (4,"İdarəçilər/Arxiv1") [[Vikikitab:İdarəçilər/Arxiv1]]
62... *** cannot resolve automatically; page exists with ID 4491 ***
63... 3159 (0,"Vikikitab:İdarəçilər/Nəzarət") -> (4,"İdarəçilər/Nəzarət") [[Vikikitab:İdarəçilər/Nəzarət]]
64... *** cannot resolve automatically; page exists with ID 4490 ***
65... 2592 (0,"Vikikitab:İdarəçilərə_müraciət") -> (4,"İdarəçilərə_müraciət") [[Vikikitab:İdarəçilərə müraciət]]
66... *** cannot resolve automatically; page exists with ID 4488 ***
67... 3814 (0,"Vikikitab:İmza_istifadəsi") -> (4,"İmza_istifadəsi") [[Vikikitab:İmza istifadəsi]]
68... *** cannot resolve automatically; page exists with ID 4517 ***
69... 3722 (0,"Vikikitab:İstifadəçi_səhifəsi") -> (4,"İstifadəçi_səhifəsi") [[Vikikitab:İstifadəçi səhifəsi]]
70... *** cannot resolve automatically; page exists with ID 4514 ***
71... 3812 (0,"Vikikitab:Şablon_istə") -> (4,"Şablon_istə") [[Vikikitab:Şablon istə]]
72... *** cannot resolve automatically; page exists with ID 4512 ***
73... 2518 (0,"Vikikitab:Şikayət") -> (4,"Şikayət") [[Vikikitab:Şikayət]]
74... *** cannot resolve automatically; page exists with ID 4516 ***
75... 3742 (0,"Vikikitab:Şəkil_lisenziyaları") -> (4,"Şəkil_lisenziyaları") [[Vikikitab:Şəkil lisenziyaları]]
76... *** cannot resolve automatically; page exists with ID 4515 ***
77... 4030 (1,"Vikikitab:Səsvermə") -> (5,"Səsvermə") [[Vikikitab müzakirəsi:Səsvermə]]
78... *** cannot resolve automatically; page exists with ID 4478 ***
7940 conflicts. 3 are resolveable.... 3732 (0,"Vikikitab_müzakirəsi:Elanlar") -> (5,"Elanlar") [[Vikikitab müzakirəsi:Elanlar]]
801 conflicts. 1 are resolveable.
81Oh noeees

So is there any concept to drive this issue forward? Are we technically stuck here? Or would fixing this just take hours of work so nobody has done that yet?

Could someone elaborate please?

I ran the script to fix the automatically-resolvable ones:

id=3744 ns=0 dbk=Vikikitab:Vandalizm -> Vikikitab:Vandalizm (no conflict)
id=2786 ns=0 dbk=Vikikitab:Vikikitab_qaydaları -> Vikikitab:Vikikitab_qaydaları (no conflict)
id=3816 ns=0 dbk=Vikikitab:Yeni_istifadəçilərə_kömək -> Vikikitab:Yeni_istifadəçilərə_kömək (no conflict)
id=3732 ns=0 dbk=Vikikitab_müzakirəsi:Elanlar -> Vikikitab_müzakirəsi:Elanlar (no conflict)

Remaining 36 are not automatically resolvable. The current version of namespaceDupes (as of rMW64765720b0b5cf4290a9d8f22bc10f13e3b7c101) allows us to add prefixes to the titles of such conflicting pages, and users should be able to handle the rest from there I think. Shall I just prefix 'Corrupt' or 'Broken' or something @Wertuose?

@Aklapper, @Krenair, I am very sorry for late answer. I am not entering Phabricator last few months and my e-mail is full of different e-mails. I just checked and saw your question.

So if it's impossible to solve it automatically, then we can do it manually. Please prefix that pages 'Səhv'. It means 'Error'/'Mistake' in Azerbaijani.

Krenair claimed this task.

Done. Should be possible to clean up the result as a normal wiki user now.