[Pywikipedia-bugs] [Maniphest] [Updated] T85385: Implement "Monolingual text" in Pywikibot

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

[Pywikipedia-bugs] [Maniphest] [Commented On] T85385: Implement "Monolingual text" in Pywikibot

2016-03-09 Thread gerritbot
gerritbot added a comment. Change 269936 had a related patch set uploaded (by Xqt): [fix] enable 'monolingualtext' for WikibaseKnownTypesTests.test_datatypes https://gerrit.wikimedia.org/r/269936 TASK DETAIL https://phabricator.wikimedia.org/T85385 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Edited] T129406: Tool Labs Pywikibot does not work with new shared Pywikibot config files

2016-03-09 Thread Ato_01
Ato_01 edited the task description. TASK DETAIL https://phabricator.wikimedia.org/T129406 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ato_01 Cc: Aklapper, pywikibot-bugs-list, Ato_01, TerraCodes, Luke081515, yuvipanda, Gryllida, jayvdb, scfc,

[Pywikipedia-bugs] [Maniphest] [Edited] T129406: Tool Labs Pywikibot does not work with new shared Pywikibot config files

2016-03-09 Thread Ato_01
Ato_01 edited the task description. TASK DETAIL https://phabricator.wikimedia.org/T129406 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ato_01 Cc: Aklapper, pywikibot-bugs-list, Ato_01, TerraCodes, Luke081515, yuvipanda, Gryllida, jayvdb, scfc,

[Pywikipedia-bugs] [Maniphest] [Commented On] T128987: testQueriesDirectFromClaim fails with TypeError: Cannot construct a query from a claim of type external-id

2016-03-09 Thread Xqt
Xqt added a comment. I guess there is sth wrong with the type. This should be str for py3 or either str or Unicode for py2 but should be never basestring. TASK DETAIL https://phabricator.wikimedia.org/T128987 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Closed] T127807: site.search 'where'-parameter does not work

2016-03-09 Thread jayvdb
jayvdb closed this task as "Resolved". jayvdb assigned this task to Xqt. TASK DETAIL https://phabricator.wikimedia.org/T127807 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, jayvdb Cc: gerritbot, Hannes_Rost_MW, valhallasw, XZise, russblau,

[Pywikipedia-bugs] [Maniphest] [Commented On] T127807: site.search 'where'-parameter does not work

2016-03-09 Thread gerritbot
gerritbot added a comment. Change 273015 merged by jenkins-bot: [bugfix] gsrwhat parameter for site.search differs for several mw versions https://gerrit.wikimedia.org/r/273015 TASK DETAIL https://phabricator.wikimedia.org/T127807 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T129193: reimplement imageuncat's -recentchanges as a pagegenerators command line argument

2016-03-09 Thread jayvdb
jayvdb added a comment. Improving the existing pagegenerators `-recentchanges` seems the best approach TASK DETAIL https://phabricator.wikimedia.org/T129193 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: darthbhyrava, jayvdb Cc: darthbhyrava,

[Pywikipedia-bugs] [Maniphest] [Commented On] T129193: reimplement imageuncat's -recentchanges as a pagegenerators command line argument

2016-03-09 Thread darthbhyrava
darthbhyrava added a comment. In https://phabricator.wikimedia.org/T129193#2105538, @jayvdb wrote: > This task is about improving pagegenerators' `-recentchanges` . Please see https://phabricator.wikimedia.org/T67192 and the code used to fix it. I //did// go through that task

[Pywikipedia-bugs] [Maniphest] [Commented On] T129193: reimplement imageuncat's -recentchanges as a pagegenerators command line argument

2016-03-09 Thread jayvdb
jayvdb added a comment. This task is about improving pagegenerators' -recentchanges . Please see https://phabricator.wikimedia.org/T67192 and the code used to fix it. TASK DETAIL https://phabricator.wikimedia.org/T129193 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T129193: reimplement imageuncat's -recentchanges as a pagegenerators command line argument

