[Pywikipedia-bugs] [Maniphest] [Commented On] T131624: add WbTime.today() to pywikibot

2016-04-02 Thread Xqt
Xqt added a comment. Couldn't Timestamp be used for that? TASK DETAIL https://phabricator.wikimedia.org/T131624 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, Lokal_Profil, pywikibot-bugs-list, jayvdb, Ricordisamoa

[Pywikipedia-bugs] [Maniphest] [Commented On] T131624: add WbTime.today() to pywikibot

2016-04-02 Thread Lokal_Profil
Lokal_Profil added a comment. Alternatively instead of sticking this in `__-init.py__.WbTime` it could go inte some helper class... if someone can recommedn a good place. TASK DETAIL https://phabricator.wikimedia.org/T131624 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T131619: add __repr__ to Claim in pywikibot

2016-04-02 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T131619 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: gerritbot, Aklapper, Lokal_Profil, pywikibot-bugs-list, Lewizho99, jayvdb, Ricordisamoa

[Pywikipedia-bugs] [Maniphest] [Commented On] T131619: add __repr__ to Claim in pywikibot

2016-04-02 Thread gerritbot
gerritbot added a comment. Change 281205 had a related patch set uploaded (by Lokal Profil): Add __repr__ to Claim https://gerrit.wikimedia.org/r/281205 TASK DETAIL https://phabricator.wikimedia.org/T131619 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Created] T131624: add WbTime.today() to pywikibot

2016-04-02 Thread Lokal_Profil
Lokal_Profil created this task. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Method for turning todays date into a WbTime. This is used whenever setting fetch dates etc. for references. Something like: def today_as_WbTime(): """Get todays date

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T123888: Incorrect default month and day for WbTime

2016-04-02 Thread Lokal_Profil
Lokal_Profil added a subscriber: Multichill. Lokal_Profil edited the task description. TASK DETAIL https://phabricator.wikimedia.org/T123888 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lokal_Profil Cc: Multichill, Aklapper, StudiesWorld,

[Pywikipedia-bugs] [Maniphest] [Created] T131619: add __repr__ to Claim in pywikibot

2016-04-02 Thread Lokal_Profil
Lokal_Profil created this task. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION //Will fill this out better later// Should be something like: # extend pywikibot.Claim with a __repr__ method def new_repr(self): return

[Pywikipedia-bugs] [Maniphest] [Commented On] T131614: checkimages.py incorrectly casts many command line arguments to str()

2016-04-02 Thread valhallasw
valhallasw added a comment. For some reason, checkimages.py runs `str(arg[5:])`, which of course fails if `arg` is non-ascii. I'm not sure why it does that -- we can probably just remove those str()s. TASK DETAIL https://phabricator.wikimedia.org/T131614 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Retitled] T131614: checkimages.py incorrectly casts many command line arguments to str()

2016-04-02 Thread valhallasw
valhallasw changed the title from "-cat option fails with UnicodeDecodeError" to "checkimages.py incorrectly casts many command line arguments to str()". TASK DETAIL https://phabricator.wikimedia.org/T131614 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Created] T131614: -cat option fails with UnicodeDecodeError

2016-04-02 Thread Xqt
Xqt created this task. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION C:\pwb\GIT\core>pwb.py checkimages -simulate -cat:Wikipedia:Dateiüberprüfung_(2016-04-01) Traceback (most recent call last): File "C:\pwb\GIT\core\pwb.py", line 256, in if not

[Pywikipedia-bugs] [Maniphest] [Triaged] T131613: -ref option for checkimages is not documented

2016-04-02 Thread Xqt
Xqt triaged this task as "Low" priority. TASK DETAIL https://phabricator.wikimedia.org/T131613 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, jayvdb, Jay8g, Spage

[Pywikipedia-bugs] [Maniphest] [Created] T131613: -ref option for checkimages is not documented

2016-04-02 Thread Xqt
Xqt created this task. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Documentation is needed for some options TASK DETAIL https://phabricator.wikimedia.org/T131613 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc:

[Pywikipedia-bugs] [Maniphest] [Closed] T131611: -ref option for checkimages does not reflect references

2016-04-02 Thread Xqt
Xqt closed this task as "Invalid". Xqt added a comment. Sorry, my fault. TASK DETAIL https://phabricator.wikimedia.org/T131611 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, jayvdb

[Pywikipedia-bugs] [Maniphest] [Created] T131611: -ref option for checkimages does not reflect references

2016-04-02 Thread Xqt
Xqt created this task. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION -ref option for checkimages does not reflect references but loads 80 additional pages for checking TASK DETAIL https://phabricator.wikimedia.org/T131611 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T131603: -start option does not work for checkimages.py

2016-04-02 Thread jayvdb
jayvdb added a blocking task: T100628: -start argument conflict. TASK DETAIL https://phabricator.wikimedia.org/T131603 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, jayvdb Cc: gerritbot, Alexsh, Aklapper, Xqt, pywikibot-bugs-list, Lewizho99,

[Pywikipedia-bugs] [Maniphest] [Updated] T100628: -start argument conflict

2016-04-02 Thread jayvdb
jayvdb added a blocked task: T131603: -start option does not work for checkimages.py. TASK DETAIL https://phabricator.wikimedia.org/T100628 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: gerritbot, jayvdb, Aklapper, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Commented On] T131603: -start option does not work for checkimages.py

2016-04-02 Thread gerritbot
gerritbot added a comment. Change 281131 had a related patch set uploaded (by Xqt): [bugfix] Start allpages generator with given file page title https://gerrit.wikimedia.org/r/281131 TASK DETAIL https://phabricator.wikimedia.org/T131603 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T131603: -start option does not work for checkimages.py

2016-04-02 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T131603 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, gerritbot Cc: gerritbot, Alexsh, Aklapper, Xqt, pywikibot-bugs-list, Lewizho99, jayvdb

[Pywikipedia-bugs] [Maniphest] [Created] T131603: -start option does not work for checkimages.py

2016-04-02 Thread Xqt
Xqt created this task. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION -start option does not work for checkimages.py: C:\pwb\GIT\core>pwb.py checkimages -start:Foo -simulate Loading the allowed licenses... >> No additional settings found!

[Pywikipedia-bugs] [Maniphest] [Commented On] T131574: Checkimages.py reporting duplicate error

2016-04-02 Thread Xqt
Xqt added a comment. The reason for this bug: There is no localized message for duplicate warning `duplicates_user_talk_text` outside of it-wiki. Better don't use `-duplicates` option at the moment until this bug is solved. TASK DETAIL https://phabricator.wikimedia.org/T131574 EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T131574: Checkimages.py reporting duplicate error

2016-04-02 Thread Xqt
Xqt added a comment. @Riley_Huntley and your `pwb.py version` is needed. TASK DETAIL https://phabricator.wikimedia.org/T131574 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, pywikibot-bugs-list, Riley_Huntley, jayvdb

[Pywikipedia-bugs] [Maniphest] [Commented On] T131574: Checkimages.py reporting duplicate error

2016-04-02 Thread Xqt
Xqt added a comment. @Riley_Huntley which site are you processing? TASK DETAIL https://phabricator.wikimedia.org/T131574 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, pywikibot-bugs-list, Riley_Huntley, jayvdb

[Pywikipedia-bugs] [Maniphest] [Triaged] T131574: Checkimages.py reporting duplicate error

2016-04-02 Thread Xqt
Xqt triaged this task as "Normal" priority. TASK DETAIL https://phabricator.wikimedia.org/T131574 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Riley_Huntley, jayvdb

[Pywikipedia-bugs] [Maniphest] [Commented On] T131592: Add retry logic to sparql data layer in Pywikibot

2016-04-02 Thread Smalyshev
Smalyshev added a comment. If you get error from SPARQL server, then it's most probably permanent. If you get error from network layer - i.e. you can't get to SPARQL server at all - then it may be both permanent (e.g. bad hostname) and transient (e.g. bad connection) but I have no idea how

[Pywikipedia-bugs] [Maniphest] [Commented On] T131592: Add retry logic to sparql data layer in Pywikibot

2016-04-02 Thread jayvdb
jayvdb added a comment. It would be helpful to see what http error codes the sparql server is using..they may tell us the error is temporary. TASK DETAIL https://phabricator.wikimedia.org/T131592 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To:

[Pywikipedia-bugs] [Maniphest] [Commented On] T131592: Add retry logic to sparql data layer in Pywikibot

2016-04-02 Thread Smalyshev
Smalyshev added a comment. The only error that would be recoverable for SPARQL service is probably connection failure and even that one if it's caused by temporary network issue - but I'm not sure how to distinguish it from permanent one like bad hostname. TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T131592: Add retry logic to sparql data layer in Pywikibot

2016-04-02 Thread jayvdb
jayvdb added a comment. Did you experience a failure. The sparql layer is similar to the wdq and mysql layer, which dont have failure handling, except for the `requests` connection management with timeouts. TASK DETAIL https://phabricator.wikimedia.org/T131592 EMAIL PREFERENCES