Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Add namespace aliases to zhwikivoyage | operations/mediawiki-config | master | +11 -3 |
Related Objects
Event Timeline
Change 441593 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[operations/mediawiki-config@master] Add namespace aliases to zhwikivoyage
Change 441593 merged by jenkins-bot:
[operations/mediawiki-config@master] Add namespace aliases to zhwikivoyage
Mentioned in SAL (#wikimedia-operations) [2018-06-25T13:50:12Z] <hashar@deploy1001> Synchronized wmf-config/InitialiseSettings.php: Add namespace aliases to zhwikivoyage - T198007 (duration: 00m 56s)
Mentioned in SAL (#wikimedia-operations) [2018-06-25T13:54:43Z] <hashar> mwscript namespaceDupes.php --wiki=zhwikivoyage --fix | T198007
After the patch got deployed:
$ mwscript namespaceDupes.php --wiki=zhwikivoyage 0 pages to fix, 0 were resolvable. pagelinks from=9352 ns=0 dbk=WT:Gadget -> Wikivoyage_talk:Gadget DRY RUN pagelinks from=3063 ns=0 dbk=WT:TW -> Wikivoyage_talk:TW DRY RUN pagelinks from=3065 ns=0 dbk=WT:TW -> Wikivoyage_talk:TW DRY RUN pagelinks from=2407 ns=0 dbk=H:目录 -> Help:目录 DRY RUN pagelinks from=12848 ns=0 dbk=Cat:中華人民共和國行政區劃 -> Category:中華人民共和國行政區劃 DRY RUN pagelinks from=12848 ns=0 dbk=Cat:應用科學 -> Category:應用科學 DRY RUN pagelinks from=12848 ns=0 dbk=Cat:音樂 -> Category:音樂 DRY RUN 7 links to fix, 7 were resolvable.
Ran again with --fix:
$ mwscript namespaceDupes.php --wiki=zhwikivoyage --fix 0 pages to fix, 0 were resolvable. pagelinks from=9352 ns=0 dbk=WT:Gadget -> Wikivoyage_talk:Gadget pagelinks from=3063 ns=0 dbk=WT:TW -> Wikivoyage_talk:TW pagelinks from=3065 ns=0 dbk=WT:TW -> Wikivoyage_talk:TW pagelinks from=2407 ns=0 dbk=H:目录 -> Help:目录 pagelinks from=12848 ns=0 dbk=Cat:中華人民共和國行政區劃 -> Category:中華人民共和國行政區劃 pagelinks from=12848 ns=0 dbk=Cat:應用科學 -> Category:應用科學 pagelinks from=12848 ns=0 dbk=Cat:音樂 -> Category:音樂 7 links to fix, 7 were resolvable. Looks good!
Runniing it one last time shows there is still one pagelink fixable:
$ mwscript namespaceDupes.php --wiki=zhwikivoyage 0 pages to fix, 0 were resolvable. pagelinks from=2407 ns=0 dbk=H:目录 -> Help:目录 DRY RUN 1 links to fix, 1 were resolvable.
I think mwscript namespaceDupes.php --wiki=zhwikivoyage --fix --add-prefix=T198007 should be run.
I ran mwscript namespaceDupes.php --wiki=zhwikivoyage --fix --add-prefix=T198007 but the faulty pagelinks is still around:
pagelinks from=2407 ns=0 dbk=H:目录 -> Help:目录 DRY RUN
It has a link [[H:目录]] which is aliased to Help:目录 and that page is a redirect https://zh.wikivoyage.org/w/index.php?title=Help:%E7%9B%AE%E5%BD%95&redirect=no