[Pywikipedia-bugs] [Maniphest] [Changed Project Column] T101214: Decommission compat

2015-06-17 Thread gpaumier
gpaumier moved this task to Archive on the user-notice workboard. TASK DETAIL https://phabricator.wikimedia.org/T101214 WORKBOARD https://phabricator.wikimedia.org/project/board/1097/ EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gpaumier Cc: Mat

[Pywikipedia-bugs] [Maniphest] [Changed Project Column] T101524: Many parts of compat will break when used on Wikimedia servers on July 1, 2015

2015-06-17 Thread gpaumier
gpaumier moved this task to Archive on the user-notice workboard. TASK DETAIL https://phabricator.wikimedia.org/T101524 WORKBOARD https://phabricator.wikimedia.org/project/board/1097/ EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gpaumier Cc: Ste

[Pywikipedia-bugs] [Maniphest] [Merged] T97535: In python 3 page objects are represented by bytes instead of Unicode strings

2015-06-17 Thread Dalba
Dalba closed this task as a duplicate of T95809: Page's repr returns invalid data causing Python to error. TASK DETAIL https://phabricator.wikimedia.org/T97535 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dalba Cc: XZise, pywikibot-bugs-list, Akla

[Pywikipedia-bugs] [Maniphest] [Merged] T95809: Page's repr returns invalid data causing Python to error

2015-06-17 Thread Dalba
Dalba added a subscriber: Dalba. Dalba merged a task: T97535: In python 3 page objects are represented by bytes instead of Unicode strings. TASK DETAIL https://phabricator.wikimedia.org/T95809 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dalba Cc:

[Pywikipedia-bugs] [Maniphest] [Commented On] T102741: Python library for Wikibase data values

2015-06-17 Thread jayvdb
jayvdb added a comment. @JeroenDeDauw, are you happy for your library to be moved into Gerrit to form the basis of the new library ? bikeshedding names, it looks like https://pypi.python.org/pypi/datavalues is available. TASK DETAIL https://phabricator.wikimedia.org/T102741 EMAIL PREFERENC

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T102741: Python library for Wikibase data values

2015-06-17 Thread XZise
XZise added a subscriber: XZise. TASK DETAIL https://phabricator.wikimedia.org/T102741 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Ricordisamoa, Yurik, Husky, mkroetzsch, Denny, jcreus, Legoktm, Pyfisch, johl, Lucie, JeroenDeDauw

[Pywikipedia-bugs] [Maniphest] [Updated] T97535: In python 3 page objects are represented by bytes instead of Unicode strings

2015-06-17 Thread XZise
XZise added a subscriber: XZise. XZise added a comment. This seems similar to T95809: Page's repr returns invalid data causing Python to error . TASK DETAIL https://phabricator.wikimedia.org/T97535 EMAIL PREFERENCES https://phabricator.wikimedia.or

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T69663: unsigned comments cause travis build breakage

2015-06-17 Thread jayvdb
jayvdb added a subscriber: Mpaa. jayvdb added a comment. another example of this problem, or our config for frr is wrong: https://frr.wikipedia.org/w/index.php?title=Benutzer_Diskussion:Xqt&diff=107105&oldid=78749 TASK DETAIL https://phabricator.wikimedia.org/T69663 EMAIL PREFERENCES https:

[Pywikipedia-bugs] [Maniphest] [Commented On] T102741: Python library for Wikibase data values

2015-06-17 Thread JeroenDeDauw
JeroenDeDauw added a comment. Presumably unsurprisingly I support the creation of such libraries :) My position has not changed much since the linked mail from 2013: I am still willing to help but will not pull it on my own. TASK DETAIL https://phabricator.wikimedia.org/T102741 EMAIL PREFER

[Pywikipedia-bugs] [Maniphest] [Created] T102860: Flickrripper: Error: 112: Method "flickr.get.token.part.one" not found

