Last modified: 2012-03-21 05:57:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T37368, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35368 - Bad page titles after adding namespace shortcuts
Bad page titles after adding namespace shortcuts
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-20 21:31 UTC by Siddhartha Ghai
Modified: 2012-03-21 05:57 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Siddhartha Ghai 2012-03-20 21:31:14 UTC
See http://pastebin.com/eG6y59yp (courtesy Daniel_WMDE)

These pages were created in the mainspace before the WP namespace shortcut was activated at hi-wp. Now, they're inaccessible. There's probably others like these too, with other ns shortcuts. Opening :w:hi:WP:VP just leads to the page in the corresponding namespace, not the page in the mainspace. Ideally, these pages should've automatically moved when the namespace shortcuts were added. Now they turn up in [[Special:WhatLinksHere]] but can neither be viewed, nor deleted.

They should be moved to the proper namespace and this bug (not moving of pages when adding ns shortcuts) fixed.
Comment 1 Sam Reed (reedy) 2012-03-20 21:33:24 UTC
Should only be 3 in the really broken list now



reedy@fenari:/home/wikipedia/common$ mwscript namespaceDupes.php hiwiki --fix
... 194981 (0,"WP:ADMIN") -> (4,"ADMIN") [[विकिपीडिया:ADMIN]]
... resolving on page... ok.
... 31125 (0,"WP:CONTEXT") -> (4,"CONTEXT") [[विकिपीडिया:CONTEXT]]
... resolving on page... ok.
... 13824 (0,"WP:DYK") -> (4,"DYK") [[विकिपीडिया:DYK]]
... resolving on page... ok.
... 183857 (0,"WP:Devanagari_Help") -> (4,"Devanagari_Help") [[विकिपीडिया:Devanagari Help]]
...  *** cannot resolve automatically; page exists with ID 39388 ***
... 11616 (0,"WP:FA") -> (4,"FA") [[विकिपीडिया:FA]]
... resolving on page... ok.
... 15195 (0,"WP:FAC") -> (4,"FAC") [[विकिपीडिया:FAC]]
... resolving on page... ok.
... 183340 (0,"WP:FAQ") -> (4,"FAQ") [[विकिपीडिया:FAQ]]
... resolving on page... ok.
... 21062 (0,"WP:FC") -> (4,"FC") [[विकिपीडिया:FC]]
... resolving on page... ok.
... 219985 (0,"WP:HOTCAT") -> (4,"HOTCAT") [[विकिपीडिया:HOTCAT]]
...  *** cannot resolve automatically; page exists with ID 440932 ***
... 181391 (0,"WP:Indic") -> (4,"Indic") [[विकिपीडिया:Indic]]
... resolving on page... ok.
... 30270 (0,"WP:RFA") -> (4,"RFA") [[विकिपीडिया:RFA]]
... resolving on page... ok.
... 14214 (0,"WP:STUB") -> (4,"STUB") [[विकिपीडिया:STUB]]
... resolving on page... ok.
... 70094 (0,"WP:SUBST") -> (4,"SUBST") [[विकिपीडिया:SUBST]]
... resolving on page... ok.
... 180933 (0,"WP:VP") -> (4,"VP") [[विकिपीडिया:VP]]
... resolving on page... ok.
... 211508 (1,"WP:ADMIN") -> (5,"ADMIN") [[विकिपीडिया वार्ता:ADMIN]]
... resolving on page... ok.
... 112016 (1,"WP:CONTEXT") -> (5,"CONTEXT") [[विकिपीडिया वार्ता:CONTEXT]]
... resolving on page... ok.
... 112017 (1,"WP:DYK") -> (5,"DYK") [[विकिपीडिया वार्ता:DYK]]
... resolving on page... ok.
... 195804 (1,"WP:Devanagari_Help") -> (5,"Devanagari_Help") [[विकिपीडिया वार्ता:Devanagari Help]]
...  *** cannot resolve automatically; page exists with ID 39415 ***
... 112018 (1,"WP:FA") -> (5,"FA") [[विकिपीडिया वार्ता:FA]]
... resolving on page... ok.
... 112019 (1,"WP:FAC") -> (5,"FAC") [[विकिपीडिया वार्ता:FAC]]
... resolving on page... ok.
... 195805 (1,"WP:FAQ") -> (5,"FAQ") [[विकिपीडिया वार्ता:FAQ]]
... resolving on page... ok.
... 112020 (1,"WP:FC") -> (5,"FC") [[विकिपीडिया वार्ता:FC]]
... resolving on page... ok.
... 195806 (1,"WP:Indic") -> (5,"Indic") [[विकिपीडिया वार्ता:Indic]]
... resolving on page... ok.
... 112022 (1,"WP:RFA") -> (5,"RFA") [[विकिपीडिया वार्ता:RFA]]
... resolving on page... ok.
... 112023 (1,"WP:STUB") -> (5,"STUB") [[विकिपीडिया वार्ता:STUB]]
... resolving on page... ok.
... 112024 (1,"WP:SUBST") -> (5,"SUBST") [[विकिपीडिया वार्ता:SUBST]]
... resolving on page... ok.
... 195807 (1,"WP:VP") -> (5,"VP") [[विकिपीडिया वार्ता:VP]]
... resolving on page... ok.

Oh noeees
reedy@fenari:/home/wikipedia/common$ mwscript namespaceDupes.php hiwiki --fix
... 183857 (0,"WP:Devanagari_Help") -> (4,"Devanagari_Help") [[विकिपीडिया:Devanagari Help]]
...  *** cannot resolve automatically; page exists with ID 39388 ***
... 219985 (0,"WP:HOTCAT") -> (4,"HOTCAT") [[विकिपीडिया:HOTCAT]]
...  *** cannot resolve automatically; page exists with ID 440932 ***
... 195804 (1,"WP:Devanagari_Help") -> (5,"Devanagari_Help") [[विकिपीडिया वार्ता:Devanagari Help]]
...  *** cannot resolve automatically; page exists with ID 39415 ***

Oh noeees
Comment 2 Sam Reed (reedy) 2012-03-20 21:35:25 UTC
Actually, the master tells a different story, only 2:

mysql> select page_id, page_title from page where page_namespace = 0 and page_title like "WP:%";
+---------+--------------------+
| page_id | page_title         |
+---------+--------------------+
|  183857 | WP:Devanagari_Help |
|  219985 | WP:HOTCAT          |
+---------+--------------------+
2 rows in set (0.00 sec)
Comment 3 Sam Reed (reedy) 2012-03-20 21:49:25 UTC
reedy@fenari:/home/wikipedia/common$ mwscript namespaceDupes.php hiwiki --fix
... 183857 (0,"WP:Devanagari_Help") -> (4,"Devanagari_Help") [[विकिपीडिया:Devanagari Help]]
... resolving on page... ok.
... 219985 (0,"WP:HOTCAT") -> (4,"HOTCAT") [[विकिपीडिया:HOTCAT]]
... resolving on page... ok.
... 195804 (1,"WP:Devanagari_Help") -> (5,"Devanagari_Help") [[विकिपीडिया वार्ता:Devanagari Help]]
... resolving on page... ok.

Looks good!



All fixed now


mysql> select page_id, page_title from page where page_namespace = 0 and page_title like "WP:%";
Empty set (0.00 sec)
Comment 4 Siddhartha Ghai 2012-03-21 05:57:35 UTC
Maybe this should be checked for the other namespace shortcuts that were added too. The shortcuts are listed at http://hi.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A4%BF%E0%A4%AA%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE:%E0%A4%A8%E0%A4%AF%E0%A5%80_%E0%A4%B8%E0%A5%81%E0%A4%B5%E0%A4%BF%E0%A4%A7%E0%A4%BE%E0%A4%8F%E0%A4%81

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links