Revi created this task.
Revi added a subscriber: Revi.
Revi added a project: pywikibot-core.
Revi changed Security from none to none.
TASK DESCRIPTION
{T74346} created mai.wikipedia, however pywikibot returns error when I use following settings:
```
-lang:mai -family:wikipedia
```
It should support this new wiki.
TASK DETAIL
https://phabricator.wikimedia.org/T76939
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: Revi
Cc: Aklapper, Revi, jayvdb, pywikipedia-bugs
JAnD created this task.
JAnD added a subscriber: JAnD.
JAnD added projects: Pywikibot-interwiki.py, pywikibot-core.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
Running interwiki on wiktionary causes interesting bug:
When bot find page with name of some month or numbred pege (e.g. [[2]])
`pwb.py interwiki -start:bý -wiktionary -family:wiktionary -lang:cs`
`-wiktionary` parameter menas that bot tries to find the same-name page in other wiktionaries. But in this case it also tries non-existing wiktionaries.
and bot crashes (T74674)
...
```
NOTE: The first unfinished subject is [[cs:býložravec]]
NOTE: Number of pages queued is 50, trying to add 50 more.
TitleTranslate: březen was recognized as MonthName with value 3
Dump cs (wiktionary) written.
Traceback (most recent call last):
File "I:\py\rewrite\pwb.py", line 213, in <module>
run_python_file(filename, argv, argvu, file_package)
File "I:\py\rewrite\pwb.py", line 82, in run_python_file
main_mod.__dict__)
File ".\scripts\interwiki.py", line 2644, in <module>
main()
File ".\scripts\interwiki.py", line 2619, 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 2301, in oneQuery
site = self.selectQuerySite()
File ".\scripts\interwiki.py", line 2272, in selectQuerySite
self.generateMore(globalvar.maxquerysize - mycount)
File ".\scripts\interwiki.py", line 2219, in generateMore
self.add(page, hints=globalvar.hints)
File ".\scripts\interwiki.py", line 2127, in add
subj = Subject(page, hints=hints)
File ".\scripts\interwiki.py", line 870, in __init__
self.translate(hints, globalvar.hintsareright)
File ".\scripts\interwiki.py", line 940, in translate
removebrackets=globalvar.hintnobracket)
File "I:\py\rewrite\pywikibot\titletranslate.py", line 113, in translate
fam=site.family))
File "I:\py\rewrite\pywikibot\__init__.py", line 604, in Site
_sites[key] = interface(code=code, fam=fam, user=user, sysop=sysop)
File "I:\py\rewrite\pywikibot\site.py", line 1520, in __init__
BaseSite.__init__(self, code, fam, user, sysop)
File "I:\py\rewrite\pywikibot\site.py", line 536, in __init__
% (self.__code, self.__family.name))
pywikibot.exceptions.UnknownSite: Language 'sco' does not exist in family wiktio
nary
<class 'pywikibot.exceptions.UnknownSite'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
I:\py\rewrite>
```
TASK DETAIL
https://phabricator.wikimedia.org/T91906
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
jayvdb created this task.
jayvdb added subscribers: Ladsgroup, pywikipedia-bugs, jayvdb, Aklapper.
jayvdb added projects: pywikibot-core, Pywikibot-Cosmetic-changes.
TASK DESCRIPTION
Cosmetic changes (and fixes) should have basic tests that provide coverage of the code without involving the page save operation.
TASK DETAIL
https://phabricator.wikimedia.org/T89998
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: jayvdb
Cc: Aklapper, jayvdb, Ladsgroup, pywikipedia-bugs
jayvdb created this task.
jayvdb added subscribers: jayvdb, pywikipedia-bugs.
jayvdb added projects: Pywikibot-Cosmetic-changes, pywikibot-core.
Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION
before cosmetic changes script can be moved to the pywikibot library, its dependency on the isbn script needs to be decoupled.
TASK DETAIL
https://phabricator.wikimedia.org/T89993
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: jayvdb
Cc: pywikipedia-bugs, jayvdb, Aklapper
Xqt created this task.
Xqt added a subscriber: Xqt.
Xqt added projects: pywikibot-redirect.py, pywikibot-core.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
redirect.py hangs after some time.
command line was:
```
C:\pwb\core>pwb.py redirect double -moves -total:850 -always -lang:de
```
There no further hints to this bug. CPU time consuming is 0%.
TASK DETAIL
https://phabricator.wikimedia.org/T91236
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: Xqt
Cc: pywikipedia-bugs, Xqt, Aklapper, jayvdb
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