Page MenuHomePhabricator

-cleanup option in interwiki.py
Open, NormalPublic

Description

interwiki.py have two almost simialr options

-force removes non-existing or not matching link without asking for each page
-cleanup removes only non-existing links

when working with -whenneeded, -force removes dead links everywhere since -cleanup only in pages matched by -whenneeded (current language + biggest language, + languages with more than XX changes when -whenneeded:XX).

but with combination -autonomous mode with -wiktionary:

  1. -wiktionary -cleanup -autonomous removes only dead links
  2. -wiktionary -force -autonomous removes dead and non-matching links (en:Foo vs. es:Bar, en:A vs. de:a)
  3. -wiktionary -force the same result as 2)
  4. -wiktionary -cleanup the same result as 2), but should be the same as 1)

https://en.wiktionary.org/w/index.php?title=A&diff=prev&oldid=34532053
https://en.wiktionary.org/w/index.php?title=@&diff=prev&oldid=34532059
https://en.wiktionary.org/w/index.php?title=ABM&diff=prev&oldid=34532043

Event Timeline

JAnD created this task.Oct 7 2015, 11:53 AM
JAnD raised the priority of this task from to Normal.
JAnD updated the task description. (Show Details)
JAnD added a project: Pywikibot-interwiki.py.
JAnD added a subscriber: JAnD.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald TranscriptOct 7 2015, 11:53 AM
JAnD set Security to None.