[Pywikipedia-bugs] [Maniphest] [Commented On] T101261: Load topics on a Flow board in Pywikibot

2015-06-04 Thread Mattflaschen
Mattflaschen added a comment. I think it should be implemented as an infinite generator <http://en.literateprograms.org/Fibonacci_numbers_%28Python%29#Generator>. Thus, the developer calling Pywikibot should simply be able to iterate as if it were an infinite list. Something like

[Pywikipedia-bugs] [Maniphest] [Updated] T101262: Load replies to a Flow post in Pywikibot

2015-06-04 Thread Mattflaschen
Mattflaschen added a comment. Since view-topic and view-topiclist both return entire topics (with all posts), it should preferably reuse this if available rather than loading each post individually with view-post. That approach requires T100244: view-topiclist and view-topic should support

[Pywikipedia-bugs] [Maniphest] [Commented On] T101262: Load replies to a Flow post in Pywikibot

2015-06-04 Thread Mattflaschen
Mattflaschen added a comment. Sorry, just saw that you already addressed the caching issue. The cache can presumably keep track of which variants and content are loaded (if any) (e.g. if you post as html, then request as wikitext, it won't be cached). TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T101261: Load topics on a Flow board in Pywikibot

2015-06-04 Thread Mattflaschen
Mattflaschen added a comment. > The same approach should be usable for loading the topics, and loading > posts. Note, currently view-topiclist is the only thing that's paged. For any other view operation, you get everything (e.g. all posts in a topic for view-topic). TASK DET

[Pywikipedia-bugs] [Maniphest] [Commented On] T101261: Load topics on a Flow board in Pywikibot

2015-06-10 Thread Mattflaschen
Mattflaschen added a comment. In https://phabricator.wikimedia.org/T101261#1340362, @jayvdb wrote: > Will view-topic posts be paginated eventually? There are no plans to do so, but it's possible. TASK DETAIL https://phabricator.wikimedia.org/T101261 EMAIL PREFERENCES

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

2015-06-10 Thread Mattflaschen
Mattflaschen added a comment. @happy5214 Let me know if you have questions about the weekly reports. They now need to be submitted for "25 May to 31 May", "1 June to 7 June", soon " 8 June to 14 June", then weekly after that. You should first file a '

[Pywikipedia-bugs] [Maniphest] [Created] T105439: Reply to an existing Flow post in pywikibot.

2015-07-09 Thread Mattflaschen
Mattflaschen created this task. Mattflaschen assigned this task to happy5214. Mattflaschen added subscribers: pywikibot-bugs-list, Ladsgroup, Multichill, Ricordisamoa, Xqt, Mattflaschen, jayvdb, Qgil, Capt_Swing, NiharikaKohli, EBernhardson, rmoen, gerritbot, Legoktm, happy5214, Aklapper

[Pywikipedia-bugs] [Maniphest] [Edited] T101258: Implement Flow support in Pywikibot (Phase 1: Reading and Posting)

2015-07-09 Thread Mattflaschen
Mattflaschen edited the task description. TASK DETAIL https://phabricator.wikimedia.org/T101258 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: happy5214, Mattflaschen Cc: pywikibot-bugs-list, Ladsgroup, Multichill, Ricordisamoa, Xqt, Mattflaschen

[Pywikipedia-bugs] [Maniphest] [Block] T101258: Implement Flow support in Pywikibot (Phase 1: Reading and Posting)

2015-08-07 Thread Mattflaschen
Mattflaschen reopened blocking task T101262: Load replies to a Flow post in Pywikibot as "Open". TASK DETAIL https://phabricator.wikimedia.org/T101258 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: happy5214, Mattflaschen Cc: pywikibot

[Pywikipedia-bugs] [Maniphest] [Reopened] T101262: Load replies to a Flow post in Pywikibot

2015-08-07 Thread Mattflaschen
Mattflaschen reopened this task as "Open". Mattflaschen added a comment. I don't think this is fully solved. The view-topic issue needs to be addressed. TASK DETAIL https://phabricator.wikimedia.org/T101262 EMAIL PREFERENCES https://phabricator.wikimedia.org

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

2015-08-07 Thread Mattflaschen
Mattflaschen added a comment. In https://phabricator.wikimedia.org/T67119#1514643, @NiharikaKohli wrote: > We'll be asking the students to demo their projects towards the end of the > program as well. @happy5214 Please think about what a good demo would be. It might just be

[Pywikipedia-bugs] [Maniphest] [Created] T108969: Update bot to support Flow and demo it

2015-08-13 Thread Mattflaschen
Mattflaschen created this task. Mattflaschen assigned this task to happy5214. Mattflaschen added subscribers: Spage, Liuxinyu970226, Aklapper, happy5214, Legoktm, gerritbot, rmoen, EBernhardson, NiharikaKohli, Capt_Swing, Qgil, jayvdb, Mattflaschen, Xqt, Ricordisamoa, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Commented On] T109229: Implement Flow support in Pywikibot (Phase 3: Editing Content, Topic Summaries, and Board Descriptions (Headers))

2015-08-17 Thread Mattflaschen
Mattflaschen added a comment. Editing will probably be used in practice (it's necessary for general bot processes that must apply to all content, for example removing references to deleted images). However, you should stick to the priorities we discussed at the last meeting. TASK D

[Pywikipedia-bugs] [Maniphest] [Commented On] T109443: Implement support for Flow topic summaries in Pywikibot

2015-08-19 Thread Mattflaschen
Mattflaschen added a comment. They can be used for open topics too. TASK DETAIL https://phabricator.wikimedia.org/T109443 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: happy5214, Mattflaschen Cc: Spage, Liuxinyu970226, Aklapper, happy5214

[Pywikipedia-bugs] [Maniphest] [Commented On] T108969: Update bot to support Flow and demo it

2015-10-25 Thread Mattflaschen
Mattflaschen added a comment. In https://phabricator.wikimedia.org/T108969#1664461, @Quiddity wrote: > @happy5214 Is there a clear description somewhere, that other bot > authors/maintainers should follow in order to update their bots? Or do they > just need to update their pywikibo

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

2016-04-08 Thread Mattflaschen
Mattflaschen added a comment. Can you add a per-user opt-out for #5, as a requirement? Although "A thanked B" is public data (which is now clear in the UI), there was some controversy about publishing it in aggregate. Fæ helpfully added an opt-out, as note

[Pywikipedia-bugs] [Maniphest] [Commented On] T130585: Pywikibot Support for Thanks (GSoC Proposal)

2016-05-05 Thread Mattflaschen
Mattflaschen added a comment. > Each time a user is thanked, a record of the action is added as a log entry at Special:Log/thanks. Furthermore, classes like Revision contain the metadata details of a revision. Note that it is not public which edit you are thanked for. The o

[Pywikipedia-bugs] [Maniphest] [Commented On] T135413: Implement pywikibot feature for getting lists of 'thanks'

2016-05-16 Thread Mattflaschen
Mattflaschen added a comment. Note, it is not public which revision you were thanked for. TASK DETAIL https://phabricator.wikimedia.org/T135413 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: darthbhyrava, Mattflaschen Cc: Mattflaschen, jayvdb

[Pywikipedia-bugs] [Maniphest] [Block] T100796: Run pywikibot tests on beta wikis

2017-08-30 Thread Mattflaschen-WMF
Mattflaschen-WMF reopened subtask T69931: Beta should not use productions interwiki.cdb as "Open". TASK DETAILhttps://phabricator.wikimedia.org/T100796EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdb, Mattflaschen-WMFCc: Ricordisamoa,

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

2017-08-31 Thread Mattflaschen-WMF
Mattflaschen-WMF closed subtask T69931: Beta should not use productions interwiki.php as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T100903EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mattflaschen-WMFCc: Lokal_Profil, Luke08151

[Pywikipedia-bugs] [Maniphest] [Unblock] T100796: Run pywikibot tests on beta wikis

2017-08-31 Thread Mattflaschen-WMF
Mattflaschen-WMF closed subtask T69931: Beta should not use productions interwiki.php as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T100796EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdb, Mattflaschen-WMFCc: Ricordisamoa,

[Pywikipedia-bugs] [Maniphest] [Assigned] T70797: script_wui hardcoded to use User:DrTrigon

2016-10-28 Thread Mattflaschen-WMF
Mattflaschen-WMF assigned this task to Ladsgroup.Herald added a subscriber: TerraCodes.Herald added a project: User-Ladsgroup. TASK DETAILhttps://phabricator.wikimedia.org/T70797EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Ladsgroup, Mattflaschen-WMFCc