[Pywikipedia-bugs] [Maniphest] [Commented On] T102735: Page.content_model returns None pre 1.21

2015-10-11 Thread jayvdb
jayvdb added a comment. In https://phabricator.wikimedia.org/T102735#1718458, @Mpaa wrote: > I miss what this means then: > ".css and .js pages, typically used in MediaWiki: and User: namespaces, > **could return a different content_model pre 1.21**" I was hoping that we could detect that `Pa

[Pywikipedia-bugs] [Maniphest] [Up For Grabs] T114978: plural-gettext.txt and plural.py have not been updated since August 2011

2015-10-11 Thread XZise
XZise placed this task up for grabs. XZise added a comment. Oh sorry it seemed I overlooked the last part of your opening post. Now for the moment I'm a bit worried that the package is a bit overkill when we need just one dict and then that it is a string and not a function. And that string is

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

2015-10-11 Thread JanZerebecki
JanZerebecki added a subscriber: JanZerebecki. JanZerebecki added a comment. Adding a link at least works on test.wikpedia.org but this won't add a link for the site the link was made from. Example: On https://test.wikipedia.org/wiki/Blablabla i added https://de.wikipedia.org/wiki/Hauskatze but

[Pywikipedia-bugs] [Maniphest] [Commented On] T108799: Commons "File usage on other wikis" does not show usage by German Wikisource

2015-10-11 Thread Billinghurst
Billinghurst added a comment. @Aschroet I have some plans to test it today or tonight. I just need to work around dodgy connection issues. Then, yes! We can batch to run from where we left off. TASK DETAIL https://phabricator.wikimedia.org/T108799 EMAIL PREFERENCES https://phabricator.wik

[Pywikipedia-bugs] [Maniphest] [Commented On] T114978: plural-gettext.txt and plural.py have not been updated since August 2011

2015-10-11 Thread jayvdb
jayvdb added a comment. I'd prefer that `translate-toolkit` is improved to use the Unicode's CLDR (if it isnt already?), with relevant tests added, and we simply consume that. Then all python projects benefit, and we benefit from having rules that are used and maintained by other projects. T

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

2015-10-11 Thread Qgil
Qgil edited the task description. TASK DETAIL https://phabricator.wikimedia.org/T89761 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Qgil Cc: TasneemLo, Shrutika719, soulshake, Pavithirakc, Rajdeep594, Qgil, Ricordisamoa, Bawolff, He7d3r, Crochet.d

[Pywikipedia-bugs] [Maniphest] [Commented On] T87169: run at least pep8 and pep257 for new changesets submitted to pywikibot/core for any user

2015-10-11 Thread jayvdb
jayvdb added a comment. In https://phabricator.wikimedia.org/T87169#1718474, @JanZerebecki wrote: > In https://phabricator.wikimedia.org/T87169#1711901, @jayvdb wrote: > > > Note, `detox` on pypi says it is Python 2 only, but this commit > >

[Pywikipedia-bugs] [Maniphest] [Commented On] T87169: run at least pep8 and pep257 for new changesets submitted to pywikibot/core for any user

2015-10-11 Thread JanZerebecki
JanZerebecki added a subscriber: JanZerebecki. JanZerebecki added a comment. In https://phabricator.wikimedia.org/T87169#1711901, @jayvdb wrote: > Note, `detox` on pypi says it is Python 2 only, but this commit >

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T115230: test_token failure on developer builds

2015-10-11 Thread XZise
XZise added a subscriber: XZise. TASK DETAIL https://phabricator.wikimedia.org/T115230 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, jayvdb, pywikibot-bugs-list ___ pywikibot-

[Pywikipedia-bugs] [Maniphest] [Created] T115230: test_token failure on developer builds

2015-10-11 Thread jayvdb
jayvdb created this task. jayvdb added a subscriber: jayvdb. jayvdb added a project: Pywikibot-tests. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION This has occurred a few times on developer builds. ``` ==

[Pywikipedia-bugs] [Maniphest] [Commented On] T102735: Page.content_model returns None pre 1.21

2015-10-11 Thread Mpaa
Mpaa added a comment. I miss what this means then: ".css and .js pages, typically used in MediaWiki: and User: namespaces, **could return a different content_model pre 1.21**" TASK DETAIL https://phabricator.wikimedia.org/T102735 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings

[Pywikipedia-bugs] [Maniphest] [Claimed] T114978: plural-gettext.txt and plural.py have not been updated since August 2011

2015-10-11 Thread XZise
XZise added a subscriber: XZise. XZise claimed this task. XZise added a comment. I think it should be possible to either have a script deriving the plural rules using Unicode's CLDR definition or to introduce/use that XML directly. For the second part the main problem is probably the copyright (

[Pywikipedia-bugs] [Maniphest] [Commented On] T102735: Page.content_model returns None pre 1.21

2015-10-11 Thread Legoktm
Legoktm added a subscriber: Legoktm. Legoktm added a comment. ContentHandler did not exist prior to 1.21... TASK DETAIL https://phabricator.wikimedia.org/T102735 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Legoktm Cc: Legoktm, Mpaa, Aklapper, ja

[Pywikipedia-bugs] [Maniphest] [Commented On] T102735: Page.content_model returns None pre 1.21

2015-10-11 Thread Mpaa
Mpaa added a subscriber: Mpaa. Mpaa added a comment. Wasn't contentmodel introduced in 1.22 for 'info' and in 1.21 for 'revisions'? Is it returned in some other way? TASK DETAIL https://phabricator.wikimedia.org/T102735 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emai

[Pywikipedia-bugs] [Maniphest] [Updated] T58961: Tests: test using local mediawiki installation

2015-10-11 Thread JanZerebecki
JanZerebecki added a comment. Triggered by https://phabricator.wikimedia.org/T114421#1711600 I'll explain why this task is a good idea: See http://martinfowler.com/bliki/TestPyramid.html for something that is probably a good introduction. Automated tests that contact multiple hosts on the inter

[Pywikipedia-bugs] [Maniphest] [Updated] T100802: Run test against an empty MediaWiki instance

2015-10-11 Thread JanZerebecki
JanZerebecki added a subscriber: JanZerebecki. JanZerebecki added a comment. If you create a mediawiki installation per test run as asked for in https://phabricator.wikimedia.org/T58961 you can create page history and other stuff your tests rely on (i.e. a https://en.wikipedia.org/wiki/Test_fixt

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T58961: Tests: test using local mediawiki installation

2015-10-11 Thread JanZerebecki
JanZerebecki added a subscriber: JanZerebecki. JanZerebecki added a comment. Herald added a subscriber: Aklapper. At least for jenkins the setup of a mediawiki installation just for a testrun is contained in the following builders: - mw-install-sqlite - mw-apply-settings - mw-run-update-script

[Pywikipedia-bugs] [Maniphest] [Commented On] T74863: add coverage report to tests

2015-10-11 Thread XZise
XZise added a comment. @Ricordisamoa: I guess your dislike has the same reason as T101807: Run Pywikibot tests against Win32 using Appveyor ? In which case I strongly agree with @jayvdb's response (https://phabricator.wikimedia.org/T101807#1355749).

[Pywikipedia-bugs] [Maniphest] [Commented On] T108799: Commons "File usage on other wikis" does not show usage by German Wikisource

2015-10-11 Thread Aschroet
Aschroet added a comment. @Billinghurst, seems that that blocking task has been closed. Are we now able to continue with this ticket? TASK DETAIL https://phabricator.wikimedia.org/T108799 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Billinghurst

[Pywikipedia-bugs] [Maniphest] [Commented On] T57102: listify to file option in category.py

2015-10-11 Thread Mpaa
Mpaa added a comment. You can submit the patch from here: https://tools.wmflabs.org/gerrit-patch-uploader/. Or read this: https://www.mediawiki.org/wiki/Manual:Pywikibot/Development and follow the guidelines. TASK DETAIL https://phabricator.wikimedia.org/T57102 EMAIL PREFERENCES https://p

[Pywikipedia-bugs] [Maniphest] [Commented On] T57102: listify to file option in category.py

2015-10-11 Thread Tokencolour
Tokencolour added a comment. Hello all, I have got a class similar to CategoryListifyRobot working in listpages.py when invoked with argument '-listify'. What should I do next? Please guide me. TASK DETAIL https://phabricator.wikimedia.org/T57102 EMAIL PREFERENCES https://phabricator.wiki

[Pywikipedia-bugs] [Maniphest] [Commented On] T113450: pywikibot-touch.py needs to operate in bot mode

2015-10-11 Thread Mpaa
Mpaa added a subscriber: Mpaa. Mpaa added a comment. @Billinghurst, feedback welcome. TASK DETAIL https://phabricator.wikimedia.org/T113450 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mpaa Cc: Mpaa, Aschroet, gerritbot, jayvdb, Tpt, Aklapper, py

[Pywikipedia-bugs] [Maniphest] [Unblock] T108799: Commons "File usage on other wikis" does not show usage by German Wikisource

2015-10-11 Thread Mpaa
Mpaa closed blocking task T113450: pywikibot-touch.py needs to operate in bot mode as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T108799 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Billinghurst, Mpaa Cc: pywikibot-bugs-list, Glaish

[Pywikipedia-bugs] [Maniphest] [Closed] T113450: pywikibot-touch.py needs to operate in bot mode

2015-10-11 Thread Mpaa
Mpaa closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T113450 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mpaa Cc: Aschroet, gerritbot, jayvdb, Tpt, Aklapper, pywikibot-bugs-list, Billinghurst, 01tonythomas ___

[Pywikipedia-bugs] [Maniphest] [Commented On] T113450: pywikibot-touch.py needs to operate in bot mode

2015-10-11 Thread gerritbot
gerritbot added a comment. Change 240570 merged by jenkins-bot: touch.py: allow botflag tagging from cli https://gerrit.wikimedia.org/r/240570 TASK DETAIL https://phabricator.wikimedia.org/T113450 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: ger

[Pywikipedia-bugs] [Maniphest] [Commented On] T74863: add coverage report to tests

2015-10-11 Thread jayvdb
jayvdb added a comment. Two other options for online storage of .coverage data is: - https://bintray.com/ - `gh-pages` branch of the same repo, or a different branch name TASK DETAIL https://phabricator.wikimedia.org/T74863 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Commented On] T114824: test_allpages_pagesize and test_allpages_protection failures

2015-10-11 Thread jayvdb
jayvdb added a comment. I've put up a patch to add timestamps to more of our jobs: https://gerrit.wikimedia.org/r/#/c/244951 . Thanks for looking, and pointing to the likely cause. TASK DETAIL https://phabricator.wikimedia.org/T114824 EMAIL PREFERENCES https://phabricator.wikimedia.org/s