[Pywikipedia-bugs] [Maniphest] [Commented On] T148959: File regex gets stuck on a link in the caption

2016-11-09 Thread Dalba
Dalba added a comment. It seems that pyregex environment has some encoding issues. Even a single character like Ůž as a regex won't match itself.TASK DETAILhttps://phabricator.wikimedia.org/T148959EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Dalba,

[Pywikipedia-bugs] [Maniphest] [Updated] T137805: API action=login is deprecated

2016-11-09 Thread Huji
Huji added a subscriber: Anomie.Huji added a comment. @MaxBioHazard I am not sure. It was marked as "deprecated" in response to T110276 in rMW54d58ef50665 and I think @Anomie might be able to answer your question best.TASK DETAILhttps://phabricator.wikimedia.org/T137805EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T150210: Make WbQuantity handle case without errors

2016-11-09 Thread Strainu
Strainu added a comment. Great job keeping the backwards compatibility! I say submit the code with the current logic and remove the extra logic later if the code becomes unmaintainable (this will eventually happen after a few more breaking changes to wikibase).TASK

[Pywikipedia-bugs] [Maniphest] [Updated] T142155: Bot can't login. keyError in GetCookie

2016-11-09 Thread Lokal_Profil
Lokal_Profil added a comment. In T142155#2783466, @Pintoch wrote: Lokal_Profil: thanks, yes indeed that's what I did. I hope someone will be able to make a new release on PyPi soon. At the very least a new one will be needed due to T150210 to ensure we don't add incorrect data to Wikidata.

[Pywikipedia-bugs] [Maniphest] [Commented On] T150210: Make WbQuantity handle case without errors

2016-11-09 Thread Lokal_Profil
Lokal_Profil added a comment. In T150210#2783476, @gerritbot wrote: Change 320649 had a related patch set uploaded (by Lokal Profil): Make uncertainties in WbQuantity optional https://gerrit.wikimedia.org/r/320649 There is a lot of extra code in here just to ensure this is compatible with

[Pywikipedia-bugs] [Maniphest] [Commented On] T150299: Interwiki link with p.title(asLink=True)

2016-11-09 Thread JJMC89
JJMC89 added a comment. Yes, an inline interwiki link is what I would want a way to get (not sure about the OP). [[wikipedia:fr:Test]] creates a local link to Wikipedia:fr:Test (test:Wikipedia:fr:Test) since testwiki has a 'Wikipedia' namespace. The result with forceInterwiki=True depends on the

[Pywikipedia-bugs] [Maniphest] [Commented On] T150210: Make WbQuantity handle case without errors

2016-11-09 Thread gerritbot
gerritbot added a comment. Change 320649 had a related patch set uploaded (by Lokal Profil): Make uncertainties in WbQuantity optional https://gerrit.wikimedia.org/r/320649TASK DETAILhttps://phabricator.wikimedia.org/T150210EMAIL

[Pywikipedia-bugs] [Maniphest] [Block] T137805: API action=login is deprecated

2016-11-09 Thread Pintoch
Pintoch reopened subtask T142155: Bot can't login. keyError in GetCookie as "Open". TASK DETAILhttps://phabricator.wikimedia.org/T137805EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: PintochCc: MaxBioHazard, Huji, Glavkos, Vladis13, MZMcBride, DrTrigon,

[Pywikipedia-bugs] [Maniphest] [Reopened] T142155: Bot can't login. keyError in GetCookie

2016-11-09 Thread Pintoch
Pintoch reopened this task as "Open". TASK DETAILhttps://phabricator.wikimedia.org/T142155EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Legoktm, PintochCc: Pintoch, Vladis13, Gallicbot, Krinkle, MZMcBride, Jay8g, revi, Paladox, Aschroet, zhuyifei1999,

[Pywikipedia-bugs] [Maniphest] [Commented On] T142155: Bot can't login. keyError in GetCookie

2016-11-09 Thread Pintoch
Pintoch added a comment. Lokal_Profil: thanks, yes indeed that's what I did. I hope someone will be able to make a new release on PyPi soon.TASK DETAILhttps://phabricator.wikimedia.org/T142155EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Legoktm, PintochCc:

[Pywikipedia-bugs] [Maniphest] [Commented On] T150299: Interwiki link with p.title(asLink=True)

2016-11-09 Thread Mpaa
Mpaa added a comment. OK, so what you are after is actually a Inline link, right? BTW, is this still a valid interwiki link? >>> t = pywikibot.Page(pywikibot.Site('test', 'wikipedia'), 'user:Framawiki/Brouillon') >>> t.text = p.title(asLink=True, forceInterwiki=True) >>> t.text >>>

[Pywikipedia-bugs] [Maniphest] [Closed] T76944: Modify WikidataQueryPageGenerator so it can also return Wikidata items

2016-11-09 Thread matej_suchanek
matej_suchanek assigned this task to eranroz.matej_suchanek closed this task as "Resolved".matej_suchanek added a comment.Herald added a subscriber: TerraCodes. Seems to have been done in rPWBC19fac37bc193ad6d1ad1366f2d6dab5a81250172.TASK DETAILhttps://phabricator.wikimedia.org/T76944EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T142155: Bot can't login. keyError in GetCookie

2016-11-09 Thread Lokal_Profil
Lokal_Profil added a comment. If you need a temporary workaround you can install the developers branch of pywikiboy with pip install git+https://github.com/wikimedia/pywikibot-core.git the version you should have after that is 3.0-dev. The reason why I call it a temporary fix is that that is in

[Pywikipedia-bugs] [Maniphest] [Commented On] T142155: Bot can't login. keyError in GetCookie

2016-11-09 Thread Pintoch
Pintoch added a comment. Hi, I still have the error above with the latest version of pywikibot in PyPi. https://pypi.python.org/pypi/pywikibot When logging in (from wmflabs, with a bot account), I get the KeyError exception. Applying the hack above does not solve the problem, because I then get

[Pywikipedia-bugs] [Maniphest] [Commented On] T150299: Interwiki link with p.title(asLink=True)

2016-11-09 Thread JJMC89
JJMC89 added a comment. The first colon is the difference between linking to fr:Test ([[:fr:Test]]) and creating a local interlanguage link corresponding to fr:Test ([[fr:Test]]).TASK DETAILhttps://phabricator.wikimedia.org/T150299EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T150299: Interwiki link with p.title(asLink=True)

2016-11-09 Thread Mpaa
Mpaa added a comment. Why do you need the first column?TASK DETAILhttps://phabricator.wikimedia.org/T150299EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MpaaCc: Mpaa, JJMC89, Aklapper, pywikibot-bugs-list, Framawiki, MayS, Mdupont, jayvdb, Alchimista,

[Pywikipedia-bugs] [Maniphest] [Commented On] T142155: Bot can't login. keyError in GetCookie

2016-11-09 Thread Lokal_Profil
Lokal_Profil added a comment. I don't think the BotPasswords patch is part of the 2.0rc5 release (since it was released two days before that patch). I'm actually don't think it is in the 2.0 branch at all (where login.py hasn't been changed since 2015).TASK

[Pywikipedia-bugs] [Maniphest] [Commented On] T100903: Run pywikibot test suite regularly on beta cluster as part of MediaWiki/Wikimedia CI

2016-11-09 Thread Lokal_Profil
Lokal_Profil added a comment. Does this also manage to run the wikibase tests on wikidata.beta.wmflabs.org or is it limited to just the wikipedia family?TASK DETAILhttps://phabricator.wikimedia.org/T100903EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: