[Pywikipedia-bugs] [Maniphest] [Edited] T92856: Assertion failure testing namespace restriction

2015-07-01 Thread XZise
XZise edited the task description. TASK DETAIL https://phabricator.wikimedia.org/T92856 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: gerritbot, jayvdb, pywikibot-bugs-list, Aklapper, XZise, GPHemsley, Darkdadaah, Krenair, Malyacko, P.Cop

[Pywikipedia-bugs] [Maniphest] [Commented On] T104130: Family packages

2015-07-01 Thread jayvdb
jayvdb added a comment. After a bit of playing around, it seems that `pkgutil.walk_packages` cant be used to find namespace packages within a namespace package. the following returns 'wikia' and 'wikia.lyricwiki_family' ./pywikibot/__init__.py ./pywikibot/families/wikia/__init__.py ./pywi

[Pywikipedia-bugs] [Maniphest] [Commented On] T67119: Implement Flow support in Pywikibot

2015-07-01 Thread NiharikaKohli
NiharikaKohli added a comment. Hi @happy5214, I notice you haven't yet filed your evaluation in Melange. Please do so ASAP. Failing to do so will result in automatic disqualification from the program. TASK DETAIL https://phabricator.wikimedia.org/T67119 EMAIL PREFERENCES https://phabricat

[Pywikipedia-bugs] [Maniphest] [Commented On] T104130: Family packages

2015-07-01 Thread jayvdb
jayvdb added a comment. The current patch works on Py2.6+, and achieves my main objective of a) not automatically loading the overlaid subpackages or family classes, and b) the family modules are real modules in sys.modules. It also achieves a less important goal of having a single namespace f

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

2015-07-01 Thread JeroenDeDauw
JeroenDeDauw added a comment. > Gerrit is stable and under our own control, unlike GitHub/GerritHub. That is very relative. I have more control over GitHub repos I create than over any of "my" gerrit repos. Furthermore, in case of GitHub I do not have to worry about plans of migrating to some

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

2015-07-01 Thread Ricordisamoa
Ricordisamoa added a comment. In https://phabricator.wikimedia.org/T102741#1418263, @JeroenDeDauw wrote: > Human readable diffing is a presentation concern, which is not something you > want to put in value objects. I meant returning differences between value objects in a structured format tha

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

2015-07-01 Thread JeroenDeDauw
JeroenDeDauw added a comment. The Python objects I created have no such functionality, but then they are very incomplete to begin with. The PHP ones have a toArray method, so you could do a array_diff between those, though that is a rather crude approach. I suspect it is better to not have diff

[Pywikipedia-bugs] [Maniphest] [Commented On] T71283: dualism between user and sysop needs to be overtaken

2015-07-01 Thread Ricordisamoa
Ricordisamoa added a comment. By the way, I think Pywikibot should also support editing without logging in, if that's what the operator wants. TASK DETAIL https://phabricator.wikimedia.org/T71283 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Rico

[Pywikipedia-bugs] [Maniphest] [Updated] T71283: dualism between user and sysop needs to be overtaken

2015-07-01 Thread Ricordisamoa
Ricordisamoa added a blocked task: T75545: Support Portuguese wiki flag 'eliminator'. TASK DETAIL https://phabricator.wikimedia.org/T71283 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ricordisamoa Cc: Negative24, Ciencia_Al_Poder, gerritbot, XZise

[Pywikipedia-bugs] [Maniphest] [Updated] T75545: Support Portuguese wiki flag 'eliminator'

2015-07-01 Thread Ricordisamoa
Ricordisamoa added a blocking task: T71283: dualism between user and sysop needs to be overtaken. TASK DETAIL https://phabricator.wikimedia.org/T75545 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ricordisamoa Cc: Ricordisamoa, gerritbot, jayvdb, p

[Pywikipedia-bugs] [Maniphest] [Commented On] T75545: Support Portuguese wiki flag 'eliminator'

2015-07-01 Thread Ricordisamoa
Ricordisamoa added a comment. Not to be seen in compat. TASK DETAIL https://phabricator.wikimedia.org/T75545 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ricordisamoa Cc: Ricordisamoa, gerritbot, jayvdb, pywikibot-bugs-list, Danilo, Malyacko, P.

[Pywikipedia-bugs] [Maniphest] [Updated] T75545: Support Portuguese wiki flag 'eliminator'

2015-07-01 Thread Ricordisamoa
Ricordisamoa removed a project: Pywikibot-General. Ricordisamoa set Security to None. TASK DETAIL https://phabricator.wikimedia.org/T75545 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ricordisamoa Cc: Ricordisamoa, gerritbot, jayvdb, pywikibot-bugs

[Pywikipedia-bugs] [Maniphest] [Commented On] T71283: dualism between user and sysop needs to be overtaken

2015-07-01 Thread XZise
XZise added a comment. There is a comment in @jayvdb's patch which talks about how to support that. Unfortunately it's got a bit stale because of the introduction of requests afaik. TASK DETAIL https://phabricator.wikimedia.

[Pywikipedia-bugs] [Maniphest] [Commented On] T100123: API code 'readonly' not handled

2015-07-01 Thread Multichill
Multichill added a subscriber: Multichill. Multichill added a comment. I ran into this twice tonight while running on Wikidata: 2015-07-01 22:32:31 api.py, 1649 in submit: VERBOSE Pausing due to database lag: Waiting for 10.64.16.15: 6 seconds lagged 2015-07-01 22:32

[Pywikipedia-bugs] [Maniphest] [Triaged] T100123: API code 'readonly' not handled

2015-07-01 Thread jayvdb
jayvdb triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T100123 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: Multichill, pywikibot-bugs-list, jayvdb, Aklapper, Malyacko, P.Copp __

[Pywikipedia-bugs] [Maniphest] [Updated] T100123: API code 'readonly' not handled

2015-07-01 Thread jayvdb
jayvdb added a project: Pywikibot-network. TASK DETAIL https://phabricator.wikimedia.org/T100123 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: Multichill, pywikibot-bugs-list, jayvdb, Aklapper, Malyacko, P.Copp

[Pywikipedia-bugs] [Maniphest] [Updated] T100123: API code 'readonly' not handled

2015-07-01 Thread jayvdb
jayvdb added a project: Wikidata. jayvdb added a comment. Only seen on https://phabricator.wikimedia.org/tag/wikidata/ so far. It looks like the api provides no information about how long the bot should wait. is there some other way to determine how long to wait? TASK DETAIL https://phabric

[Pywikipedia-bugs] [Maniphest] [Created] T104522: Wikibase API warning of unknown format

2015-07-01 Thread jayvdb
jayvdb created this task. jayvdb added a subscriber: jayvdb. jayvdb added projects: Pywikibot-tests, Pywikibot-network, Pywikibot-Wikidata, Wikidata, pywikibot-core. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION ``` $ PYWIKIBOT2_TEST_WRITE=1 python2.7 -m unittest -

[Pywikipedia-bugs] [Maniphest] [Updated] T73980: Implement a method to create a ItemPage redirect

2015-07-01 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T73980 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: gerritbot, Ricordisamoa, pywikibot-bugs-list, Multichill, jayvdb, Malyacko, P.Copp

[Pywikipedia-bugs] [Maniphest] [Commented On] T73980: Implement a method to create a ItemPage redirect

2015-07-01 Thread gerritbot
gerritbot added a subscriber: gerritbot. gerritbot added a comment. Change 20 had a related patch set uploaded (by John Vandenberg): Implement create option for ItemPage's set_redirect_target() https://gerrit.wikimedia.org/r/20 TASK DETAIL https://phabricator.wikimedia.org/T73980 EMA

[Pywikipedia-bugs] [Maniphest] [Updated] T73980: Implement a method to create a ItemPage redirect

2015-07-01 Thread jayvdb
jayvdb added a commit: rPWBCc8df4ec80235: set_redirect_target method for ItemPage objects. TASK DETAIL https://phabricator.wikimedia.org/T73980 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: gerritbot, Ricordisamoa, pywikibot-bugs-list, M

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T73980: Implement a method to create a ItemPage redirect

2015-07-01 Thread jayvdb
jayvdb added subscribers: jayvdb, daniel, JeroenDeDauw. jayvdb added a comment. So, we already have support for changing an existing item into a redirect. However, is is possible to create a new item that is a redirect? i.e. is from optional? https://test.wikidata.org/w/api.php?action=help&modu

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T104522: Wikibase API warning of unknown format

2015-07-01 Thread Ricordisamoa
Ricordisamoa added a subscriber: Ricordisamoa. TASK DETAIL https://phabricator.wikimedia.org/T104522 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ricordisamoa Cc: Ricordisamoa, Aklapper, jayvdb, pywikibot-bugs-list, Wikidata-bugs, aude, Malyacko,

[Pywikipedia-bugs] [Maniphest] [Retitled] T73980: Implement a method to create an ItemPage redirect

2015-07-01 Thread Ladsgroup
Ladsgroup changed the title from "Implement a method to create a ItemPage redirect" to "Implement a method to create an ItemPage redirect". TASK DETAIL https://phabricator.wikimedia.org/T73980 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ladsgroup

[Pywikipedia-bugs] [Maniphest] [Commented On] T73980: Implement a method to create an ItemPage redirect

2015-07-01 Thread Ladsgroup
Ladsgroup added a subscriber: Ladsgroup. Ladsgroup added a comment. I4bd8c7615f3306c0a1b1a13fea4a8cb940b3c564 clarifies this in Wikibase TASK DETAIL https://phabricator.wikimedia.org/T73980 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ladsgroup C

[Pywikipedia-bugs] [Maniphest] [Commented On] T73980: Implement a method to create an ItemPage redirect

2015-07-01 Thread jayvdb
jayvdb added a comment. In https://phabricator.wikimedia.org/T73980#1419557, @Ladsgroup wrote: > I4bd8c7615f3306c0a1b1a13fea4a8cb940b3c564 clarifies this in Wikibase So that is https://gerrit.wikimedia.org/r/#/c/26/ . Good to clarify the current situation. It would also be good to know i

[Pywikipedia-bugs] [Maniphest] [Commented On] T73980: Implement a method to create an ItemPage redirect

2015-07-01 Thread Ricordisamoa
Ricordisamoa added a comment. In https://phabricator.wikimedia.org/T73980#1419638, @jayvdb wrote: > It would also be good to know if their is a reason why creating new items as > a redirect shouldnt be allowed. I can think of bots creating 'readable' redirects for 'important' items... `Q67890

[Pywikipedia-bugs] [Maniphest] [Commented On] T78668: occasional failures in TestUserContribs

2015-07-01 Thread jayvdb
jayvdb added a comment. user_prefix_reverse and invalid_range : https://travis-ci.org/jayvdb/pywikibot-core/builds/69231657 TASK DETAIL https://phabricator.wikimedia.org/T78668 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: gerritbot, j

[Pywikipedia-bugs] [Maniphest] [Updated] T103470: Many Battlestar wikis are broken

2015-07-01 Thread jayvdb
jayvdb added a comment. They also have a central media repository, so https://phabricator.wikimedia.org/T74847 also applies. http://media.battlestarwiki.org/wiki/Main_Page TASK DETAIL https://phabricator.wikimedia.org/T103470 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/pan