jayvdb created this task.
jayvdb claimed this task.
jayvdb added a subscriber: XZise.
jayvdb added a project: pywikibot-core.
jayvdb changed Security from none to none.
TASK DESCRIPTION
We should replace our ipaddress detection library with the python ipaddress library, however it has some minor problems which we may want to have fixed first.
[[http://bugs.python.org/issue22282]]
TASK DETAIL
https://phabricator.wikimedia.org/T76286
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb
Cc: pywikipedia-bugs, XZise, jayvdb
jayvdb created this task.
jayvdb added subscribers: jayvdb, Legoktm, hashar, Ricordisamoa.
jayvdb added projects: Continuous-Integration, pywikibot-core.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
Patches uploaded by developers with +2 rights are not being 'lint' -ed.
PS6 on https://gerrit.wikimedia.org/r/#/c/168948/ was uploaded by @Ricordisamoa , who has +2 rights, but only the 'noop' job was run by jenkins.
See T64429 and T87169 for other solutions, but this task is about whitelisting +2 'ers.
Can that whitelisting be done automatically? If not, someone needs to manually update the whitelist :/ .
TASK DETAIL
https://phabricator.wikimedia.org/T87413
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, Aklapper, Ricordisamoa, hashar, Legoktm, jayvdb, greg
jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added a project: Pywikibot-Wikidata.
jayvdb changed Security from none to none.
TASK DESCRIPTION
Similar errors occur in addClaim, addSource, etc .. but here is the backtrace for editEntity updating an item.
Welcome to the Pywikibot interactive shell!
>>> import pywikibot
>>> datasite = pywikibot.site.DataSite('test', 'wikidata', None, None)
>>> item = pywikibot.page.ItemPage(datasite, 'Q68')
>>> item.get()
Found 4 wikidata:test processes running, including this one.
{'claims': {u'P115': [<pywikibot.page.Claim instance at 0xb611b5ac>]}, 'labels': {u'en': u'Test123'}, 'sitelinks': {}, 'descriptions': {}, 'aliases': {u'en': [u'1417625792.03']}}
>>> item.editEntity(data=item.toJSON())
Logging in to wikidata:test as JVbot
Should be logged in now
SIMULATION: wbeditentity action blocked.
Traceback (most recent call last):
File "<console>", line 1, in <module>
File ".../pywikibot/page.py", line 3035, in editEntity
self.lastrevid = updates['entity']['lastrevid']
KeyError: 'entity'
TASK DETAIL
https://phabricator.wikimedia.org/T76694
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb
Cc: Aklapper, jayvdb, pywikipedia-bugs
XZise created this task.
XZise added a subscriber: XZise.
XZise added projects: MediaWiki-API, pywikibot-core.
XZise changed Security from none to none.
TASK DESCRIPTION
Multiple `friprop` values have been removed from `meta=filerepoinfo` including `articlepath` and `server`. I haven't been able to find a mail on the api-announce list so I guess this is not intentional?
Especially `articlepath` and `server` are useful because they are like the URLs from the interwikimap so the code used by #pywikibot-core could be reused.
If it's not intentional it would be helpful to update the documentation of [[https://www.mediawiki.org/wiki/API:Meta#filerepoinfo_.2F_fri|API:Meta#filer… / fri]] and [[https://en.wikipedia.org/w/api.php?action=help&modules=query%2Bfilerepoinfo…, so that I know which property I need to use for future versions.
TASK DETAIL
https://phabricator.wikimedia.org/T85153
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: XZise
Cc: Aklapper, XZise, jayvdb, Anomie, Legoktm, pywikipedia-bugs
Xqt created this task.
Xqt claimed this task.
Xqt added a subscriber: Xqt.
Xqt added a project: pywikibot-compat.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
Processing a File: page which doesn't have an image content leads to an KeyError:
```
+ {{Dateiüberprüfung}}
Bot: Markiere mit {{[[Wikipedia:Dateiüberprüfung/Anleitung|DÜP]]}}, da keine Lizenzvorlage gefunden - bitte nicht entfernen, Informationen bald auf der Benutzerdiskussion des Uploaders.
Updating page [[Datei:HeaderMR.png]] via API
No image in imagepage
Execution time: 32140 seconds
Traceback (most recent call last):
File "C:\pwb\compat\checkimages.py", line 1993, in <module>
main()
File "C:\pwb\compat\checkimages.py", line 1979, in main
if Bot.checkStep():
File "C:\pwb\compat\checkimages.py", line 1787, in checkStep
smwl)
File "C:\pwb\compat\checkimages.py", line 669, in report
resPutMex = self.tag_image(unver)
File "C:\pwb\compat\checkimages.py", line 737, in tag_image
nick = reportPageObject.getLatestUploader()[0]
File "C:\pwb\compat\wikipedia.py", line 5426, in getLatestUploader
return [self._latestInfo['user'], self._latestInfo['timestamp']]
KeyError: 'user'
```
TASK DETAIL
https://phabricator.wikimedia.org/T87172
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, Anshoe
Strainu created this task.
Strainu added a subscriber: Strainu.
Strainu added a project: pywikibot-core.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
The protocol used by pywikibot (http or https) should be retrieved from user preferences. Right now it is hardcoded to https for Wikimedia Sites.
TASK DETAIL
https://phabricator.wikimedia.org/T87461
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: Strainu
Cc: pywikipedia-bugs, Aklapper, Strainu, jayvdb
jayvdb created this task.
jayvdb added subscribers: jayvdb, valhallasw, XZise, Xqt.
jayvdb added a project: pywikibot-core.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
There is a new pep8 rule which was added in July 2014, and will be released soon. If it is deployed on the build machines, it would prevent any other changes from being merged.
The rule is
E402 module level import not at top of file, and looks like
pywikibot/data/api.py:10:1: E402 module level import not at top of file
https://github.com/jcrocholl/pep8/issues/264https://github.com/jcrocholl/pep8/commit/1ee296bca0fa611d3dbe87c5c5c8009e44…
pywikibot has several imports not at the top of the file, due to cyclic dependencies, but that number is small compared to the number of these errors caused by __version__ appearing before the imports.
Note that pep8 also needed to change their code to relocate __version__ to appear below imports.
https://github.com/jcrocholl/pep8/commit/373e0ac1138f0e24422b5e2e78f02ed055…
There is a broader issue of the usefulness of these __version__ variables for every file, and there is some $Id$ voodoo in bot.py:740-745 which we should revisit.
TASK DETAIL
https://phabricator.wikimedia.org/T87409
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: Xqt, XZise, valhallasw, jayvdb, Aklapper, pywikipedia-bugs
Ejegg created this task.
Ejegg added a subscriber: Ejegg.
Ejegg added a project: Pywikibot-Wikidata.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
harvest_template should be able to create multiple statements for infobox fields that contain a list of items. For example, creating multiple has_part statements from past_members and current_members fields of Infobox musical artist.
TASK DETAIL
https://phabricator.wikimedia.org/T87689
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: Ejegg
Cc: pywikipedia-bugs, Aklapper, Ejegg