JAnD created this task.
JAnD added a subscriber: JAnD.
JAnD added projects: pywikibot-core, Pywikibot-interwiki.py.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
Interwiki bot (core) crashes on redirected categories.
pwb.py interwiki -family:wiktionary -start:category:! -lang:sg
```
Retrieving 10 pages from wiktionary:de.
WARNING: D:\pwb\pywikibot\family.py:900: FamilyMaintenanceWarning: Family name w
ikimediachapter does not match family module name wikimedia
Retrieving 10 pages from wiktionary:uz.
Retrieving 10 pages from wiktionary:ro.
Retrieving 10 pages from wiktionary:tn.
Dump sg (wiktionary) appended.
Traceback (most recent call last):
File "D:\pwb\pwb.py", line 213, in <module>
run_python_file(filename, argv, argvu, file_package)
File "D:\pwb\pwb.py", line 82, in run_python_file
main_mod.__dict__)
File ".\scripts\interwiki.py", line 2645, in <module>
main()
File ".\scripts\interwiki.py", line 2620, in main
bot.run()
File ".\scripts\interwiki.py", line 2360, in run
self.queryStep()
File ".\scripts\interwiki.py", line 2333, in queryStep
self.oneQuery()
File ".\scripts\interwiki.py", line 2329, in oneQuery
subject.batchLoaded(self)
File ".\scripts\interwiki.py", line 1455, in batchLoaded
elif page.isEmpty() and not page.isCategory():
File "D:\pwb\pywikibot\page.py", line 688, in isEmpty
txt = self.get()
File "D:\pwb\pywikibot\tools.py", line 869, in wrapper
return obj(*__args, **__kw)
File "D:\pwb\pywikibot\page.py", line 354, in get
self._getInternals(sysop)
File "D:\pwb\pywikibot\page.py", line 386, in _getInternals
raise self._getexception
pywikibot.exceptions.IsRedirectPage: Page [[tn:Category:Inli]] is a redirect pag
e.
<class 'pywikibot.exceptions.IsRedirectPage'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
```
Also it does not work correctly with -ignore parameter
```
D:\pwb>pwb.py interwiki -family:wiktionary -lang:sg -start:category:! -whenneede
d -untranslated -ignore:tn:category:Inli
Traceback (most recent call last):
File "D:\pwb\pwb.py", line 213, in <module>
run_python_file(filename, argv, argvu, file_package)
File "D:\pwb\pwb.py", line 82, in run_python_file
main_mod.__dict__)
File ".\scripts\interwiki.py", line 2645, in <module>
main()
File ".\scripts\interwiki.py", line 2486, in main
if globalvar.readOptions(arg):
File ".\scripts\interwiki.py", line 581, in readOptions
self.ignore += [pywikibot.Page(None, p) for p in arg[8:].split(",")]
File "D:\pwb\pywikibot\tools.py", line 869, in wrapper
return obj(*__args, **__kw)
File "D:\pwb\pywikibot\tools.py", line 869, in wrapper
return obj(*__args, **__kw)
File "D:\pwb\pywikibot\page.py", line 1858, in __init__
super(Page, self).__init__(source, title, ns)
File "D:\pwb\pywikibot\page.py", line 133, in __init__
% (type(source), source))
pywikibot.exceptions.Error: Invalid argument type '<type 'NoneType'>' in Page co
nstructor: None
<class 'pywikibot.exceptions.Error'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
```
TASK DETAIL
https://phabricator.wikimedia.org/T89809
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: JAnD
Cc: pywikipedia-bugs, JAnD, Aklapper, jayvdb
JAnD created this task.
JAnD added a subscriber: JAnD.
JAnD added projects: pywikibot-core, Pywikibot-interwiki.py.
JAnD changed Security from none to none.
TASK DESCRIPTION
Interwiki skips some languages without error mesage, even if they are defined in user-config.py and in compat it worked correctly
(manual selecting of correct links needed)
`pwb.py interwiki -async -family:wiktionary pl:Kategoria:Języki -neverlink:pl`
```
...
Changes to be made: Robot: Modifying [[pl:Kategoria:Indeks slow wg jezykow]] to [[pl:Kategoria:Jezyki]]
@@ -85 +85 @@
- [[pl:Kategoria:Indeks slow wg jezykow]]
+ [[pl:Kategoria:Jezyki]]
@@ -129 +129 @@
- [[zu:Category:Zonke izilimi]]
+ [[zu:Category:Zonke izilimi]]
NOTE: Updating live wiki...
Page [[ta:px?pxp?:m?r?xlx]] saved
WARNING: wiktionary: [[zh-min-nan:fen?:Gi-gian]] does not link to [[pl:Kategoria:Jezyki]] but to [[pl:Kategoria:Indeks slow wg jezykow]]
WARNING: wiktionary: [[simple:Category:Languages]] does not link to [[pl:Kategoria:Jezyki]] but to [[pl:Kategoria:Indeks slow wg jezykow]]
WARNING: wiktionary: [[roa-rup:Category:Limbe]] does not link to [[pl:Kategoria:Jezyki]] but to [[pl:Kategoria:Indeks slow wg jezykow]]
***
Waiting for 63 pages to be put. Estimated time remaining: 0:02:06
```
TASK DETAIL
https://phabricator.wikimedia.org/T76452
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: JAnD
Cc: pywikipedia-bugs, JAnD, jayvdb
JAnD created this task.
JAnD added a subscriber: JAnD.
JAnD added projects: pywikibot-core, Pywikibot-interwiki.py.
TASK DESCRIPTION
`pwb.py interwiki.py -pagegenerators -whenneeded`
tries to update wikis, which have no username defined in user_config.py
Bot freezes for a while, then skips
In compat bot skips this pages without try.
TASK DETAIL
https://phabricator.wikimedia.org/T86628
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: JAnD
Cc: Aklapper, JAnD, jayvdb, pywikipedia-bugs