-
-
Benachrichtigungen
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to not log in for every single edit? #120
Kommentare
yes, batch mode would resolve this. Individual calls to |
Something like this would be helpful in the documentation. |
@rwst your pull requests to improve the documentation are welcome. |
add warning about excessive logins (#120)
I assume we can consider this addressed by #122 and close for now |
The way I use wikibase-cli (call
wd
with single edits) leads to unneccessary logins to Wikidata which is now discussed in https://phabricator.wikimedia.org/T256533. They cite https://www.mediawiki.org/wiki/API:Login#Additional_notes where we can read: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.
Can your code do this between calls of
wd
? If not, can it be implemented? If not, would batch mode editing resolve it?The text was updated successfully, but these errors were encountered: