Page MenuHomeYugipedia

Run namespaceDupes.php to check for links needing fixed
Closed, ResolvedPublic

Description

From the to-do document:

Fix some links
pagelinks from=97216 ns=0 dbk=Yu-Gi-Oh!:Image_Policy -> Yugipedia:Image_Policy
pagelinks from=157592 ns=0 dbk=Yu-Gi-Oh!:Image_Policy -> Yugipedia:Image_Policy
pagelinks from=166208 ns=0 dbk=Yu-Gi-Oh!:Image_Policy -> Yugipedia:Image_Policy
pagelinks from=170991 ns=0 dbk=Yu-Gi-Oh!:Image_policy -> Yugipedia:Image_policy
pagelinks from=235961 ns=0 dbk=Yu-Gi-Oh!:Image_policy -> Yugipedia:Image_policy
pagelinks from=287259 ns=0 dbk=Yu-Gi-Oh!:Manual_of_style -> Yugipedia:Manual_of_style
pagelinks from=313962 ns=0 dbk=Yu-Gi-Oh!:Manual_of_style -> Yugipedia:Manual_of_style
pagelinks from=376808 ns=0 dbk=Yu-Gi-Oh!:Manual_of_style -> Yugipedia:Manual_of_style
pagelinks from=393690 ns=0 dbk=Yu-Gi-Oh!:Manual_of_style -> Yugipedia:Manual_of_style
pagelinks from=473537 ns=0 dbk=Yu-Gi-Oh!:Manual_of_style -> Yugipedia:Manual_of_style
pagelinks from=473707 ns=0 dbk=Yu-Gi-Oh!:Manual_of_style -> Yugipedia:Manual_of_style
pagelinks from=160488 ns=0 dbk=Yu-Gi-Oh!:Requests_for_adminship -> Yugipedia:Requests_for_adminship
pagelinks from=131159 ns=0 dbk=Yu-Gi-Oh!:User_page -> Yugipedia:User_page
pagelinks from=218051 ns=0 dbk=Yu-Gi-Oh!:User_page -> Yugipedia:User_page
pagelinks from=185427 ns=0 dbk=Yu-Gi-Oh!:_Manual_of_style -> Yugipedia:Manual_of_style
pagelinks from=114019 ns=0 dbk=Forum:_Deck_Guide -> Forum:Deck_Guide
pagelinks from=208383 ns=0 dbk=Forum:_Deck_Guide -> Forum:Deck_Guide
pagelinks from=77000 ns=0 dbk=Card_Rulings:_Level_Down!? -> Card_Rulings:Level_Down!?
pagelinks from=536322 ns=0 dbk=Card_Rulings:_Level_Down!? -> Card_Rulings:Level_Down!?
pagelinks from=102070 ns=0 dbk=Card_Rulings:_Power_Tool_Dragon -> Card_Rulings:Power_Tool_Dragon
pagelinks from=95594 ns=0 dbk=Card_rulings:Koa'ki_Meiru_Tornado -> Card_Rulings:Koa'ki_Meiru_Tornado
pagelinks from=95594 ns=0 dbk=Card_rulings:Koa'ki_Meiru_Urnight -> Card_Rulings:Koa'ki_Meiru_Urnight
pagelinks from=510515 ns=0 dbk=Card_Errata:_Elemental_HERO_Burstinatrix -> Card_Errata:Elemental_HERO_Burstinatrix
pagelinks from=129121 ns=0 dbk=Card_Errata:_Metalmorph -> Card_Errata:Metalmorph
pagelinks from=218740 ns=0 dbk=Card_tips:Maxx_"C" -> Card_Tips:Maxx_"C"
pagelinks from=163291 ns=0 dbk=Trivia:Tech_Genus_Hyper_Librarian -> Card_Trivia:Tech_Genus_Hyper_Librarian
pagelinks from=372033 ns=0 dbk=Set_Card_Galleries:_Jump_Victory_Carnival_2014_promotional_card_(OCG-JP) -> Set_Card_Galleries:Jump_Victory_Carnival_2014_promotional_card_(OCG-JP)
pagelinks from=339867 ns=0 dbk=Set_Card_Galleries:_Jump_Victory_Carnival_2015_promotional_card_(OCG-JP) -> Set_Card_Galleries:Jump_Victory_Carnival_2015_promotional_card_(OCG-JP)
pagelinks from=472561 ns=0 dbk=Set_Card_Galleries:_Jump_Victory_Carnival_2016_promotional_card_(OCG-JP) -> Set_Card_Galleries:Jump_Victory_Carnival_2016_promotional_card_(OCG-JP)
pagelinks from=499148 ns=0 dbk=Set_Card_Galleries:_Jump_Victory_Carnival_2017_promotional_card_(OCG-JP) -> Set_Card_Galleries:Jump_Victory_Carnival_2017_promotional_card_(OCG-JP)
pagelinks from=372021 ns=0 dbk=Set_Card_Galleries:_Saikyō_V_Jump_Festa_2012_promotional_card_(OCG-JP) -> Set_Card_Galleries:Saikyō_V_Jump_Festa_2012_promotional_card_(OCG-JP)
pagelinks from=372027 ns=0 dbk=Set_Card_Galleries:_Saikyō_V_Jump_Festa_2013_promotional_card_(OCG-JP) -> Set_Card_Galleries:Saikyō_V_Jump_Festa_2013_promotional_card_(OCG-JP)
pagelinks from=16196 ns=0 dbk=Set_Card_Galleries:_Structure_Deck:_Marik_(OCG-JP) -> Set_Card_Galleries:Structure_Deck:_Marik_(OCG-JP)
pagelinks from=5722 ns=0 dbk=Set_Card_Galleries:_Structure_Deck:_Yugi_(OCG-JP) -> Set_Card_Galleries:Structure_Deck:_Yugi_(OCG-JP)
pagelinks from=372041 ns=0 dbk=Set_Card_Galleries:_V_Jump_Card_Festa_2008_promotional_card_(OCG-JP) -> Set_Card_Galleries:V_Jump_Card_Festa_2008_promotional_card_(OCG-JP)
pagelinks from=372052 ns=0 dbk=Set_Card_Galleries:_V_Jump_Card_Festa_2009_promotional_card_(OCG-JP) -> Set_Card_Galleries:V_Jump_Card_Festa_2009_promotional_card_(OCG-JP)
pagelinks from=372015 ns=0 dbk=Set_Card_Galleries:_V_Jump_Card_Festa_2010_promotional_card_(OCG-JP) -> Set_Card_Galleries:V_Jump_Card_Festa_2010_promotional_card_(OCG-JP)
pagelinks from=372008 ns=0 dbk=Set_Card_Galleries:_V_Jump_Festa_2011_promotional_card_(OCG-JP) -> Set_Card_Galleries:V_Jump_Festa_2011_promotional_card_(OCG-JP)
from= is the page ID; use Special:Redirect to resolve the IDs to pages (Special:Redirect/page/ID works too)
Recheck this by running namespaceDupes.php