2016-03-09 Thread darthbhyrava
darthbhyrava added a comment. Or I could modify the existing -recentchanges in different ways: - Accept `-recentchanges:x-y` or `-recentchanges-timespan:x-y` such that x is the delay, and y is the block, and both are positive (need to think of error messages if they aren't positive )

[Pywikipedia-bugs] [Maniphest] [Commented On] T129193: reimplement imageuncat's -recentchanges as a pagegenerators command line argument

2016-03-09 Thread darthbhyrava
darthbhyrava added a comment. @jayvdb There is already an existing -recentchanges:x command line argument in pagegenerators, which returns the x most recently changed pages (if x not mentioned, then x=60), while the function of -recentchanges in imageuncat is to return pages changed

[Pywikipedia-bugs] [Maniphest] [Commented On] T128987: testQueriesDirectFromClaim fails with TypeError: Cannot construct a query from a claim of type external-id

2016-03-09 Thread Lokal_Profil
Lokal_Profil added a comment. Thanks @Ricordisamoa. Hadn't noticed that basestring got defined differently depending on python version TASK DETAIL https://phabricator.wikimedia.org/T128987 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To:

[Pywikipedia-bugs] [Maniphest] [Updated] T128988: TestWiktionaryGraph.test_octagon failing

2016-03-09 Thread Lokal_Profil
Lokal_Profil removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T128988 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lokal_Profil Cc: Lokal_Profil, gerritbot, Aklapper, jayvdb, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Closed] T128988: TestWiktionaryGraph.test_octagon failing

2016-03-09 Thread Lokal_Profil
Lokal_Profil closed this task as "Resolved". Lokal_Profil claimed this task. Lokal_Profil added a comment. 15 out of the 20 builds now completes successfully . The remaining fails/crashes are due to: - 4:

[Pywikipedia-bugs] [Maniphest] [Commented On] T108134: Parse bare attributes according to the html5 spec

2016-03-09 Thread Ltrlg
Ltrlg added a comment. @Stigmj thanks, fixed these. TASK DETAIL https://phabricator.wikimedia.org/T108134 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Arlolra, Ltrlg Cc: pywikibot-bugs-list, Billinghurst, Stigmj, Ricordisamoa, Oliv0, Ltrlg,

[Pywikipedia-bugs] [Maniphest] [Triaged] T129406: Tool Labs Pywikibot does not work with new shared Pywikibot config files

2016-03-09 Thread Ato_01
Ato_01 triaged this task as "Normal" priority. TASK DETAIL https://phabricator.wikimedia.org/T129406 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ato_01 Cc: Aklapper, pywikibot-bugs-list, Ato_01, TerraCodes, Luke081515, yuvipanda, Gryllida,

[Pywikipedia-bugs] [Maniphest] [Created] T129406: Tool Labs Pywikibot does not work with new shared Pywikibot config files

2016-03-09 Thread Ato_01
Ato_01 created this task. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION I configured my bot on the Tool Labs to use the shared Pywikibot code that was available in the directory /shared/pywikipedia/core Since about 8 hours I am receiving the following error

[Pywikipedia-bugs] [Maniphest] [Updated] T129049: Pywikibot support for Thanks

2016-03-09 Thread Sumit
Sumit added a project: Google-Summer-of-Code-2016. TASK DETAIL https://phabricator.wikimedia.org/T129049 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Sumit Cc: Legoktm, Aklapper, darthbhyrava, jayvdb, pywikibot-bugs-list, Manrajsinghgrover,

[Pywikipedia-bugs] [Maniphest] [Retitled] T129368: unittest.expectedFailure should be solved

2016-03-09 Thread Xqt
Xqt changed the title from "unittest.exprectedFailure should be solved" to "unittest.expectedFailure should be solved". TASK DETAIL https://phabricator.wikimedia.org/T129368 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: valhallasw, jayvdb,

[Pywikipedia-bugs] [Maniphest] [Commented On] T128992: site detection failures

2016-03-09 Thread Lokal_Profil
Lokal_Profil added a comment. I think http://botwiki.sno.cc/wiki/$1 might also be causing problems. Looks like the domain has expired. TASK DETAIL https://phabricator.wikimedia.org/T128992 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To:

[Pywikipedia-bugs] [Maniphest] [Closed] T115790: Botwiki currently/permanently(?) not available

2016-03-09 Thread Xqt
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T115790 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise, Xqt Cc: gerritbot, Xqt, jayvdb, Legoktm, Snowolf, Aklapper, pywikibot-bugs-list, XZise, Lewizho99

[Pywikipedia-bugs] [Maniphest] [Closed] T117176: Unify name of parameters -pairs and -replacementfile in scripts

2016-03-09 Thread darthbhyrava
darthbhyrava closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T117176 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: darthbhyrava Cc: gerritbot, darthbhyrava, Xqt, jayvdb, StudiesWorld, Mpaa, Aklapper, Wesalius,

[Pywikipedia-bugs] [Maniphest] [Commented On] T115790: Botwiki currently/permanently(?) not available

2016-03-09 Thread gerritbot
gerritbot added a comment. Change 276161 merged by jenkins-bot: [Test] Remove botwiki from test suite https://gerrit.wikimedia.org/r/276161 TASK DETAIL https://phabricator.wikimedia.org/T115790 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/

[Pywikipedia-bugs] [Maniphest] [Commented On] T128987: testQueriesDirectFromClaim fails with TypeError: Cannot construct a query from a claim of type external-id

2016-03-09 Thread gerritbot
gerritbot added a comment. Change 276146 merged by jenkins-bot: Support querying for commonsMedia via WDQ https://gerrit.wikimedia.org/r/276146 TASK DETAIL https://phabricator.wikimedia.org/T128987 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T128987: testQueriesDirectFromClaim fails with TypeError: Cannot construct a query from a claim of type external-id

2016-03-09 Thread Lokal_Profil
Lokal_Profil added a comment. There is something subtle going on here: >>> Claim.types.get(claim.type) >>> basestring >>> isinstance(Claim.types.get(claim.type), basestring) False How about I just admit defeat and go for the tuple solution instead. TASK

[Pywikipedia-bugs] [Maniphest] [Commented On] T128987: testQueriesDirectFromClaim fails with TypeError: Cannot construct a query from a claim of type external-id

2016-03-09 Thread gerritbot
gerritbot added a comment. Change 276146 had a related patch set uploaded (by Lokal Profil): Support querying for commonsMedia via WDQ https://gerrit.wikimedia.org/r/276146 TASK DETAIL https://phabricator.wikimedia.org/T128987 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T117176: Unify name of parameters -pairs and -replacementfile in scripts

2016-03-09 Thread gerritbot
gerritbot added a comment. Change 275025 merged by jenkins-bot: Change: Unify name of parameters -pairs and -replacementfile in scripts https://gerrit.wikimedia.org/r/275025 TASK DETAIL https://phabricator.wikimedia.org/T117176 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T128987: testQueriesDirectFromClaim fails with TypeError: Cannot construct a query from a claim of type external-id

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

[Pywikipedia-bugs] [Maniphest] [Updated] T115790: Botwiki currently/permanently(?) not available

2016-03-09 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T115790 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise, gerritbot Cc: gerritbot, Xqt, jayvdb, Legoktm, Snowolf, Aklapper, pywikibot-bugs-list, XZise,

[Pywikipedia-bugs] [Maniphest] [Commented On] T115790: Botwiki currently/permanently(?) not available

2016-03-09 Thread gerritbot
gerritbot added a comment. Change 276161 had a related patch set uploaded (by Xqt): [Test] Remove botwiki from test suite https://gerrit.wikimedia.org/r/276161 TASK DETAIL https://phabricator.wikimedia.org/T115790 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T128987: testQueriesDirectFromClaim fails with TypeError: Cannot construct a query from a claim of type external-id

2016-03-09 Thread Xqt
Xqt added a comment. maybe the equality test. Perhaps the type is str or unicode. Try isinstance(Claim.types.get(claim.type), basestring) TASK DETAIL https://phabricator.wikimedia.org/T128987 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To:

[Pywikipedia-bugs] [Maniphest] [Updated] T128987: testQueriesDirectFromClaim fails with TypeError: Cannot construct a query from a claim of type external-id

2016-03-09 Thread Lokal_Profil
Lokal_Profil added a comment. In https://phabricator.wikimedia.org/T128987#2102815, @Xqt wrote: > Looks like the bug is still there. Travis reports it, e.g. https://travis-ci.org/wikimedia/pywikibot-core/jobs/114767216 That is really weird. Running the same test locally and it

[Pywikipedia-bugs] [Maniphest] [Reassigned] T128987: testQueriesDirectFromClaim fails with TypeError: Cannot construct a query from a claim of type external-id

2016-03-09 Thread Xqt
Xqt reassigned this task from Xqt to Lokal_Profil. TASK DETAIL https://phabricator.wikimedia.org/T128987 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lokal_Profil, Xqt Cc: Xqt, Lokal_Profil, Aklapper, jayvdb, pywikibot-bugs-list, Ricordisamoa

[Pywikipedia-bugs] [Maniphest] [Reopened] T128987: testQueriesDirectFromClaim fails with TypeError: Cannot construct a query from a claim of type external-id

2016-03-09 Thread Xqt
Xqt reopened this task as "Open". Xqt added a comment. Looks like the bug is still there. Travis reports it, e.g. https://travis-ci.org/wikimedia/pywikibot-core/jobs/114767216 TASK DETAIL https://phabricator.wikimedia.org/T128987 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T115790: Botwiki currently/permanently(?) not available

2016-03-09 Thread Xqt
Xqt added a comment. We should remove botwiki from test suite. I only get a landing page from web hosting provider. TASK DETAIL https://phabricator.wikimedia.org/T115790 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise, Xqt Cc: Xqt, jayvdb,

[Pywikipedia-bugs] [Maniphest] [Declined] T85786: Add botwiki as test site for MW 1.17

2016-03-09 Thread Xqt
Xqt closed this task as "Declined". Xqt added a comment. botwiki is not available for months. TASK DETAIL https://phabricator.wikimedia.org/T85786 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, XZise, gerritbot, jayvdb, Doug,

[Pywikipedia-bugs] [Maniphest] [Unblock] T128992: site detection failures

2016-03-09 Thread Xqt
Xqt closed blocking task T85786: Add botwiki as test site for MW 1.17 as "Declined". TASK DETAIL https://phabricator.wikimedia.org/T128992 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, pywikibot-bugs-list, jayvdb

[Pywikipedia-bugs] [Maniphest] [Updated] T128987: testQueriesDirectFromClaim fails with TypeError: Cannot construct a query from a claim of type external-id

2016-03-09 Thread Ricordisamoa
Ricordisamoa removed a project: Patch-For-Review. Ricordisamoa removed a subscriber: gerritbot. TASK DETAIL https://phabricator.wikimedia.org/T128987 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, Ricordisamoa Cc: Xqt, Lokal_Profil, Aklapper,

[Pywikipedia-bugs] [Maniphest] [Updated] T108134: Parse bare attributes according to the html5 spec

2016-03-09 Thread Billinghurst
Billinghurst added a project: Pywikibot-textlib.py. Herald added a subscriber: pywikibot-bugs-list. TASK DETAIL https://phabricator.wikimedia.org/T108134 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Arlolra, Billinghurst Cc: pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Closed] T128987: testQueriesDirectFromClaim fails with TypeError: Cannot construct a query from a claim of type external-id

2016-03-09 Thread Xqt
Xqt closed this task as "Resolved". Xqt claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T128987 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, gerritbot, Lokal_Profil, Aklapper, jayvdb, pywikibot-bugs-list, Lewizho99,

[Pywikipedia-bugs] [Maniphest] [Commented On] T128987: testQueriesDirectFromClaim fails with TypeError: Cannot construct a query from a claim of type external-id

2016-03-09 Thread gerritbot
gerritbot added a comment. Change 276131 merged by jenkins-bot: Allow any claim of basestring type to create a STRING query https://gerrit.wikimedia.org/r/276131 TASK DETAIL https://phabricator.wikimedia.org/T128987 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T128987: testQueriesDirectFromClaim fails with TypeError: Cannot construct a query from a claim of type external-id

2016-03-09 Thread Xqt
Xqt added a comment. Claim.__dict__ is {'_type': u'external-id', 'snak': None, 'hash': None, 'target': None, 'rank': u'normal', 'qualifiers': OrderedDict(), 'repo': DataSite("wikidata", "wikidata"), 'sources': [], 'snaktype': u'value', 'on_item': None, 'isReference': False, 'id':

[Pywikipedia-bugs] [Maniphest] [Commented On] T128987: testQueriesDirectFromClaim fails with TypeError: Cannot construct a query from a claim of type external-id

2016-03-09 Thread gerritbot
gerritbot added a comment. Change 276131 had a related patch set uploaded (by Lokal Profil): Allow any claim of basestring type to create a STRING query https://gerrit.wikimedia.org/r/276131 TASK DETAIL https://phabricator.wikimedia.org/T128987 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T128987: testQueriesDirectFromClaim fails with TypeError: Cannot construct a query from a claim of type external-id

2016-03-09 Thread Lokal_Profil
Lokal_Profil added a comment. This is likely a result of `P268` being changed from string to external-id. Changing to `P225` fixes the error. However the fact that it is failing indicative of a problem with `wikidataquery.fromClaim()` being too picky in what it allows as STRING claims.

[Pywikipedia-bugs] [Maniphest] [Unblock] T123856: Add tests for Wikibase Monolingual text

2016-03-09 Thread jayvdb
jayvdb closed blocking task T129276: test_WbMonolingualText_invalid_text failing as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T123856 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lokal_Profil, jayvdb Cc: Lydia_Pintscher,

[Pywikipedia-bugs] [Maniphest] [Commented On] T129276: test_WbMonolingualText_invalid_text failing

2016-03-09 Thread gerritbot
gerritbot added a comment. Change 276104 merged by jenkins-bot: [testfix] Fix wikibase error message https://gerrit.wikimedia.org/r/276104 TASK DETAIL https://phabricator.wikimedia.org/T129276 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/

[Pywikipedia-bugs] [Maniphest] [Closed] T129276: test_WbMonolingualText_invalid_text failing

2016-03-09 Thread jayvdb
jayvdb closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T129276 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, jayvdb Cc: gerritbot, siebrand, pywikibot-bugs-list, Lokal_Profil, Smalyshev, Ricordisamoa, Aklapper,