Page MenuHomePhabricator

Movepages.py does not ask for admin account
Closed, DeclinedPublic

Description

When I want to move pages, and the bot has insufficient rights, it throws an error instead of offering the use of my admin account as other scripts.

I found this in compat, but nobody answered it would be obsolete in core.
https://lists.wikimedia.org/pipermail/pywikibot/2016-September/009582.html

Event Timeline

Xqt lowered the priority of this task from Medium to Lowest.Sep 12 2016, 12:38 PM
Xqt removed a project: Pywikibot.
Xqt subscribed.

I guess this is related to compat only because the site.movepage method has a must_be decorator which login with sysop account when needed. But the "move" permission is still required.

You may use -user option to forecast using your sysop account.

Thank you. You are basically right, but I would prefer not to use -user if the majority of pages can be treated as bot (for keeping recent changes readable).

For core there is an improvement in process, see T71283 and rPWBC5e2b74cbd8a0. The last one should replace the user/sysop functionality by a need_right functionality.

Anyway -user is a proper way until your feature request will be implemented in compat. But I don't believe that is comes for compat (soon)? except you do it yourself ;)

Declined due to decommission compat