[Pywikipedia-bugs] [Maniphest] [Commented On] T145971: ItemPage.exists() throws pywikibot.exceptions.IsRedirectPage

2016-09-18 Thread gerritbot
gerritbot added a comment. Change 311337 had a related patch set uploaded (by Xqt): [bugfix] ItemPage.exists() should return True for redirects https://gerrit.wikimedia.org/r/311337TASK DETAILhttps://phabricator.wikimedia.org/T145971EMAIL

[Pywikipedia-bugs] [Maniphest] [Updated] T145971: ItemPage.exists() throws pywikibot.exceptions.IsRedirectPage

2016-09-18 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T145971EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, gerritbotCc: gerritbot, Xqt, Aklapper, TerraCodes, pywikibot-bugs-list, Multichill, MayS, Esc3300, Lewizho99,

[Pywikipedia-bugs] [Maniphest] [Claimed] T145971: ItemPage.exists() throws pywikibot.exceptions.IsRedirectPage

2016-09-18 Thread Xqt
Xqt claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T145971EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: Xqt, Aklapper, TerraCodes, pywikibot-bugs-list, Multichill, MayS, Esc3300, Mdupont, JJMC89, MuhammadShuaib, jayvdb, Ricordisamoa,

[Pywikipedia-bugs] [Maniphest] [Triaged] T145971: ItemPage.exists() throws pywikibot.exceptions.IsRedirectPage

2016-09-18 Thread Xqt
Xqt triaged this task as "High" priority.Xqt added a comment. Do you have a test sample?TASK DETAILhttps://phabricator.wikimedia.org/T145971EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: Xqt, Aklapper, TerraCodes, pywikibot-bugs-list, Multichill,

[Pywikipedia-bugs] [Maniphest] [Updated] T145954: api_tests.TestLazyLoginNotExistUsername runs into a recursive loop

2016-09-18 Thread Xqt
Xqt added a comment. I tried a very old revision d985722e5da47a371 dated 17/09/2015 with C:\pwb\GIT\core>pwb.py tests/api_tests -v TestLazyLoginNotExistUsername and got the same result i.e. recursion loop: C:\pwb\GIT\core>pwb.py tests/api_tests -v TestLazyLoginNotExistUsername

[Pywikipedia-bugs] [Maniphest] [Retitled] T89761: Create new Python library to serialize Wikimedia Quiz format, GIFT quiz format, and allow round-trip conversions between the two formats.

2016-09-18 Thread Mvolz
Mvolz changed the title from "Python library for quiz data, with serialisation" to "Create new Python library to serialize Wikimedia Quiz format, GIFT quiz format, and allow round-trip conversions between the two formats. ".Mvolz edited the task description. (Show Details) EDIT DETAILSWikiversity

[Pywikipedia-bugs] [Maniphest] [Created] T145971: ItemPage.exists() throws pywikibot.exceptions.IsRedirectPage

2016-09-18 Thread Multichill
Multichill created this task.Multichill added projects: Pywikibot-core, Easy, Pywikibot-Wikidata.Herald added subscribers: pywikibot-bugs-list, TerraCodes, Aklapper. TASK DESCRIPTIONThe normal exists() is defined as: def exists(self): """Return True if page exists on the wiki, even if it's a

[Pywikipedia-bugs] [Maniphest] [Commented On] T66848: Port and re-package copyright*.py

2016-09-18 Thread MarcoAurelio
MarcoAurelio added a comment. Thank you for merging @Xqt I think this will be useful to have back. I remember I tried to use this in the old days and it gave me errors. A good code review and update would also be good. Best regards.TASK DETAILhttps://phabricator.wikimedia.org/T66848EMAIL

[Pywikipedia-bugs] [Maniphest] [Updated] T66848: Port and re-package copyright*.py

2016-09-18 Thread Xqt
Xqt added projects: Pywikibot-core, Pywikibot-copyright.py. TASK DETAILhttps://phabricator.wikimedia.org/T66848EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: Aklapper, MarcoAurelio, Xqt, Legoktm, gerritbot, Earwig, jayvdb, valhallasw, Ricordisamoa,

[Pywikipedia-bugs] [Maniphest] [Commented On] T89761: Python library for quiz data, with serialisation

2016-09-18 Thread jayvdb
jayvdb added a comment. Correct. Serialise and deserialise for both formats. The data model should be generic, but it needs to retain style/token information so that the round trip has very few dirty diffs. A earlytask (a microtask?) will be analysis to find features missing from each format, so

[Pywikipedia-bugs] [Maniphest] [Triaged] T66848: Port and re-package copyright*.py

2016-09-18 Thread Xqt
Xqt triaged this task as "Normal" priority. TASK DETAILhttps://phabricator.wikimedia.org/T66848EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: Aklapper, MarcoAurelio, Xqt, Legoktm, gerritbot, Earwig, jayvdb, valhallasw, Ricordisamoa, coren,

[Pywikipedia-bugs] [Maniphest] [Merged] T145963: Port copyright.py and related copyright checker scripts to core

2016-09-18 Thread Xqt
Xqt closed this task as a duplicate of T66848: Port and re-package copyright*.py. TASK DETAILhttps://phabricator.wikimedia.org/T145963EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: Aklapper, pywikibot-bugs-list, MarcoAurelio, Anshoe, droid, Jay8g,

[Pywikipedia-bugs] [Maniphest] [Updated] T66848: Port and re-package copyright*.py

2016-09-18 Thread Xqt
Xqt added subscribers: MarcoAurelio, Aklapper.Xqt merged a task: T145963: Port copyright.py and related copyright checker scripts to core. TASK DETAILhttps://phabricator.wikimedia.org/T66848EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: Aklapper,

[Pywikipedia-bugs] [Maniphest] [Commented On] T89761: Python library for quiz data, with serialisation

2016-09-18 Thread Mvolz
Mvolz added a comment. @jayvdb So as I understand it, this is to serialise quiz wikitext syntax, serialise GIFT format, and use the serialisation to perform round trip operations (GIFT to quiz syntax, quiz syntax to GIFT). The use of the word "data" confused me initially because I assumed the

[Pywikipedia-bugs] [Maniphest] [Edited] T89067: Pywikibot: Implement support for a large core MediaWiki component or extension deployed to Wikimedia sites

2016-09-18 Thread jayvdb
jayvdb edited the task description. (Show Details) EDIT DETAILS...A list of deployed extensions can be found at [[https://www.mediawiki.org/wiki/Category:Extensions_used_on_Wikimedia|Category:Extensions used on Wikimedia]]. Some of these extensions provide functionality which is mission-critical

[Pywikipedia-bugs] [Maniphest] [Commented On] T89761: Python library for quiz data, with serialisation

2016-09-18 Thread jayvdb
jayvdb added a comment. Another area of possible use-cases is gamification of Wikimedia, using Python webapps deployed on the tool labs.TASK DETAILhttps://phabricator.wikimedia.org/T89761EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdbCc: MayS, Mvolz,

[Pywikipedia-bugs] [Maniphest] [Commented On] T89761: Python library for quiz data, with serialisation

2016-09-18 Thread jayvdb
jayvdb added a comment. @Mvolz , even if the PHP extension supported a 'more' standardised format, AFAIK there is no generic python library that loads any standardised format. All of the existing python code I can find is non-standard formats and "good enough" migration scripts, or readers that

[Pywikipedia-bugs] [Maniphest] [Commented On] T145954: api_tests.TestLazyLoginNotExistUsername runs into a recursive loop

2016-09-18 Thread Xqt
Xqt added a comment. Build 3486 seems ok https://travis-ci.org/wikimedia/pywikibot-core/builds/134837554 but the next master build 3492 has this maximum recursion depth https://travis-ci.org/wikimedia/pywikibot-core/builds/139700091 but there is no reason in that commit :(