Hoo man has uploaded a new change for review.
https://gerrit.wikimedia.org/r/71246
Change subject: Unconditionally set the bot parameter to match the core
behaviour
......................................................................
Unconditionally set the bot parameter to match the core behaviour
Change-Id: I79c5952448a71a97e6fbf6092b35567aa6395d0f
---
M lib/resources/wikibase.RepoApi/wikibase.RepoApi.js
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase
refs/changes/46/71246/1
diff --git a/lib/resources/wikibase.RepoApi/wikibase.RepoApi.js
b/lib/resources/wikibase.RepoApi/wikibase.RepoApi.js
index 461c862..c02f9bf 100644
--- a/lib/resources/wikibase.RepoApi/wikibase.RepoApi.js
+++ b/lib/resources/wikibase.RepoApi/wikibase.RepoApi.js
@@ -435,6 +435,8 @@
post: function( params ) {
var options = {};
this._extendRepoCallParams( params, options );
+ // Unconditionally set the bot parameter to match the UI
behaviour of core
+ params.bot = 1;
$.each( params, function( key, value ) {
if ( value === undefined || value === null ) {
--
To view, visit https://gerrit.wikimedia.org/r/71246
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I79c5952448a71a97e6fbf6092b35567aa6395d0f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Hoo man <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits