kanasimi / wikiapi

JavaScript MediaWiki API for node.js
https://kanasimi.github.io/wikiapi/
BSD 3-Clause "New" or "Revised" License
47 stars 5 forks source link

`Pagemove throttle for new users` : file move get rejected due to speed. #28

Closed hugolpz closed 3 years ago

hugolpz commented 3 years ago

I got filemover userrights on Commons for my bot :

Any familiarity with this error message ?

Error: abusefilter-autopromote-blocked: This action has been automatically identified as harmful, and it has been disallowed. In addition, as a security measure, some privileges routinely granted to established accounts have been temporarily revoked from your account. A brief description of the abuse rule which your action matched is: Pagemove throttle for new users
    at /home/yug/Documents/DragonsBot/node_modules/cejs/application/net/wiki/admin.js:166:15
    at check_session_badtoken (/home/yug/Documents/DragonsBot/node_modules/cejs/application/net/wiki/query.js:181:4)
    at /home/yug/Documents/DragonsBot/node_modules/cejs/application/net/wiki/query.js:603:4
    at IncomingMessage.<anonymous> (/home/yug/Documents/DragonsBot/node_modules/cejs/application/net/Ajax.js:2221:6)
    at IncomingMessage.emit (events.js:327:22)
    at endReadableNT (_stream_readable.js:1224:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)

If I remember well, we are limited to 1 edit every 5 secs. But I can't get my hand on the doc at the moment, and renaming may have special rules.

If you don't know no need to look for the answer : I asked on Commons for guidance.

hugolpz commented 3 years ago

Commons admin granted my bot autopatroller userright.

Two place to ask autopatroller user-rights to your bot :

Edit: autopatroller let me name and rename back to former name. I think we can close this issue, which is now a documentation page.