gy-mate / moodle-to-vikwikiquiz

A CLI for converting graded Moodle quizzes to a vik.wiki quiz wikitext
https://pypi.org/project/moodle-to-vikwikiquiz/
GNU General Public License v3.0
2 stars 0 forks source link

Implement uploading to the wiki with a bot account #2

Open gy-mate opened 4 months ago

gy-mate commented 4 months ago

Implement uploading new quiz articles to the wiki using Pywikibot.

https://www.mediawiki.org/wiki/Manual:Pywikibot/Use_on_third-party_wikis https://pypi.org/project/pywikibot/ https://github.com/zsotroav/mlb-mw/blob/master/upload.py

suggestion by @zsotroav

When closed: announce the app on Discord

gy-mate commented 3 months ago

Doesn't worth it, everyone's bot account would have to be granted bot permission on the wiki manually. It would also be risky.

gy-mate commented 3 months ago

It's enough to generate a bot password so that edits would be made directly under the user's account.