jayvdb created this task.
jayvdb added subscribers: jayvdb, Ricordisamoa, XZise, pywikipedia-bugs.
jayvdb added a project: pywikibot-core.
Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION
mwpfh and parsoid API could be used instead of mwlib to parse the patrol whitelist.
TASK DETAIL
https://phabricator.wikimedia.org/T95142
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, XZise, Ricordisamoa, jayvdb, Aklapper
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
jayvdb added a comment.
That patch doesnt fix this problem; it still fails in the same place. Here is the run command I used to test, with that patch applied.
$ python pwb.py blockpageschecker -family:wikipedia -lang:en -simulate
Loading categories...
Categories loaded, start!
Retrieving 60 pages from wikipedia:en.
WARNING: API warning (query): Too many values supplied for parameter 'pageids': the limit is 50
Loading [[How to edit]]...
[[How to edit]] is protected: this account can't edit it! Skipping...
Loading [[Arameans]]...
[[Arameans]] is protected: this account can't edit it! Skipping...
Loading [[Al Gore controversies]]...
[[Al Gore controversies]] is protected: this account can't edit it! Skipping...
Loading [[Template:Info]]...
Loading [[Brian Chase (Wikipedia prankster)]]...
[[Brian Chase (Wikipedia prankster)]] is protected: this account can't edit it! Skipping...
Loading [[Brian Chase (Wikipedia hoaxer)]]...
[[Brian Chase (Wikipedia hoaxer)]] is protected: this account can't edit it! Skipping...
Loading [[Brian Chase (hoaxer)]]...
[[Brian Chase (hoaxer)]] is protected: this account can't edit it! Skipping...
Loading [[Template:Fr]]...
Loading [[Template:Infobox Defunct company]]...
Loading [[Template:Clerknote]]...
Loading [[Create article]]...
[[Create article]] is protected: this account can't edit it! Skipping...
Loading [[Create an article]]...
[[Create an article]] is protected: this account can't edit it! Skipping...
Loading [[Create pages]]...
[[Create pages]] is protected: this account can't edit it! Skipping...
Loading [[Darko Trifunović]]...
[[Darko Trifunović]] is protected: this account can't edit it! Skipping...
Loading [[Creating a new page]]...
[[Creating a new page]] is protected: this account can't edit it! Skipping...
Loading [[British India]]...
[[British India]] is protected: this account can't edit it! Skipping...
Loading [[British Student Television]]...
[[British Student Television]] is protected: this account can't edit it! Skipping...
Loading [[Template:Anchors]]...
Loading [[Archimedes Plutonium]]...
[[Archimedes Plutonium]] is protected: this account can't edit it! Skipping...
Loading [[Create a wikipedia page]]...
[[Create a wikipedia page]] is protected: this account can't edit it! Skipping...
Loading [[English English]]...
[[English English]] is protected: this account can't edit it! Skipping...
Loading [[Douchebag]]...
[[Douchebag]] is protected: this account can't edit it! Skipping...
Loading [[Bearded Tit]]...
[[Bearded Tit]] is protected: this account can't edit it! Skipping...
Loading [[Aramean-Syriac people]]...
[[Aramean-Syriac people]] is protected: this account can't edit it! Skipping...
Loading [[*NSYNC]]...
[[*NSYNC]] is protected: this account can't edit it! Skipping...
Loading [[Gallo-Roman]]...
[[Gallo-Roman]] is protected: this account can't edit it! Skipping...
Loading [[9/11]]...
[[9/11]] is protected: this account can't edit it! Skipping...
Loading [[Wikipedia:Article wizard]]...
Loading [[Halo Waypoint]]...
[[Halo Waypoint]] is protected: this account can't edit it! Skipping...
Loading [[Template:Catmain]]...
Loading [[Hoofdpagina]]...
[[Hoofdpagina]] is protected: this account can't edit it! Skipping...
Loading [[ACE Flight 22]]...
[[ACE Flight 22]] is protected: this account can't edit it! Skipping...
Loading [[Blinky Bill's Extraordinary Excursion]]...
[[Blinky Bill's Extraordinary Excursion]] is protected: this account can't edit it! Skipping...
Loading [[Blinky Bill’s Extraordinary Balloon Adventure]]...
[[Blinky Bill’s Extraordinary Balloon Adventure]] is protected: this account can't edit it! Skipping...
Loading [[Create a bio]]...
[[Create a bio]] is protected: this account can't edit it! Skipping...
Loading [[Template:Auto images]]...
Traceback (most recent call last):
File "pwb.py", line 239, in <module>
if not main():
File "pwb.py", line 233, in main
run_python_file(filename, argv, argvu, file_package)
File "pwb.py", line 88, in run_python_file
main_mod.__dict__)
File "./scripts/blockpageschecker.py", line 497, in <module>
main()
File "./scripts/blockpageschecker.py", line 335, in main
replaceToPerform = u'|'.join(TTP + TSP)
TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'
<type 'exceptions.TypeError'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
TASK DETAIL
https://phabricator.wikimedia.org/T70153
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: gerritbot, jayvdb, Ricordisamoa, 01tonythomas, 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