High login rate

Issue #64 new
Sam Reed created an issue

CommonsDelinker is logging in nearly 7K times in 48H, which in most cases should not be necessary

https://phabricator.wikimedia.org/T256533#6261565

You should just be able to use the assert function in https://www.mediawiki.org/wiki/API:Login#Additional_notes

If you are sending a request that should be made by a logged-in user, add assert=user parameter to the request you are sending in order to check whether the user is logged in. If the user is not logged-in, an assertuserfailed error code will be returned.

Comments (0)

  1. Log in to comment