[Pywikipedia-bugs] [Maniphest] [Commented On] T112140: Provide a wrapper function in pywikibot around wbparsevalue

2016-07-11 Thread ArthurPSmith
ArthurPSmith added a comment. Ok, the WbRepresentation superclass looks like it might help simplify this. But FilePage, ItemPage and PropertyPage (and basestring) are not subclasses of that, so I think just returning the json hash would be best there. But the function could certainly run fromWikiba

[Pywikipedia-bugs] [Maniphest] [Commented On] T139842: Restartable bot framework

2016-07-11 Thread DrTrigon
DrTrigon added a comment. The simplest solution (MVP) would, on pause, continue to run the existing generator, and write out a page title list to a file instead of processing the pages. Then the resumption would use the page title list in the stored file using -file:xxx. A better implementation wo

[Pywikipedia-bugs] [Maniphest] [Changed Project Column] T60053: Pywikibot Python 3 compatibility (tracking)

2016-07-11 Thread Danny_B
Danny_B moved this task from Tag to Convertable to workboard column on the Tracking board. TASK DETAILhttps://phabricator.wikimedia.org/T60053WORKBOARDhttps://phabricator.wikimedia.org/project/board/134/EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Danny_BCc

[Pywikipedia-bugs] [Maniphest] [Changed Project Column] T58190: API design (tracking)

2016-07-11 Thread Danny_B
Danny_B moved this task from Tag to Convertable to workboard column on the Tracking board. TASK DETAILhttps://phabricator.wikimedia.org/T58190WORKBOARDhttps://phabricator.wikimedia.org/project/board/134/EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Danny_BCc

[Pywikipedia-bugs] [Maniphest] [Merged] T94302: Categories returned don't match

2016-07-11 Thread Umherirrender
Umherirrender closed this task as a duplicate of T19154: Rollback does not restore linking tables (categorylinks, pagelinks). TASK DETAILhttps://phabricator.wikimedia.org/T94302EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: UmherirrenderCc: jayvdb, Anomie, py

[Pywikipedia-bugs] [Maniphest] [Merged] T19154: Rollback does not restore linking tables (categorylinks, pagelinks)

2016-07-11 Thread Umherirrender
Umherirrender added subscribers: JoKent, Zppix, jayvdb, Anomie, pywikibot-bugs-list, XZise.Umherirrender merged tasks: T139936: API not returning categories for some pages, T94302: Categories returned don't match. TASK DETAILhttps://phabricator.wikimedia.org/T19154EMAIL PREFERENCEShttps://phabricat

[Pywikipedia-bugs] [Maniphest] [Commented On] T19154: Rollback does not restore linking tables (categorylinks, pagelinks)

2016-07-11 Thread Umherirrender
Umherirrender added a comment. In T19154#1810017, @aaron wrote: Is this still an issue? Seems to be, see new merged task This is possible a slave lag issue, because sometimes it works. It is not a problem on all rollbacks (in the past)TASK DETAILhttps://phabricator.wikimedia.org/T19154EMAIL PRE

[Pywikipedia-bugs] [Maniphest] [Changed Project Column] T66840: [Tracking] Pywikibot Documentation

2016-07-11 Thread Danny_B
Danny_B moved this task from Tag to Transition in progress on the Tracking board. TASK DETAILhttps://phabricator.wikimedia.org/T66840WORKBOARDhttps://phabricator.wikimedia.org/project/board/134/EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mpaa, Danny_BCc: j

[Pywikipedia-bugs] [Maniphest] [Created] T139976: Bot should remove CFR template when moving category

2016-07-11 Thread Dvorapa
Dvorapa created this task.Dvorapa added a project: Pywikibot-category.py.Herald added subscribers: pywikibot-bugs-list, Zppix, Aklapper. TASK DESCRIPTIONSteps to reproduce Run python pwb.py category move "category1" "category2" Bot moves category page to a new name Bot removes CFD templates from

[Pywikipedia-bugs] [Maniphest] [Commented On] T139976: Bot should remove CFR template when moving category

2016-07-11 Thread Dvorapa
Dvorapa added a comment. btw sometimes bot doesn't make this edit at allTASK DETAILhttps://phabricator.wikimedia.org/T139976EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: Aklapper, Zppix, pywikibot-bugs-list, Dvorapa

[Pywikipedia-bugs] [Maniphest] [Updated] T66841: Document possible configuration settings

2016-07-11 Thread Danny_B
Danny_B removed a parent task: T66840: [Tracking] Pywikibot Documentation. TASK DETAILhttps://phabricator.wikimedia.org/T66841EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Danny_BCc: valhallasw, Ricordisamoa, pywikibot-bugs-list, Ladsgroup, Mdupont, jayvdb,

[Pywikipedia-bugs] [Maniphest] [Updated] T71781: makecat uses http on import, causing deadlock

2016-07-11 Thread Danny_B
Danny_B removed a parent task: T66840: [Tracking] Pywikibot Documentation. TASK DETAILhttps://phabricator.wikimedia.org/T71781EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdb, Danny_BCc: valhallasw, XZise, gerritbot, Mineo, jayvdb, pywikibot-bugs-list, M

[Pywikipedia-bugs] [Maniphest] [Updated] T66847: Provide CONTENTS

2016-07-11 Thread Danny_B
Danny_B removed a parent task: T66840: [Tracking] Pywikibot Documentation. TASK DETAILhttps://phabricator.wikimedia.org/T66847EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Danny_BCc: Aklapper, Ricordisamoa, gerritbot, droid, jayvdb, valhallasw, pywikibot-bug

[Pywikipedia-bugs] [Maniphest] [Updated] T66840: [Tracking] Pywikibot Documentation

2016-07-11 Thread Danny_B
Danny_B removed subtasks: T71781: makecat uses http on import, causing deadlock, T74424: ModuleDeprecationWrapper breaks code inspection tools, including epydoc, sphinx autodoc, T66846: Provide sensible documentation platform for Pywikibot, T66847: Provide CONTENTS, T66841: Document possible config

[Pywikipedia-bugs] [Maniphest] [Updated] T72936: Pywikibot 2.1 (tracking)

2016-07-11 Thread Danny_B
Danny_B removed a subtask: T66840: [Tracking] Pywikibot Documentation. TASK DETAILhttps://phabricator.wikimedia.org/T72936EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Danny_BCc: Mpaa, Aklapper, Xqt, jayvdb, Ricordisamoa, pywikibot-bugs-list, Beta16, Dinoguy

[Pywikipedia-bugs] [Maniphest] [Updated] T74424: ModuleDeprecationWrapper breaks code inspection tools, including epydoc, sphinx autodoc

2016-07-11 Thread Danny_B
Danny_B removed a parent task: T66840: [Tracking] Pywikibot Documentation. TASK DETAILhttps://phabricator.wikimedia.org/T74424EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Danny_BCc: Aklapper, gerritbot, jayvdb, Ricordisamoa, pywikibot-bugs-list, XZise, Lewi

[Pywikipedia-bugs] [Maniphest] [Updated] T66840: [Tracking] Pywikibot Documentation

2016-07-11 Thread Danny_B
Danny_B removed parent tasks: T2001: Documentation is out of date, incomplete (tracking), T4007: [DO NOT USE] Tracking bug [superseded by the #Tracking tag], T72936: Pywikibot 2.1 (tracking). TASK DETAILhttps://phabricator.wikimedia.org/T66840EMAIL PREFERENCEShttps://phabricator.wikimedia.org/setti

[Pywikipedia-bugs] [Maniphest] [Updated] T66846: Provide sensible documentation platform for Pywikibot

2016-07-11 Thread Danny_B
Danny_B removed a parent task: T66840: [Tracking] Pywikibot Documentation. TASK DETAILhttps://phabricator.wikimedia.org/T66846EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdb, Danny_BCc: hashar, gerritbot, Xqt, jayvdb, valhallasw, Ricordisamoa, pywikibot

[Pywikipedia-bugs] [Maniphest] [Retitled] T66840: [DO NOT USE] Pywikibot Documentation (tracking) [superseded by #Pywikibot-documentation]

2016-07-11 Thread Danny_B
Danny_B changed the title from "[Tracking] Pywikibot Documentation" to "[DO NOT USE] Pywikibot Documentation (tracking) [superseded by #Pywikibot-documentation]".Danny_B changed the task status from "Resolved" to "Invalid".Danny_B triaged this task as "Lowest" priority.Danny_B removed Mpaa as the a

[Pywikipedia-bugs] [Maniphest] [Changed Project Column] T66840: [DO NOT USE] Pywikibot Documentation (tracking) [superseded by #Pywikibot-documentation]

2016-07-11 Thread Danny_B
Danny_B moved this task from Transition in progress to Transition completed on the Tracking board. TASK DETAILhttps://phabricator.wikimedia.org/T66840WORKBOARDhttps://phabricator.wikimedia.org/project/board/134/EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: D

[Pywikipedia-bugs] [Maniphest] [Commented On] T139976: Bot should remove CFR template when moving category

2016-07-11 Thread Urbanecm
Urbanecm added a comment. @Dvorapa Is there a difference between CFR and CFD?TASK DETAILhttps://phabricator.wikimedia.org/T139976EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: UrbanecmCc: Urbanecm, Aklapper, Zppix, pywikibot-bugs-list, Dvorapa

[Pywikipedia-bugs] [Maniphest] [Commented On] T139842: Restartable bot framework

2016-07-11 Thread Mpaa
Mpaa added a comment. In T139842#2446119, @jayvdb wrote: I agree with @valhallasw that this should be page based resumption. The simplest solution (MVP) would, on pause, continue to run the existing generator, and write out a page title list to a file instead of processing the pages. Then the re

[Pywikipedia-bugs] [Maniphest] [Commented On] T139842: Restartable bot framework

2016-07-11 Thread valhallasw
valhallasw added a comment. Why does it not apply in that case?TASK DETAILhttps://phabricator.wikimedia.org/T139842EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: valhallaswCc: Mpaa, valhallasw, Aklapper, jayvdb, Zppix, DrTrigon, pywikibot-bugs-list, Pahadiahi

[Pywikipedia-bugs] [Maniphest] [Commented On] T139842: Restartable bot framework

2016-07-11 Thread Mpaa
Mpaa added a comment. I f I need to switch off my computer, how can I let it "write out a page title list to a file instead of processing the pages"?TASK DETAILhttps://phabricator.wikimedia.org/T139842EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MpaaCc: Mpa

[Pywikipedia-bugs] [Maniphest] [Retitled] T135304: Template for deletion after category move is added only sometimes

2016-07-11 Thread Dvorapa
Dvorapa changed the title from "Template for deletion after move transcluded only sometimes" to "Template for deletion after category move is added only sometimes". TASK DETAILhttps://phabricator.wikimedia.org/T135304EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences

[Pywikipedia-bugs] [Maniphest] [Updated] T139976: Bot should remove CFR template when moving category

2016-07-11 Thread Dvorapa
Dvorapa added a comment. @Urbanecm CRF templates propose categories to be renamed, CFD templates propose their deletion. The command category move doesn't delete the category, just moves it (and then proposes for deletion) and therefore it should remove the CFR templates from the new name and add C

[Pywikipedia-bugs] [Maniphest] [Commented On] T139976: Bot should remove CFR template when moving category

2016-07-11 Thread Dvorapa
Dvorapa added a comment. That behavior my bot randomly adds or removes templates looks a little bit chaotic.TASK DETAILhttps://phabricator.wikimedia.org/T139976EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: Urbanecm, Aklapper, Zppix, pywikibot-bugs

[Pywikipedia-bugs] [Maniphest] [Retitled] T139976: Bot should always remove CFR template when moving category

2016-07-11 Thread Dvorapa
Dvorapa changed the title from "Bot should remove CFR template when moving category" to "Bot should always remove CFR template when moving category". TASK DETAILhttps://phabricator.wikimedia.org/T139976EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc:

[Pywikipedia-bugs] [Maniphest] [Edited] T139976: Bot should remove CFR template when moving category

2016-07-11 Thread Dvorapa
Dvorapa edited the task description. (Show Details) EDIT DETAILS...Bot should always remove CFR templates when renaming a category. **Incorrect behavior** Bot only sometimes tries to remove CFD templates, which are not present here. Therefore, it creates new revision just with cosmetic changes. Yo

[Pywikipedia-bugs] [Maniphest] [Edited] T139976: Bot should always remove CFR template when moving category

2016-07-11 Thread Dvorapa
Dvorapa edited the task description. (Show Details) EDIT DETAILS... # Bot removes CFD**CFD** templates from pagepage "category2" **Expected behavior:** Bot should always remove CFR**CFR** templates when renaming a category. **Incorrect behavior** Bot only sometimes tries to remove CFD templates,

[Pywikipedia-bugs] [Maniphest] [Commented On] T139976: Bot should always remove CFR template when moving category

2016-07-11 Thread Urbanecm
Urbanecm added a comment. Thanks. I looked into the code and there isn't any template in cswiki. Fascinating is in enwiki's section there are both of CFR and CRD templates. From my point of view bot don't know any difference between CFD and CFR.TASK DETAILhttps://phabricator.wikimedia.org/T139976EM

[Pywikipedia-bugs] [Maniphest] [Edited] T139976: Bot should always remove CFR template when moving category

2016-07-11 Thread Dvorapa
Dvorapa edited the task description. (Show Details) EDIT DETAILS... # Bot sometimes removes **CFD** template from page "category2"...TASK DETAILhttps://phabricator.wikimedia.org/T139976EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: Urbanecm, Aklap

[Pywikipedia-bugs] [Maniphest] [Retitled] T135304: Template for deletion after category move is added only sometimesremove CFR template when moving category

2016-07-11 Thread Dvorapa
Dvorapa changed the title from "Template for deletion after category move is added only sometimes" to "Template for deletion after category move is added only sometimesremove CFR template when moving category".Dvorapa edited the task description. (Show Details) EDIT DETAILS**Steps to reproduce**

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

2016-07-11 Thread Dvorapa
Dvorapa changed the title from "Template for deletion after category move is added only sometimesremove CFR template when moving category" to "Bot should always add CFD template when moving category". TASK DETAILhttps://phabricator.wikimedia.org/T135304EMAIL PREFERENCEShttps://phabricator.wikimedia

[Pywikipedia-bugs] [Maniphest] [Edited] T139976: Bot should always remove CFR template when moving category

2016-07-11 Thread Dvorapa
Dvorapa edited the task description. (Show Details) EDIT DETAILS...Bot tries to remove CFD templates which are not present here and it does this only sometimes. Therefore, it creates new revision just with cosmetic changes. You can see [[ https://cs.wikipedia.org/w/index.php?title=Kategorie:S%C3%AD

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

2016-07-11 Thread Dvorapa
Dvorapa edited the task description. (Show Details) EDIT DETAILS...The CFR template is added only in cca 1 of 5 cases. I can't figure what is the key. It seems like bot is doing this randomly. I thought it is caused by links to the category from other pages, but it isn't.but it isn't. **Configurat

[Pywikipedia-bugs] [Maniphest] [Updated] T60941: Missing unit tests for pywikibot library (tracking)

2016-07-11 Thread Danny_B
Danny_B removed a parent task: T60940: [tracking] Pywikibot tracking bugs. TASK DETAILhttps://phabricator.wikimedia.org/T60941EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Danny_BCc: TerraCodes, AndyTechGuy, gerritbot, Mandarj7, Aklapper, jayvdb, valhallasw,

[Pywikipedia-bugs] [Maniphest] [Updated] T60942: Features to move from scripts to framework (tracking)

2016-07-11 Thread Danny_B
Danny_B removed a parent task: T60940: [tracking] Pywikibot tracking bugs. TASK DETAILhttps://phabricator.wikimedia.org/T60942EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Danny_BCc: gerritbot, StudiesWorld, Xqt, Multichill, Aklapper, jayvdb, valhallasw, Ric

[Pywikipedia-bugs] [Maniphest] [Updated] T60940: [tracking] Pywikibot tracking bugs

2016-07-11 Thread Danny_B
Danny_B removed subtasks: T67987: Functionality existing in AutoWikiBrowser but missing from core (tracking), T60942: Features to move from scripts to framework (tracking), T60941: Missing unit tests for pywikibot library (tracking), T58190: API design (tracking), T57880: Functionality existing in

[Pywikipedia-bugs] [Maniphest] [Updated] T58190: API design (tracking)

2016-07-11 Thread Danny_B
Danny_B removed a parent task: T60940: [tracking] Pywikibot tracking bugs. TASK DETAILhttps://phabricator.wikimedia.org/T58190EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Danny_BCc: valhallasw, pywikibot-bugs-list, Aklapper__

[Pywikipedia-bugs] [Maniphest] [Updated] T60940: [tracking] Pywikibot tracking bugs

2016-07-11 Thread Danny_B
Danny_B removed a parent task: T4007: [DO NOT USE] Tracking bug [superseded by the #Tracking tag]. TASK DETAILhttps://phabricator.wikimedia.org/T60940EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Danny_BCc: valhallasw, pywikibot-bugs-list, Mdupont, jayvdb, A

[Pywikipedia-bugs] [Maniphest] [Updated] T57880: Functionality existing in compat but missing from core (tracking)

2016-07-11 Thread Danny_B
Danny_B removed a parent task: T60940: [tracking] Pywikibot tracking bugs. TASK DETAILhttps://phabricator.wikimedia.org/T57880EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Danny_BCc: binbot, Aklapper, APerson, Xqt, Nemo_bis, droid, Ricordisamoa, pywikibot-bu

[Pywikipedia-bugs] [Maniphest] [Retitled] T60940: [DO NOT USE] Pywikibot tracking bugs (tracking) [superseded by #Pywikibot-General]

2016-07-11 Thread Danny_B
Danny_B changed the title from "[tracking] Pywikibot tracking bugs" to "[DO NOT USE] Pywikibot tracking bugs (tracking) [superseded by #Pywikibot-General]".Danny_B changed the task status from "Resolved" to "Invalid".Danny_B triaged this task as "Lowest" priority.Danny_B edited projects, added Pywi

[Pywikipedia-bugs] [Maniphest] [Changed Project Column] T60940: [DO NOT USE] Pywikibot tracking bugs (tracking) [superseded by #Pywikibot-General]

2016-07-11 Thread Danny_B
Danny_B moved this task from Tag to Transition completed on the Tracking board. TASK DETAILhttps://phabricator.wikimedia.org/T60940WORKBOARDhttps://phabricator.wikimedia.org/project/board/134/EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Danny_BCc: valhallas

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T124138: reflinks should fetch only 1Mb of each linked document

2016-07-11 Thread MtDu
MtDu added a subscriber: jayvdb.MtDu added a comment. @jayvdb Could you take a look at the patch and offer some comments?TASK DETAILhttps://phabricator.wikimedia.org/T124138EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MtDuCc: jayvdb, gerritbot, MtDu, Aklap

[Pywikipedia-bugs] [Maniphest] [Commented On] T139842: Restartable bot framework

2016-07-11 Thread jayvdb
jayvdb added a comment. Maybe @Mpaa meant forced shutdown, or signal 9, in which case letting the generator run in collect-only mode isnt possible.TASK DETAILhttps://phabricator.wikimedia.org/T139842EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdbCc: Mpa

[Pywikipedia-bugs] [Maniphest] [Closed] T66847: Provide CONTENTS

2016-07-11 Thread jayvdb
jayvdb assigned this task to droid.jayvdb closed this task as "Resolved".Herald added a subscriber: TerraCodes. TASK DETAILhttps://phabricator.wikimedia.org/T66847EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: droid, jayvdbCc: TerraCodes, Aklapper, Ricordisam

[Pywikipedia-bugs] [Maniphest] [Unblock] T57880: Functionality existing in compat but missing from core (tracking)

2016-07-11 Thread jayvdb
jayvdb closed subtask T66847: Provide CONTENTS as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T57880EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdbCc: binbot, Aklapper, APerson, Xqt, Nemo_bis, droid, Ricordisamoa, pywikibot-bugs-list, Multi