This list needs to be regenerated by running namespaceDupes.php, and a list of source pages generated from the from= part.

Event Timeline

Dinoguy1000 added a project: Configuration.
corey added a comment.Oct 15 2018, 7:50 PM

Just ran the script. You can find the output here.

I think this explains T15: compare for example https://yugipedia.com/index.php?curid=389145 and https://yugipedia.com/wiki/Module:Aligned_table (especially, note that none of the revisions in the history of the latter have the revision ID 389145), and note the names of the "DRY RUN ONLY" entries versus the deleted pages appearing in Fishtank's contributions. Can you run the script again with the --merge option and post the results, @corey? If everything looks fine after that, then it can be run with --fix --merge to actually make the changes.

corey added a comment.Oct 16 2018, 9:58 AM

Can you run the script again with the --merge option and post the results, @corey? If everything looks fine after that, then it can be run with --fix --merge to actually make the changes.

Here you go!

Thanks! Unless you happen to spot anything, it looks good to me, so we should be ready for a --fix --merge run.

corey closed this task as Resolved.Oct 16 2018, 5:56 PM
root@mw01-do-nyc:/var/www/html# php maintenance/namespaceDupes.php --merge --fix
id=389145 ns=0 dbk=Module:Aligned_table => Module:Aligned_table (merge)
id=338201 ns=0 dbk=Module:Arguments => Module:Arguments (merge)
id=338203 ns=0 dbk=Module:Arguments/doc => Module:Arguments/doc (merge)
id=340528 ns=0 dbk=Module:Autolink => Module:Autolink (merge)
id=343498 ns=0 dbk=Module:Autolink/sandbox => Module:Autolink/sandbox (merge)
id=396970 ns=0 dbk=Module:Autolink/testcases => Module:Autolink/testcases (merge)
id=446207 ns=0 dbk=Module:Card -> Module:Card (no conflict)
id=451925 ns=0 dbk=Module:Card/Maintenance -> Module:Card/Maintenance (no conflict)
id=448939 ns=0 dbk=Module:Card/Set -> Module:Card/Set (no conflict)
id=449222 ns=0 dbk=Module:Card/Set/data -> Module:Card/Set/data (no conflict)
id=447183 ns=0 dbk=Module:Card/vgTable -> Module:Card/vgTable (no conflict)
id=338220 ns=0 dbk=Module:Category_handler => Module:Category_handler (merge)
id=338225 ns=0 dbk=Module:Category_handler/blacklist => Module:Category_handler/blacklist (merge)
id=338229 ns=0 dbk=Module:Category_handler/config => Module:Category_handler/config (merge)
id=338226 ns=0 dbk=Module:Category_handler/data => Module:Category_handler/data (merge)
id=338221 ns=0 dbk=Module:Category_handler/doc => Module:Category_handler/doc (merge)
id=338222 ns=0 dbk=Module:Category_handler/shared => Module:Category_handler/shared (merge)
id=445559 ns=0 dbk=Module:Deprecated -> Module:Deprecated (no conflict)
id=341040 ns=0 dbk=Module:Documentation => Module:Documentation (merge)
id=341045 ns=0 dbk=Module:Documentation/config => Module:Documentation/config (merge)
id=341046 ns=0 dbk=Module:Effective_protection_level => Module:Effective_protection_level (merge)
id=341048 ns=0 dbk=Module:File_link => Module:File_link (merge)
id=335465 ns=0 dbk=Module:Footnotes => Module:Footnotes (merge)
id=446263 ns=0 dbk=Module:HF => Module:HF (merge)
id=421356 ns=0 dbk=Module:Hatnote => Module:Hatnote (merge)
id=421358 ns=0 dbk=Module:Hatnote_inline => Module:Hatnote_inline (merge)
id=382322 ns=0 dbk=Module:JSON => Module:JSON (merge)
id=338210 ns=0 dbk=Module:List => Module:List (merge)
id=338213 ns=0 dbk=Module:List/doc => Module:List/doc (merge)
id=338208 ns=0 dbk=Module:Lua_banner => Module:Lua_banner (merge)
id=338209 ns=0 dbk=Module:Lua_banner/doc => Module:Lua_banner/doc (merge)
id=382461 ns=0 dbk=Module:Math => Module:Math (merge)
id=338214 ns=0 dbk=Module:Message_box => Module:Message_box (merge)
id=338232 ns=0 dbk=Module:Message_box/configuration => Module:Message_box/configuration (merge)
id=338217 ns=0 dbk=Module:Message_box/doc => Module:Message_box/doc (merge)
id=341050 ns=0 dbk=Module:Namespace_detect/config => Module:Namespace_detect/config (merge)
id=341052 ns=0 dbk=Module:Namespace_detect/data => Module:Namespace_detect/data (merge)
id=338218 ns=0 dbk=Module:No_globals => Module:No_globals (merge)
id=338219 ns=0 dbk=Module:No_globals/doc => Module:No_globals/doc (merge)
id=341054 ns=0 dbk=Module:Protection_banner => Module:Protection_banner (merge)
id=341056 ns=0 dbk=Module:Protection_banner/config => Module:Protection_banner/config (merge)
id=347441 ns=0 dbk=Module:Ruby => Module:Ruby (merge)
id=347663 ns=0 dbk=Module:Ruby/sandbox => Module:Ruby/sandbox (merge)
id=453039 ns=0 dbk=Module:SMW => Module:SMW (merge)
id=421360 ns=0 dbk=Module:Section_link => Module:Section_link (merge)
id=455799 ns=0 dbk=Module:Set_list => Module:Set_list (merge)
id=456177 ns=0 dbk=Module:Set_list/data => Module:Set_list/data (merge)
id=456867 ns=0 dbk=Module:Set_list/test => Module:Set_list/test (merge)
id=455483 ns=0 dbk=Module:Set_templates => Module:Set_templates (merge)
id=370716 ns=0 dbk=Module:String => Module:String (merge)
id=338190 ns=0 dbk=Module:TableTools => Module:TableTools (merge)
id=338194 ns=0 dbk=Module:TableTools/doc => Module:TableTools/doc (merge)
id=338187 ns=0 dbk=Module:Toolbar => Module:Toolbar (merge)
id=338189 ns=0 dbk=Module:Toolbar/doc => Module:Toolbar/doc (merge)
id=338197 ns=0 dbk=Module:Yesno => Module:Yesno (merge)
id=338200 ns=0 dbk=Module:Yesno/doc => Module:Yesno/doc (merge)
id=445919 ns=0 dbk=Module_talk:Autolink => Module_talk:Autolink (merge)
id=473558 ns=0 dbk=Module_talk:String => Module_talk:String (merge)
58 pages to fix, 58 were resolvable.

0 links to fix, 0 were resolvable.

Looks good!
root@mw01-do-nyc:/var/www/html#