[Pywikipedia-bugs] [Maniphest] [Updated] T101800: wikibase test errors

2017-10-21 Thread matej_suchanek
matej_suchanek added a parent task: T152961: Improve tests suite. TASK DETAILhttps://phabricator.wikimedia.org/T101800EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: TerraCodes, pywikibot-bugs-list, Aklapper, jayvdb, Luke081515

[Pywikipedia-bugs] [Maniphest] [Updated] T152961: Improve tests suite

2017-10-21 Thread matej_suchanek
matej_suchanek added a subtask: T101800: wikibase test errors. TASK DETAILhttps://phabricator.wikimedia.org/T152961EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Aklapper, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89

[Pywikipedia-bugs] [Maniphest] [Updated] T101800: wikibase test errors

2017-10-21 Thread matej_suchanek
matej_suchanek added a project: TestMe.Herald added a subscriber: TerraCodes. TASK DETAILhttps://phabricator.wikimedia.org/T101800EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: TerraCodes, pywikibot-bugs-list, Aklapper, jayvdb, Luke081515

[Pywikipedia-bugs] [Maniphest] [Unassigned] T168575: interwikidata.py works weird

2017-10-21 Thread matej_suchanek
matej_suchanek added a project: TestMe.matej_suchanek removed matej_suchanek as the assignee of this task.Herald added a subscriber: TerraCodes. TASK DETAILhttps://phabricator.wikimedia.org/T168575EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To

[Pywikipedia-bugs] [Maniphest] [Closed] T72702: claimit and harvest_template - add another value for one property

2017-10-21 Thread matej_suchanek
matej_suchanek closed this task as "Resolved".matej_suchanek removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T72702EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, JAnD, jayvdb, pywikibot

[Pywikipedia-bugs] [Maniphest] [Unblock] T87689: Harvest lists of items from a single infobox field

2017-10-21 Thread matej_suchanek
matej_suchanek closed subtask T72702: claimit and harvest_template - add another value for one property as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T87689EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerr

[Pywikipedia-bugs] [Maniphest] [Merged] T137842: Generators -onlyif / -onlyifnot should be able to filter pages (not only items)

2017-10-21 Thread matej_suchanek
matej_suchanek added subscribers: Multichill, TerraCodes.matej_suchanek merged a task: T93017: Add skip option to claimit.py. TASK DETAILhttps://phabricator.wikimedia.org/T137842EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: TerraCodes

[Pywikipedia-bugs] [Maniphest] [Updated] T93017: Add skip option to claimit.py

2017-10-21 Thread matej_suchanek
matej_suchanek closed this task as a duplicate of T137842: Generators -onlyif / -onlyifnot should be able to filter pages (not only items). TASK DETAILhttps://phabricator.wikimedia.org/T93017EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc

[Pywikipedia-bugs] [Maniphest] [Updated] T177166: harvest_template.py drops arguments

2017-10-01 Thread matej_suchanek
matej_suchanek added a project: Pywikibot-Wikidata. TASK DETAILhttps://phabricator.wikimedia.org/T177166EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, Aklapper, pywikibot-bugs-list, Danmichaelo, Lordiis, Adik2382, Th3d3v1ls

[Pywikipedia-bugs] [Maniphest] [Changed Status] T177121: interwikidata.py could not create new item

2017-09-30 Thread matej_suchanek
matej_suchanek edited projects, added Pywikibot-core, Pywikibot-Wikidata; removed Pywikibot-Announce.matej_suchanek changed the task status from "Open" to "Stalled".matej_suchanek added a comment.Herald added a subscriber: pywikibot-bugs-list. False means the item should not be

[Pywikipedia-bugs] [Maniphest] [Updated] T119226: Very small (or very large) quantity values (represented in scientific notation) result in error in add/update via pywikibot/wikidata API

2017-09-19 Thread matej_suchanek
matej_suchanek added a parent task: T56318: Quantity datatype (tracking). TASK DETAILhttps://phabricator.wikimedia.org/T119226EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: thiemowmde, Tobias1984, Aklapper, StudiesWorld, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Claimed] T76615: Claim equality operator

2017-09-19 Thread matej_suchanek
matej_suchanek claimed this task.matej_suchanek added a project: Pywikibot-core.matej_suchanek triaged this task as "Low" priority. TASK DETAILhttps://phabricator.wikimedia.org/T76615EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc:

[Pywikipedia-bugs] [Maniphest] [Closed] T85356: WikidataBot class does not support test.wikidata.org

2017-09-19 Thread matej_suchanek
matej_suchanek claimed this task.matej_suchanek closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T85356EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: murfel, jayvdb, Aklapper, pywikibot-bugs-lis

[Pywikipedia-bugs] [Maniphest] [Closed] T76391: Only load item in harvest_template.py when needed

2017-09-17 Thread matej_suchanek
matej_suchanek closed this task as "Resolved".matej_suchanek removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T76391EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, PokestarFan, mate

[Pywikipedia-bugs] [Maniphest] [Claimed] T175486: wikibase_tests.TestItemLoad is failing

2017-09-10 Thread matej_suchanek
matej_suchanek claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T175486EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: matej_suchanek, Xqt, Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, MayS, Mdupont, JJMC89

[Pywikipedia-bugs] [Maniphest] [Commented On] T175399: text-contains exception does not respect regex option from fix but listens to command line

2017-09-09 Thread matej_suchanek
matej_suchanek added a comment. In T175399#3592968, @Mpaa wrote: Replacement management in replace.py gives me a headache. Me too after your clarification. But I believe we can handle that. There is just a few scenarios: (pwb.py replace only run with...) -manualinput with one or more pairs a

[Pywikipedia-bugs] [Maniphest] [Created] T175399: text-contains exception does not respect regex option from fix but listens to command line

2017-09-08 Thread matej_suchanek
matej_suchanek created this task.matej_suchanek added projects: Pywikibot-core, Pywikibot-replace.py.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONibox = 'Infobox - whatever' fixes['add-infobox'] = { 'regex': True, 'ex

[Pywikipedia-bugs] [Maniphest] [Claimed] T175151: pagegenerators_test.TestFactoryGeneratorWikibase is failing

2017-09-06 Thread matej_suchanek
matej_suchanek claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T175151EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, Xqt, matej_suchanek, Aklapper, pywikibot-bugs-list, Dalba, Lordiis, Adik2382, Th3d3v1ls

[Pywikipedia-bugs] [Maniphest] [Updated] T175151: pagegenerators_test.TestFactoryGeneratorWikibase is failing

2017-09-06 Thread matej_suchanek
matej_suchanek added a comment. I think the problem is that objects returned from -page:Q12345 (or most other generators) are Pages, not ItemPages. PreloadingItemGenerator could handle that but I had to remove it because it only works with ItemPages (which blocked the patch). In long-term

[Pywikipedia-bugs] [Maniphest] [Updated] T93017: Add skip option to claimit.py

2017-09-05 Thread matej_suchanek
matej_suchanek added a project: TestMe.matej_suchanek added a comment.Herald added a subscriber: TerraCodes. T137842: Generators -onlyif / -onlyifnot should be able to filter pages (not only items)?TASK DETAILhttps://phabricator.wikimedia.org/T93017EMAIL PREFERENCEShttps

[Pywikipedia-bugs] [Maniphest] [Closed] T170991: Add new options to harvest_template.py: create and skip

2017-09-05 Thread matej_suchanek
matej_suchanek closed this task as "Resolved".matej_suchanek removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T170991EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: matej_suchanek, gerritbot, Akl

[Pywikipedia-bugs] [Maniphest] [Unblock] T73713: coordinate_import.py should not add coordinates to items about people

2017-09-05 Thread matej_suchanek
matej_suchanek closed subtask T137842: Generators -onlyif / -onlyifnot should be able to filter pages (not only items) as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T73713EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchan

[Pywikipedia-bugs] [Maniphest] [Closed] T137842: Generators -onlyif / -onlyifnot should be able to filter pages (not only items)

2017-09-05 Thread matej_suchanek
matej_suchanek closed this task as "Resolved".matej_suchanek removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T137842EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, matej_suchanek, Aklap

[Pywikipedia-bugs] [Maniphest] [Unblock] T160395: Make Wikibase entity related code more flexible (tracking)

2017-09-05 Thread matej_suchanek
matej_suchanek closed subtask T160396: ItemClaimFilter only assumes ItemPage as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T160395EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Liuxinyu970226, Aklapper, pywikibot

[Pywikipedia-bugs] [Maniphest] [Closed] T160396: ItemClaimFilter only assumes ItemPage

2017-09-05 Thread matej_suchanek
matej_suchanek closed this task as "Resolved".matej_suchanek removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T160396EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, Multichill, pywikibot

[Pywikipedia-bugs] [Maniphest] [Updated] T174994: newitem.py should autoclaim some items

2017-09-05 Thread matej_suchanek
matej_suchanek added a comment. What about adding creating items to claimit.py (like T174752 or T170991)?TASK DETAILhttps://phabricator.wikimedia.org/T174994EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: matej_suchanek, Aklapper, JAnD

[Pywikipedia-bugs] [Maniphest] [Closed] T131619: add __repr__ to Claim in pywikibot

2017-09-03 Thread matej_suchanek
matej_suchanek edited subscribers, added: matej_suchanek; removed: gerritbot.matej_suchanek assigned this task to Dalba.matej_suchanek closed this task as "Resolved".matej_suchanek added a comment. https://gerrit.wikimedia.org/r/#/c/375621/TASK DETAILhttps://phabricator.wikimedia.org/T1

[Pywikipedia-bugs] [Maniphest] [Commented On] T174101: Duplicate output "Page saved when there is no changes"

2017-09-01 Thread matej_suchanek
matej_suchanek added a comment. This only happens in -verbose mode.TASK DETAILhttps://phabricator.wikimedia.org/T174101EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: matej_suchanek, Aklapper, pywikibot-bugs-list, Framawiki, Magul, Tbscho

[Pywikipedia-bugs] [Maniphest] [Claimed] T174752: Allow creating new Wikidata items in coordinate_import.py

2017-09-01 Thread matej_suchanek
matej_suchanek claimed this task.matej_suchanek added a project: Pywikibot-core. TASK DETAILhttps://phabricator.wikimedia.org/T174752EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, Jayprakash12345, Aklapper, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Updated] T174785: harvest_template.py uses clear() method available only in Python 3.3

2017-09-01 Thread matej_suchanek
matej_suchanek edited projects, added Pywikibot-Wikidata; removed Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T174785EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Dalba, matej_suchanekCc: pywikibot-bugs-list, gerritbot, Aklapper, Masti

[Pywikipedia-bugs] [Maniphest] [Closed] T174817: replace.py: Unable to load mesage package scripts

2017-09-01 Thread matej_suchanek
matej_suchanek closed this task as "Invalid".matej_suchanek added a comment. It can happen due to lack of i18n submodule or files. Read https://www.mediawiki.org/wiki/Manual:Pywikibot/i18nTASK DETAILhttps://phabricator.wikimedia.org/T174817EMAIL PREFERENCEShttps://phabricator.wik

[Pywikipedia-bugs] [Maniphest] [Unblock] T174288: Running bot on serbian wikipedia

2017-09-01 Thread matej_suchanek
matej_suchanek closed subtask T174817: replace.py: Unable to load mesage package scripts as "Invalid". TASK DETAILhttps://phabricator.wikimedia.org/T174288EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Dalba, Aklapper, Z

[Pywikipedia-bugs] [Maniphest] [Commented On] T147178: Edit counter gives wrong result in replace.py

2017-08-31 Thread matej_suchanek
matej_suchanek added a comment. In T147178#3567967, @matej_suchanek wrote: The funniest fact at the end: this script has sync/async saving swapped, compared to other standard bots. In other words, with -always ([a]) it saves synchronously, in manual mode ([y]) asynchronously. @matej_suchanek

[Pywikipedia-bugs] [Maniphest] [Updated] T147178: replace.py gives a wrong edit result

2017-08-30 Thread matej_suchanek
matej_suchanek added a comment. (a)sync_callback is executed after a response from the wiki is received. When the last page from the generator is being treated, an asynchronous save action will launch a second thread, which handles the response. However, the main thread continues running and

[Pywikipedia-bugs] [Maniphest] [Merged] T147178: replace.py gives a wrong edit result

2017-08-30 Thread matej_suchanek
matej_suchanek added a subscriber: Framawiki.matej_suchanek merged a task: T174516: replace.py: Bad "pages changed" count.Herald added a subscriber: jeblad. TASK DETAILhttps://phabricator.wikimedia.org/T147178EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpref

[Pywikipedia-bugs] [Maniphest] [Updated] T174516: replace.py: Bad "pages changed" count

2017-08-30 Thread matej_suchanek
matej_suchanek closed this task as a duplicate of T147178: replace.py gives a wrong edit result. TASK DETAILhttps://phabricator.wikimedia.org/T174516EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Aklapper, pywikibot-bugs-list, Framawiki

[Pywikipedia-bugs] [Maniphest] [Commented On] T173645: replace.py should not crash when it does a replacement in Module: and get rejected by API for changing content model

2017-08-20 Thread matej_suchanek
matej_suchanek added a comment. First of all, the bot should not attempt to change the content model.TASK DETAILhttps://phabricator.wikimedia.org/T173645EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: matej_suchanek, Aklapper, Zoranzoki21

[Pywikipedia-bugs] [Maniphest] [Updated] T173238: Harvest_template should be able to add reciprocal claims

2017-08-13 Thread matej_suchanek
matej_suchanek added a project: Pywikibot-Wikidata. TASK DETAILhttps://phabricator.wikimedia.org/T173238EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Ejegg, matej_suchanekCc: gerritbot, Aklapper, pywikibot-bugs-list, Ejegg, Lordiis, Adik2382, Th3d3v1ls

[Pywikipedia-bugs] [Maniphest] [Claimed] T76391: Only load item in harvest_template.py when needed

2017-08-12 Thread matej_suchanek
matej_suchanek claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T76391EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, PokestarFan, matej_suchanek, Aklapper, jayvdb, pywikibot-bugs-list, Multichill, Pywikibugs

[Pywikipedia-bugs] [Maniphest] [Claimed] T72702: claimit and harvest_template - add another value for one property

2017-08-08 Thread matej_suchanek
matej_suchanek claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T72702EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, JAnD, jayvdb, pywikibot-bugs-list, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho

[Pywikipedia-bugs] [Maniphest] [Unblock] T75398: claimit.py : add a list of Q to a property

2017-08-08 Thread matej_suchanek
matej_suchanek closed subtask T69284: claimit.py should add another value but not duplicate as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T75398EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: XXN, matej_suchanek,

[Pywikipedia-bugs] [Maniphest] [Closed] T69284: claimit.py should add another value but not duplicate

2017-08-08 Thread matej_suchanek
matej_suchanek closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T69284EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: PokestarFan, TerraCodes, matej_suchanek, gerritbot, JAnD, Legoktm, jayvdb, pywikibot

[Pywikipedia-bugs] [Maniphest] [Unblock] T72702: claimit and harvest_template - add another value for one property

2017-08-08 Thread matej_suchanek
matej_suchanek closed subtask T69284: claimit.py should add another value but not duplicate as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T72702EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, JAnD, jayvdb,

[Pywikipedia-bugs] [Maniphest] [Claimed] T69284: claimit.py should add another value but not duplicate

2017-08-08 Thread matej_suchanek
matej_suchanek claimed this task.matej_suchanek removed a project: TestMe.Herald added a subscriber: PokestarFan. TASK DETAILhttps://phabricator.wikimedia.org/T69284EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: PokestarFan, TerraCodes

[Pywikipedia-bugs] [Maniphest] [Updated] T72702: claimit and harvest_template - add another value for one property

2017-08-08 Thread matej_suchanek
matej_suchanek added a parent task: T87689: Harvest lists of items from a single infobox field. TASK DETAILhttps://phabricator.wikimedia.org/T72702EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, JAnD, jayvdb, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Updated] T87689: Harvest lists of items from a single infobox field

2017-08-08 Thread matej_suchanek
matej_suchanek added a subtask: T72702: claimit and harvest_template - add another value for one property. TASK DETAILhttps://phabricator.wikimedia.org/T87689EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, XXN, matej_suchanek

[Pywikipedia-bugs] [Maniphest] [Updated] T87689: Harvest lists of items from a single infobox field

2017-08-08 Thread matej_suchanek
matej_suchanek removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T87689EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, XXN, matej_suchanek, pywikibot-bugs-list, Aklapper, Ejegg, Magul, Tbscho, MayS

[Pywikipedia-bugs] [Maniphest] [Closed] T64014: Add support for item without link to harvest_template

2017-08-08 Thread matej_suchanek
matej_suchanek closed this task as "Resolved".matej_suchanek removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T64014EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, XXN, matej_suchanek,

[Pywikipedia-bugs] [Maniphest] [Updated] T72702: claimit and harvest_template - add another value for one property

2017-08-08 Thread matej_suchanek
matej_suchanek removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T72702EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, JAnD, jayvdb, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89

[Pywikipedia-bugs] [Maniphest] [Edited] T67262: ns parameter of Page object and/or defaultnamespace of Link object should force the namespace

2017-07-29 Thread matej_suchanek
matej_suchanek updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION...Especially for categories but also for other namespaces it is possible to name pages which looks like a Namespace e.g. "Kategory:Wikipedia:Hilfe". ```lang=python site = pywikibot.Site()...pywikibo

[Pywikipedia-bugs] [Maniphest] [Updated] T171915: Category, Wikipedia namespace, and unicode

2017-07-29 Thread matej_suchanek
matej_suchanek added a comment. Looks like T67262: ns parameter of Page object and/or defaultnamespace of Link object should force the namespace to me.TASK DETAILhttps://phabricator.wikimedia.org/T171915EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To

[Pywikipedia-bugs] [Maniphest] [Updated] T100264: Cosmetic changes: sort template parameters

2017-07-27 Thread matej_suchanek
matej_suchanek added a project: Pywikibot-cosmetic-changes.py. TASK DETAILhttps://phabricator.wikimedia.org/T100264EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Xqt, JAnD, Danny_B, pywikibot-bugs-list, valhallasw, Aklapper, Magul, Tbscho

[Pywikipedia-bugs] [Maniphest] [Commented On] T171713: Make KeyboardInterrupt errors unified and disable traceback in scripts

2017-07-26 Thread matej_suchanek
matej_suchanek added a comment. In other words, make all scripts inherit from BaseBot class...TASK DETAILhttps://phabricator.wikimedia.org/T171713EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: matej_suchanek, Aklapper, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Commented On] T76615: Claim equality operator

2017-07-24 Thread matej_suchanek
matej_suchanek added a comment. A Statement consists of two parts: a claim that something is the case (e.g., the claim "Berlin has a population of 3,499,879") and a list of references for that claim (e.g., a publication by the statistical office for Berlin-Brandenburg).[1]

[Pywikipedia-bugs] [Maniphest] [Claimed] T160396: ItemClaimFilter only assumes ItemPage

2017-07-19 Thread matej_suchanek
matej_suchanek claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T160396EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, Multichill, pywikibot-bugs-list, Aklapper, matej_suchanek, Lordiis, Adik2382, Th3d3v1ls

[Pywikipedia-bugs] [Maniphest] [Claimed] T137842: Generators -onlyif / -onlyifnot should be able to filter pages (not only items)

2017-07-19 Thread matej_suchanek
matej_suchanek claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T137842EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, matej_suchanek, Aklapper, Zppix, pywikibot-bugs-list, JAnD, Lordiis, Adik2382, Th3d3v1ls

[Pywikipedia-bugs] [Maniphest] [Claimed] T170991: Add new options to harvest_template.py: create and skip

2017-07-19 Thread matej_suchanek
matej_suchanek claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T170991EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: matej_suchanek, gerritbot, Aklapper, XXN, pywikibot-bugs-list, Lordiis, Adik2382, Th3d3v1ls, Ramalepe

[Pywikipedia-bugs] [Maniphest] [Updated] T170991: Add new options to harvest_template.py: create and skip

2017-07-19 Thread matej_suchanek
matej_suchanek added a comment. harvest_template.py should have an option to create an item for the processed page if there does not exist one. See the patch (it needs to have two other major changes merged). Also, harvest_template.py should have an option to skip (to not edit) some item if it

[Pywikipedia-bugs] [Maniphest] [Updated] T170987: claimit.py and harvest_template.py should not use project fallback

2017-07-19 Thread matej_suchanek
matej_suchanek added projects: Pywikibot-core, TestMe.matej_suchanek added a comment.Herald added a subscriber: TerraCodes. >>> import pywikibot >>> from pywikibot.bot import WikidataBot >>> bot = WikidataBot() >>> bot.cacheSources() >>> bool(b

[Pywikipedia-bugs] [Maniphest] [Updated] T104864: [breaking change] Page.namespace() gives inconsistent result

2017-07-18 Thread matej_suchanek
matej_suchanek added a project: TestMe.Herald added a subscriber: TerraCodes. TASK DETAILhttps://phabricator.wikimedia.org/T104864EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mpaa, matej_suchanekCc: TerraCodes, Mpaa, Sn1per, gerritbot, XZise, jayvdb

[Pywikipedia-bugs] [Maniphest] [Updated] T132772: Doubled message in interwikidata.py

2017-07-18 Thread matej_suchanek
matej_suchanek added projects: TestMe, Pywikibot-Wikidata.matej_suchanek added a comment.Herald added a subscriber: TerraCodes. I think there must have been a problem in the generator...TASK DETAILhttps://phabricator.wikimedia.org/T132772EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings

[Pywikipedia-bugs] [Maniphest] [Updated] T134499: interwikidata edit should be user confirmed for wikidata edits

2017-07-18 Thread matej_suchanek
matej_suchanek edited projects, added Pywikibot-Wikidata; removed Pywikibot-interwiki.py. TASK DETAILhttps://phabricator.wikimedia.org/T134499EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Aklapper, Ladsgroup, Zppix, Xqt, pywikibot-bugs

[Pywikipedia-bugs] [Maniphest] [Updated] T63024: cosmetic changes must not remove useless spaces inside templates

2017-07-18 Thread matej_suchanek
matej_suchanek added a project: TestMe.matej_suchanek updated the task description. (Show Details)Herald added a subscriber: TerraCodes. CHANGES TO TASK DESCRIPTIONsee https://de.wikipedia.org/wiki/Benutzer_Diskussion:Xqt#.C3.84nderungen_in_Uran -- **Version**: compat-(1.0

[Pywikipedia-bugs] [Maniphest] [Updated] T140608: cosmetic change removeUselessSpaces removes desirable spaces on de.wp

2017-07-18 Thread matej_suchanek
matej_suchanek added projects: Pywikibot-cosmetic-changes.py, TestMe.Herald added a subscriber: TerraCodes. TASK DETAILhttps://phabricator.wikimedia.org/T140608EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, matej_suchanekCc: TerraCodes, gerritbot

[Pywikipedia-bugs] [Maniphest] [Updated] T142352: pywikibot: Cosmetic_changes.py for some pages processing time goes to infinite

2017-07-18 Thread matej_suchanek
matej_suchanek added projects: TestMe, Pywikibot-cosmetic-changes.py.Herald added a subscriber: TerraCodes. TASK DETAILhttps://phabricator.wikimedia.org/T142352EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: TerraCodes, Ladsgroup, Xqt

[Pywikipedia-bugs] [Maniphest] [Unblock] T57889: Improve support for asynchronous requests (saving/preloading pages)

2017-07-16 Thread matej_suchanek
matej_suchanek closed subtask T57220: put_async should support all put parameters as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T57889EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: APerson, jayvdb, valhallasw, Ri

[Pywikipedia-bugs] [Maniphest] [Closed] T57220: put_async should support all put parameters

2017-07-16 Thread matej_suchanek
matej_suchanek closed this task as "Resolved".matej_suchanek updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION...Reported by: @valhallasw...TASK DETAILhttps://phabricator.wikimedia.org/T57220EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailp

[Pywikipedia-bugs] [Maniphest] [Commented On] T117395: interwikidata.py - allowed namespaces

2017-07-15 Thread matej_suchanek
matej_suchanek added a comment. Somewhere deep in wiki configuration :(TASK DETAILhttps://phabricator.wikimedia.org/T117395EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: matej_suchanek, Xqt, pywikibot-bugs-list, Aklapper, JAnD, Magul

[Pywikipedia-bugs] [Maniphest] [Updated] T168575: interwikidata.py works weird

2017-07-13 Thread matej_suchanek
matej_suchanek removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T168575EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Xqt, gerritbot, Aklapper, JAnD, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89

[Pywikipedia-bugs] [Maniphest] [Updated] T153515: Unrecognized value for parameter "meta": wikibase.

2017-07-12 Thread matej_suchanek
matej_suchanek added a project: TestMe.matej_suchanek added a comment.Herald added a subscriber: TerraCodes. Should be fixed after T156596 (perhaps the tasks should be merged).TASK DETAILhttps://phabricator.wikimedia.org/T153515EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Edited] T72702: claimit and harvest_template - add another value for one property

2017-07-11 Thread matej_suchanek
matej_suchanek updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION...-- if another --- add another value `(claimit -pagegenerator P31 Q123) ` Additionally these script should be able to replace one value with another `(P123: Q123 -> Q456)` `(claimit -pagegenerator P31 Q

[Pywikipedia-bugs] [Maniphest] [Commented On] T76391: Only load item in harvest_template.py when needed

2017-07-11 Thread matej_suchanek
matej_suchanek added a comment. In T76391#800221, @jayvdb wrote: page.get() is probably more expensive than item.get() The bot now uses preloading generator, so page.get() is not expensive at all and even not necessary.TASK DETAILhttps://phabricator.wikimedia.org/T76391EMAIL PREFERENCEShttps

[Pywikipedia-bugs] [Maniphest] [Changed Status] T154313: Add support for importing labels of existing claims in harvest_template.py

2017-07-11 Thread matej_suchanek
matej_suchanek removed a project: Patch-For-Review.matej_suchanek changed the task status from "Open" to "Stalled". TASK DETAILhttps://phabricator.wikimedia.org/T154313EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerri

[Pywikipedia-bugs] [Maniphest] [Reopened] T64014: Add support for item without link to harvest_template

2017-07-11 Thread matej_suchanek
matej_suchanek claimed this task.matej_suchanek reopened this task as "Open".matej_suchanek removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T64014EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc:

[Pywikipedia-bugs] [Maniphest] [Updated] T170090: RFC: Add pywikibot-core to all new pywikibot-script/module/class tasks automatically

2017-07-10 Thread matej_suchanek
matej_suchanek added a project: Phabricator.matej_suchanek moved this task from Backlog to Upstream issues on the Pywikibot-core board. TASK DETAILhttps://phabricator.wikimedia.org/T170090WORKBOARDhttps://phabricator.wikimedia.org/project/board/87/EMAIL PREFERENCEShttps://phabricator.wikimedia.org

[Pywikipedia-bugs] [Maniphest] [Commented On] T170090: RFC: Add pywikibot-core to all new pywikibot-script/module/class tasks automatically

2017-07-10 Thread matej_suchanek
matej_suchanek added a comment. I believe Phabricator also allows some kind of sub-project management, as well as "umbrella" projects. Just another possibility to explore.TASK DETAILhttps://phabricator.wikimedia.org/T170090EMAIL PREFERENCEShttps://phabricator.wikimedia.org/sett

[Pywikipedia-bugs] [Maniphest] [Updated] T146255: interwikidata.py should merge items

2017-07-10 Thread matej_suchanek
matej_suchanek added a parent task: T168575: interwikidata.py works weird. TASK DETAILhttps://phabricator.wikimedia.org/T146255EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, XXN, Aklapper, JAnD, pywikibot-bugs-list, Lordiis

[Pywikipedia-bugs] [Maniphest] [Updated] T168575: interwikidata.py works weird

2017-07-10 Thread matej_suchanek
matej_suchanek added a subtask: T146255: interwikidata.py should merge items. TASK DETAILhttps://phabricator.wikimedia.org/T168575EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Xqt, gerritbot, Aklapper, JAnD, pywikibot-bugs-list, Lordiis

[Pywikipedia-bugs] [Maniphest] [Claimed] T146255: interwikidata.py should merge items

2017-07-10 Thread matej_suchanek
matej_suchanek claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T146255EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, XXN, Aklapper, JAnD, pywikibot-bugs-list, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul

[Pywikipedia-bugs] [Maniphest] [Commented On] T168575: interwikidata.py works weird

2017-07-10 Thread matej_suchanek
matej_suchanek added a comment. UserWarning: Unknown wbeditentity parameter new ignored is strange...TASK DETAILhttps://phabricator.wikimedia.org/T168575EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Xqt, gerritbot, Aklapper, JAnD

[Pywikipedia-bugs] [Maniphest] [Edited] T64014: Add support for item without link to harvest_template

2017-07-09 Thread matej_suchanek
matej_suchanek updated the task description. (Show Details) CHANGES TO TASK DESCRIPTIONIt would be verey usefull if harvest_template canould add properties type item also in case, when they are not formatted like [[foo]]...example of command: harvest_template -template:"Infobox" state P1

[Pywikipedia-bugs] [Maniphest] [Commented On] T64014: Add support for item without link to harvest_template

2017-07-09 Thread matej_suchanek
matej_suchanek added a comment. https://gerrit.wikimedia.org/r/364117 Uploaded a refactored version of T64014#2121595. I think Pasleim's harvest_template analogue already has such a feature enabled. Yes, it does. Unlike PWB, HarvestTemplates allows only a single parameter to be parsed. If

[Pywikipedia-bugs] [Maniphest] [Claimed] T168575: interwikidata.py works weird

2017-06-29 Thread matej_suchanek
matej_suchanek claimed this task.matej_suchanek removed a project: Pywikibot-interwiki.py. TASK DETAILhttps://phabricator.wikimedia.org/T168575EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Xqt, gerritbot, Aklapper, JAnD, pywikibot-bugs

[Pywikipedia-bugs] [Maniphest] [Updated] T127745: cosmetic_changes - incorrect fixing of category links

2017-06-28 Thread matej_suchanek
matej_suchanek removed projects: Patch-For-Review, Pywikibot-Other-scripts. TASK DETAILhttps://phabricator.wikimedia.org/T127745EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Dvorapa, matej_suchanekCc: gerritbot, Dvorapa, Aklapper, StudiesWorld, pywikibot

[Pywikipedia-bugs] [Maniphest] [Updated] T146255: interwikidata.py should merge items

2017-06-27 Thread matej_suchanek
matej_suchanek edited projects, added Pywikibot-Wikidata; removed Wikidata, Pywikibot-interwiki.py. TASK DETAILhttps://phabricator.wikimedia.org/T146255EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Aklapper, JAnD, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Updated] T119791: Add "level=n" option to the template for specifying the heading level of the sections to be archived

2017-06-20 Thread matej_suchanek
matej_suchanek removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T119791EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: murfel, matej_suchanekCc: MarcoAurelio, murfel, whym, Mpaa, gerritbot, jayvdb, zhuyifei1999, Aklapper

[Pywikipedia-bugs] [Maniphest] [Unassigned] T87493: Implement user_edit_entity in all wikibase scripts

2017-06-19 Thread matej_suchanek
matej_suchanek removed matej_suchanek as the assignee of this task. TASK DETAILhttps://phabricator.wikimedia.org/T87493EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: matej_suchanek, Liuxinyu970226, gerritbot, pywikibot-bugs-list, jayvdb

[Pywikipedia-bugs] [Maniphest] [Edited] T57191: Wrong startspace match in textlib.replaceExcept

2017-06-12 Thread matej_suchanek
matej_suchanek added a subscriber: Xqt.matej_suchanek updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION...Reported by: @xqt...Original description: `textlib.replaceeExcept` wrongly matches 'startspace' within templates, e.g. \{\{templatename``` \_| opt

[Pywikipedia-bugs] [Maniphest] [Reopened] T57191: Wrong startspace match in textlib.replaceExcept

2017-06-12 Thread matej_suchanek
matej_suchanek reopened this task as "Open".matej_suchanek added a comment. >>> import pywikibot >>> from pywikibot import textlib >>> text = '''{{Foo ... | bar = baz ... | xxx = yyy ... }}''' >>> textlib.replaceExcept

[Pywikipedia-bugs] [Maniphest] [Retitled] T166515: Information about category sometimes outdated

2017-05-29 Thread matej_suchanek
matej_suchanek created this task.matej_suchanek added a project: Pywikibot-core.Herald added a subscriber: Aklapper. TASK DESCRIPTIONT135304 revealed that information about category members is not always up-to-date, especially when migrating them to another one. This task's purpose

[Pywikipedia-bugs] [Maniphest] [Block] T135304: Bot should always add CFD template when moving category

2017-05-29 Thread matej_suchanek
matej_suchanek created subtask T166515: Information about category sometimes outdated. TASK DETAILhttps://phabricator.wikimedia.org/T135304EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, matej_suchanek, JAnD, Framawiki, Aklapper

[Pywikipedia-bugs] [Maniphest] [Commented On] T135304: Bot should always add CFD template when moving category

2017-05-29 Thread matej_suchanek
matej_suchanek added a comment. In T135304#3296719, @Dvorapa wrote: In T135304#3294657, @Dvorapa wrote: My only thought was about some possibility to call touch on the category redirect right before this if-condition. Btw there is a -rebuild parameter, maybe just calling this functionality

[Pywikipedia-bugs] [Maniphest] [Commented On] T135304: Bot should always add CFD template when moving category

2017-05-26 Thread matej_suchanek
matej_suchanek added a comment. In T135304#3294954, @Dvorapa wrote: @matej_suchanek Your solution looks better than my thoughts, please don't forget to track exceptions like doc pages (for templates categorized through doc), skipped pages, redirects and so. In the newest patch, I imp

[Pywikipedia-bugs] [Maniphest] [Claimed] T135304: Bot should always add CFD template when moving category

2017-05-26 Thread matej_suchanek
matej_suchanek claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T135304EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, matej_suchanek, JAnD, Framawiki, Aklapper, Zppix, pywikibot-bugs-list, Dvorapa, Adik2382

[Pywikipedia-bugs] [Maniphest] [Commented On] T135304: Bot should always add CFD template when moving category

2017-05-26 Thread matej_suchanek
matej_suchanek added a comment. scripts/category.pyif self.oldcat.isEmptyCategory() and self.delete_oldcat and \ ((self.newcat and self.move_oldcat) or not self.newcat): self._delete(can_move_page, can_move_talk) In T135304#3288814, @Dvorapa wrote: Or maybe the check if category is empty

[Pywikipedia-bugs] [Maniphest] [Updated] T165878: Create dummy Wikibase type

2017-05-23 Thread matej_suchanek
matej_suchanek closed this task as a duplicate of T165961: Implement WbUnknown to handle new (unknown) Wikibase data types. TASK DETAILhttps://phabricator.wikimedia.org/T165878EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Aklapper

[Pywikipedia-bugs] [Maniphest] [Merged] T165961: Implement WbUnknown to handle new (unknown) Wikibase data types

2017-05-23 Thread matej_suchanek
matej_suchanek merged a task: T165878: Create dummy Wikibase type. TASK DETAILhttps://phabricator.wikimedia.org/T165961EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Multichill, matej_suchanekCc: gerritbot, Addshore, Lokal_Profil, Aklapper, pywikibot-bugs

[Pywikipedia-bugs] [Maniphest] [Changed Status] T165828: Add the option allowusertalk to blockuser()

2017-05-23 Thread matej_suchanek
matej_suchanek added a project: Pywikibot-compat-to-core.matej_suchanek changed the task status from "Stalled" to "Open".matej_suchanek triaged this task as "Normal" priority.matej_suchanek moved this task from Backlog to Probably core only on the Pywikibot-G

[Pywikipedia-bugs] [Maniphest] [Commented On] T160397: PreloadingItemGenerator and DataSite.preloaditempages don't work with properties

2017-05-20 Thread matej_suchanek
matej_suchanek added a comment. Yes, but we may need to reuse for other types of entities (like properties).TASK DETAILhttps://phabricator.wikimedia.org/T160397EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Multichill, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Edited] T160397: PreloadingItemGenerator and DataSite.preloaditempages don't work with properties

2017-05-20 Thread matej_suchanek
matej_suchanek edited the task description. (Show Details) EDIT DETAILS...There are other types of entites which we can iterate over, so it would be nice to have other types of entities supported.TASK DETAILhttps://phabricator.wikimedia.org/T160397EMAIL PREFERENCEShttps://phabricator.wikimedia.org

<    1   2   3   4   5   6   7   >