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
jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added a project: Pywikibot-solve-disambiguation.py.
jayvdb changed Security from none to none.
TASK DESCRIPTION
A disambiguation page which include a disambiguation disambiguator should not be 'solved'.
i.e. a link to [[!! (disambiguation)]] is obviously an intentional link, and shouldnt be solved.
On English Wikipedia, we create [[foo (disambiguation)]] -> [[foo]] redirect pages when [[foo]] is a disambiguation page, so that [[foo (disambiguation)]] can be to be used when intentionally linking to a dab page.
TASK DETAIL
https://phabricator.wikimedia.org/T85052
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, pywikipedia-bugs
Silvonen created this task.
Silvonen added a subscriber: Silvonen.
Silvonen added a project: Pywikibot-category.py.
Silvonen changed Security from none to none.
TASK DESCRIPTION
category.py now crashes after every move. I didn't check what it is actually trying to do, but this doesn't seem to affect the end result.
Test run on fiwiki:
>category.py move
Please enter the old name of the category: Parhaan elokuvan Oscar-palkinnon voittaneet elokuvat
Please enter the new name of the category: Parhaan elokuvan Oscar-palkinnon saaneet elokuvat
Page Luokka:Parhaan elokuvan Oscar-palkinnon voittaneet elokuvat moved to Luokka:Parhaan elokuvan Oscar-palkinnon saaneet elokuvat
Page Luokka:Parhaan elokuvan Oscar-palkinnon voittaneet elokuvat is moved and no longer exist.
Getting [[Luokka:Parhaan elokuvan Oscar-palkinnon voittaneet elokuvat]] list...
Getting 60 pages from wikipedia:fi...
...
Traceback (most recent call last):
File "D:\git\pywikipedia\category.py", line 1079, in <module>
main()
File "D:\git\pywikipedia\category.py", line 1049, in main
bot.run()
File "D:\git\pywikipedia\category.py", line 512, in run
self.oldCat.delete(reason, confirm, mark=True)
File "D:\git\pywikipedia\wikipedia.py", line 3765, in delete
self._getActionUser(action='delete', sysop=True)
File "D:\git\pywikipedia\wikipedia.py", line 2018, in _getActionUser
self.site().forceLogin(sysop=sysop)
File "D:\git\pywikipedia\wikipedia.py", line 6719, in forceLogin
if not self.loggedInAs(sysop=sysop):
File "D:\git\pywikipedia\wikipedia.py", line 6713, in loggedInAs
self._load(sysop=sysop)
File "D:\git\pywikipedia\wikipedia.py", line 7772, in _load
data = query.GetData(params, self, sysop=sysop)
File "D:\git\pywikipedia\pywikibot\support.py", line 118, in wrapper
return method(*__args, **__kw)
File "D:\git\pywikipedia\query.py", line 150, in GetData
data=data)
File "D:\git\pywikipedia\wikipedia.py", line 7239, in getUrl
back_response=True)
File "D:\git\pywikipedia\pywikibot\comms\http.py", line 97, in request
if not no_hostname and site.cookies(sysop = sysop):
File "D:\git\pywikipedia\wikipedia.py", line 6797, in cookies
self._loadCookies(sysop=sysop)
File "D:\git\pywikipedia\wikipedia.py", line 6829, in _loadCookies
% (self.family.name, self.lang))
pywikibot.exceptions.NoUsername: You tried to perform an action that requires admin privileges, but you haven't
entered your sysop name in your user-config.py. Please add
sysopnames['wikipedia']['fi']='name' to your user-config.py
>python version.py
Pywikibot: [https] r-pywikibot-compat.git (925d931, g11106, 2014/11/29, 15:08:51, ok)
Release version: 1.0b1
Python: 2.7.2 (default, Jun 24 2011, 12:22:14) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
TASK DETAIL
https://phabricator.wikimedia.org/T76687
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: Silvonen
Cc: Aklapper, Silvonen, pywikipedia-bugs
jayvdb created this task.
jayvdb claimed this task.
jayvdb added a subscriber: jayvdb.
jayvdb added a project: pywikibot-core.
jayvdb changed Security from none to none.
TASK DESCRIPTION
The Page save logic uses the 'cosmetic changes' script, which is not currently packaged with the Pywikibot library.
[[https://www.mediawiki.org/wiki/Requests_for_comment/pywikibot_2.0_packaging…]]
TASK DETAIL
https://phabricator.wikimedia.org/T76320
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb
Cc: pywikipedia-bugs, jayvdb
jayvdb created this task.
jayvdb claimed this task.
jayvdb added a subscriber: jayvdb.
jayvdb added projects: pywikibot-core, Pywikibot-Cosmetic-changes.
jayvdb changed Security from none to none.
TASK DESCRIPTION
Page save uses the cosmetic changes script, which is not packaged in the core library. In T76320, the hard dependency was broken, but the functionality is missing if the script is not packaged as part of the library.
cosmetic_changes.py needs to be split, moving the toolkit into pywikibot, and leaving a script in the scripts package for adhoc usage of the toolkit (or maybe integrated as an option in touch.py?).
TASK DETAIL
https://phabricator.wikimedia.org/T76324
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb
Cc: pywikipedia-bugs, jayvdb
jayvdb created this task.
jayvdb added subscribers: Ladsgroup, pywikipedia-bugs, jayvdb, Aklapper.
jayvdb added projects: pywikibot-core, Pywikibot-Cosmetic-changes.
TASK DESCRIPTION
On T85240 I suggested python-stdnum as it is a Debian package.
https://packages.debian.org/search?keywords=python-stdnum
As far as I know, it is the only python package with ISBN functionality that is a debian package.
fwiw, I dont see any Fedora package which provides python isbn functionality, but that is less important as Wikimedia machines use a debian base.
TASK DETAIL
https://phabricator.wikimedia.org/T89996
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 a subscriber: jayvdb.
jayvdb added a project: pywikibot-core.
jayvdb changed Security from none to none.
TASK DESCRIPTION
I can reliably produce a badtoken by running the entire test suite on ar.wp or test.wd on this change:
https://gerrit.wikimedia.org/r/178453
TASK DETAIL
https://phabricator.wikimedia.org/T77965
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb
Cc: Aklapper, jayvdb, pywikipedia-bugs