Fields required in a wrap-up report:
- Project description (as you would explain it to a layman who has no clue about MediaWiki). Please include screenshots with description - explaining how exactly the tool/extension works.
- Missing features/known bugs. Add links to phabricator tasks for the same and leave a short explanation.
- Demo server link
- Resource links (Project in gerrit/github, extension link on wiki etc.)
- Anything else you can think of, which can make contributing to this project easier for newcomers.
(Please edit this task itself to write your report. Make sure you complete it by 21st of August when end-term evaluations start.)
This was a project to add support for Flow, the Wikimedia Foundation's new discussion framework, to Pywikibot, a Python framework widely used for bots operating on Foundation wikis. (Screenshots are not particularly useful for this project, since this is effectively library code.) To accomplish this task, a module was implemented in Pywikibot with classes mapping to Flow data constructs, like topics and posts. Code supporting Flow-related API calls was also added, and tests were included for loading and saving operations. As it stands, Pywikibot-driven bots can now load Flow content, create new topics, reply to topics and posts, and lock and unlock topics.
Numerous delays during the course of the project, including but not limited to bugs and missing features in Pywikibot and Flow that were exposed by the new code, limited progress. In particular, a plan that included three phases was limited to the first phase and one task of the second. However, the MVP, which roughly corresponded to Phase 1, was completed and is already merged. The code not implemented is encapsulated in the rest of T109228 (Phase 2) and T109229 (Phase 3).
My demo will be modifying the scripts/unusedfiles.py bot script to post unused file messages to user talk pages that use Flow. The demo will be run on the testwiki as described in T108969.