View Revision
LucasWerkmeister created this revision.
LucasWerkmeister added a reviewer: Magnus.
LucasWerkmeister added a project: Wikidata.
LucasWerkmeister requested review of this revision.

REPOSITORY
R2010 tool-quickstatements

REVISION SUMMARY

This adds a new table storing OAuth details for a batch, and populates it when any new batch is created. When running commands for a batch, QuickStatements will attempt to load the OAuth details for that batch, and run the commands using those details instead of the bot account in case of success.

The effect of this is that any new batches will be run as the user who submitted the batch, instead of as the bot account. Old batches that were in progress when this commit was deployed will continue to complete as the bot account, since we don’t have OAuth details for them (and it would be odd to change the account mid-batch anyways).

Error handling is relaxed compared to surrounding code in several places, generally falling back to OAuth-less mode instead of aborting.


CHANGES SINCE LAST ACTION
https://phabricator.wikimedia.org/D1119/new/

REVISION DETAIL
https://phabricator.wikimedia.org/D1119

AFFECTED FILES
public_html/quickstatements.php
schema.sql

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: LucasWerkmeister, Magnus
Cc: Magnus, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to