2015-06-17 Thread valhallasw
valhallasw created this task. valhallasw added subscribers: valhallasw, ToAruShiroiNeko. valhallasw added a project: pywikibot-core. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION I think the Flickr API changed, breaking flickrripper: ``` \pywikibot\core>pwb.py

[Pywikipedia-bugs] [Maniphest] [Commented On] T102365: test deprecation filename problems

2015-06-17 Thread XZise
XZise added a comment. Alternatively (if all the failures are related to SSL) it might be related to https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning TASK DETAIL https://phabricator.wikimedia.org/T102365 EMAIL PREFERENCES https://phabricator.wikimedia.org/set

[Pywikipedia-bugs] [Maniphest] [Updated] T78125: Unexpected LogEntry.title() behavior

2015-06-17 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T78125 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: gerritbot, Daviskr, Aklapper, pywikibot-bugs-list, XZise, jayvdb ___

[Pywikipedia-bugs] [Maniphest] [Commented On] T78125: Unexpected LogEntry.title() behavior

2015-06-17 Thread gerritbot
gerritbot added a subscriber: gerritbot. gerritbot added a comment. Change 218931 had a related patch set uploaded (by XZise): [IMPROV] LogEntry: page method instead of title https://gerrit.wikimedia.org/r/218931 TASK DETAIL https://phabricator.wikimedia.org/T78125 EMAIL PREFERENCES https:

[Pywikipedia-bugs] [Maniphest] [Commented On] T102365: test deprecation filename problems

2015-06-17 Thread XZise
XZise added a comment. Okay maybe false alarm but I got it because it actually didn't call the deprecated method but something that called the deprecated method (so the caller was no in the tests file). But maybe we have some code that wraps around the deprecated methods in certain cases and ju

[Pywikipedia-bugs] [Maniphest] [Commented On] T102365: test deprecation filename problems

2015-06-17 Thread XZise
XZise added a subscriber: XZise. XZise added a comment. Okay it seems that I've been able to reproduce this bug in Python 3.4.3 too. TASK DETAIL https://phabricator.wikimedia.org/T102365 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZis

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T85358: Testing Pywikibot-Wikidata changes on non-production wikis

2015-06-17 Thread Lydia_Pintscher
Lydia_Pintscher added subscribers: Lydia_Pintscher, aude. TASK DETAIL https://phabricator.wikimedia.org/T85358 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lydia_Pintscher Cc: aude, Lydia_Pintscher, jayvdb, Qgil, Aklapper, pywikibot-bugs-list, Qua

[Pywikipedia-bugs] [Maniphest] [Edited] T101828: global argument for version information

2015-06-17 Thread jayvdb
jayvdb edited the task description. TASK DETAIL https://phabricator.wikimedia.org/T101828 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: Xqt, pywikibot-bugs-list, XZise, jayvdb, Aklapper ___ p

[Pywikipedia-bugs] [Maniphest] [Updated] T102461: Python issue 10254

2015-06-17 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T102461 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb, gerritbot Cc: gerritbot, Aklapper, jayvdb, pywikibot-bugs-list, Anshoe __

[Pywikipedia-bugs] [Maniphest] [Commented On] T102461: Python issue 10254

2015-06-17 Thread gerritbot
gerritbot added a subscriber: gerritbot. gerritbot added a comment. Change 218884 had a related patch set uploaded (by John Vandenberg): Decommission support for Python 2.7.0 and 2.7.1 https://gerrit.wikimedia.org/r/218884 TASK DETAIL https://phabricator.wikimedia.org/T102461 EMAIL PREFERENC

[Pywikipedia-bugs] [Maniphest] [Commented On] T102423: Don't ignore "DoNotArchiveUntil" timestamps written in HTML comments

2015-06-17 Thread whym
whym added a comment. Reminder on documentation (basically to myself): If we make DNAU an exception and generally keep ignoring HTML comments, an update to https://www.mediawiki.org/wiki/Manual:Pywikibot/archivebot.py/setup#How_to_prevent_archiving for clarification would be in order. TASK DE

[Pywikipedia-bugs] [Maniphest] [Commented On] T85658: site.interwiki can be broken by a family that needs _get_path_regex

2015-06-17 Thread XZise
XZise added a comment. And regarding the encoding error: The HTML file was just simply encoded incorrectly (using latin-1 instead of utf-8) and I contacted the Wiki admin who fixed that. TASK DETAIL https://phabricator.wikimedia.org/T85658 EMAIL PREFERENCES https://phabricator.wikimedia.o

[Pywikipedia-bugs] [Maniphest] [Commented On] T85658: site.interwiki can be broken by a family that needs _get_path_regex

2015-06-17 Thread XZise
XZise added a comment. Okay I don't see how that is an issue of `_get_path_regex`? This is just an oversight in whoever added the second entry to all the dicts. We can nothing do about it without manually reading the file and interpreting it because that is just wrong code. TASK DETAIL http

[Pywikipedia-bugs] [Maniphest] [Commented On] T60878: Report sensible error when family file cannot be loaded

2015-06-17 Thread XZise
XZise added a subscriber: XZise. XZise added a comment. I think it's catching the `ImportError` in case someone added their own family file to `config.family_files`. I actually think that we shouldn't even catching the `KeyError` there but doing that separately so that any `KeyError` thrown whi

[Pywikipedia-bugs] [Maniphest] [Edited] T86300: Support different file names and file descriptions in batch uploads

2015-06-17 Thread Nemo_bis
Nemo_bis edited the task description. Nemo_bis set Security to None. TASK DETAIL https://phabricator.wikimedia.org/T86300 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: murfel, Nemo_bis Cc: Liuxinyu970226, murfel, Aklapper, pywikibot-bugs-list, XZise

[Pywikipedia-bugs] [Maniphest] [Commented On] T60878: Report sensible error when family file cannot be loaded

2015-06-17 Thread jayvdb
jayvdb added a comment. Ideally we create a new Exception class for the ImportError, which is subclass of UnknownFamily and ImportError, and it includes the original ImportError message TASK DETAIL https://phabricator.wikimedia.org/T60878 EMAIL PREFERENCES https://phabricator.wikimedia.or

[Pywikipedia-bugs] [Maniphest] [Commented On] T60878: Report sensible error when family file cannot be loaded

2015-06-17 Thread valhallasw
valhallasw added a comment. Alternatively, separating the ImportError caused by 'I can't find the file families/wikidata_family.py' from an ImportError caused by 'I tried to load families/wikidata_family.py, but there's a syntax error, or I can't load a dependency, or ...' I think separating t

[Pywikipedia-bugs] [Maniphest] [Commented On] T60878: Report sensible error when family file cannot be loaded

2015-06-17 Thread jayvdb
jayvdb added a subscriber: jayvdb. jayvdb added a comment. Family.load uses mod = imp.load_source(fam, config.family_files[fam]) except (ImportError, KeyError): raise UnknownFamily(u'Family %s does not exist' % fam) So I believe this bug is asking for the KeyError to be separat

[Pywikipedia-bugs] [Maniphest] [Updated] T85658: site.interwiki can be broken by a family that needs _get_path_regex

2015-06-17 Thread jayvdb
jayvdb removed a project: Patch-For-Review. jayvdb set Security to None. TASK DETAIL https://phabricator.wikimedia.org/T85658 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: gerritbot, jayvdb, Aklapper, pywikibot-bugs-list, XZise, Omegat

[Pywikipedia-bugs] [Maniphest] [Lowered Priority] T85658: site.interwiki can be broken by a family that needs _get_path_regex

2015-06-17 Thread jayvdb
jayvdb lowered the priority of this task from "High" to "Low". TASK DETAIL https://phabricator.wikimedia.org/T85658 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: gerritbot, jayvdb, Aklapper, pywikibot-bugs-list, XZise, Omegat _

[Pywikipedia-bugs] [Maniphest] [Commented On] T85658: site.interwiki can be broken by a family that needs _get_path_regex

2015-06-17 Thread jayvdb
jayvdb added a comment. So the main problem referred to above is now solved. Just noting the output is now different, without "'utf8' codec can't decode byte 0xfc in position 26478: invalid start byte" which is a bug that I believe was fixed. And now that family file containing two URLs for 'd

[Pywikipedia-bugs] [Maniphest] [Commented On] T85153: FileRepo::getInfo() information is very different depending on the subclass in use for each repo

2015-06-17 Thread jayvdb
jayvdb added a comment. In https://phabricator.wikimedia.org/T85153#947827, @Tgr wrote: > The wiki to which the repo is local could be private or have its API disabled > though, that's perfectly legal; and from the point of view of the bot, it > still raises the same problem. From a client pe

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T102741: Python library for Wikibase data values

2015-06-17 Thread hashar
hashar removed a subscriber: hashar. TASK DETAIL https://phabricator.wikimedia.org/T102741 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: Ricordisamoa, Yurik, Husky, mkroetzsch, Denny, jcreus, Legoktm, Pyfisch, johl, Lucie, JeroenDeDauw,

[Pywikipedia-bugs] [Maniphest] [Commented On] T102741: Python library for Wikibase data values

2015-06-17 Thread Ricordisamoa
Ricordisamoa added a comment. I support the development of a compliant Python implementation of DataValues and am willing to help integrate it with Pywikibot. I'm unable to put much effort into it though. TASK DETAIL https://phabricator.wikimedia.org/T102741 EMAIL PREFERENCES https://phabr

[Pywikipedia-bugs] [Maniphest] [Changed Project Column] T41492: prop=info doesn't behave consistently when given a Special Page, vs when given a non special page which redirects to a special page (in

2015-06-17 Thread Aklapper
Aklapper moved this task to Backlog on the MediaWiki-Redirects workboard. TASK DETAIL https://phabricator.wikimedia.org/T41492 WORKBOARD https://phabricator.wikimedia.org/project/board/160/ EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Aklapper C

[Pywikipedia-bugs] [Maniphest] [Updated] T59027: support Wikidata in commons_link.py

2015-06-17 Thread jayvdb
jayvdb added a project: Pywikibot-Other-scripts. TASK DETAIL https://phabricator.wikimedia.org/T59027 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: JAnD, jayvdb, Ricordisamoa, pywikibot-bugs-list, Malyacko, P.Copp _