jenkins-bot has submitted this change and it was merged.

Change subject: Name random var
......................................................................


Name random var

Change-Id: Ie6c943668b6956a634c7257898b24c0a9c6c8169
---
M js/lib/mediawiki.ApiRequest.js
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  GWicke: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/js/lib/mediawiki.ApiRequest.js b/js/lib/mediawiki.ApiRequest.js
index 863b9dc..a4fbaf7 100644
--- a/js/lib/mediawiki.ApiRequest.js
+++ b/js/lib/mediawiki.ApiRequest.js
@@ -348,7 +348,7 @@
                text: text
        };
        // Randomize the POST url so that we hit different Squids
-       var url = env.conf.wiki.apiURI + '?' + process.pid;
+       var url = env.conf.wiki.apiURI + '?random=' + process.pid;
 
        this.requestOptions = {
                // Use POST since we are passing a bit of source, and GET has a 
very
@@ -448,7 +448,7 @@
                disablepp: 'true'
        };
        // Randomize the POST url so that we hit different Squids
-       var url = env.conf.wiki.apiURI + '?' + process.pid;
+       var url = env.conf.wiki.apiURI + '?random=' + process.pid;
 
        this.requestOptions = {
                // Use POST since we are passing a bit of source, and GET has a 
very

-- 
To view, visit https://gerrit.wikimedia.org/r/73541
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie6c943668b6956a634c7257898b24c0a9c6c8169
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: GWicke <[email protected]>
Gerrit-Reviewer: GWicke <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to