Huji created this task. Huji added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION If a file has multiple revisions, sysops can delete any of the older versions. On the web version, this translates to `action=delete` with `oldimage` parameter being provided; something like https://test.wikipedia.org/w/index.php?title=File:Bottest.png&action=delete&oldimage=20210106143243%21Bottest.png MW API allows this through API:Delete <https://www.mediawiki.org/wiki/API:Delete> as well; similar to above, `action` should be set to `delete` and `oldimage` should be provided. Pywikibot currently does not support it. While `_apisite.py` has a `deletepage()` method, that can only be used to delete a page as a whole. We should add support for this in pywikibot. TASK DETAIL https://phabricator.wikimedia.org/T276725 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Huji Cc: Aklapper, Huji, pywikibot-bugs-list, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
