GWicke has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/206316

Change subject: Use /api/rest_v1/ entry point for VE
......................................................................

Use /api/rest_v1/ entry point for VE

Bug: T95229
Change-Id: I8b1853f2ddae67c98aa5a91907e2894677ed5b52
---
M wmf-config/CommonSettings-labs.php
M wmf-config/CommonSettings.php
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/16/206316/1

diff --git a/wmf-config/CommonSettings-labs.php 
b/wmf-config/CommonSettings-labs.php
index 21c4001..916e72a 100644
--- a/wmf-config/CommonSettings-labs.php
+++ b/wmf-config/CommonSettings-labs.php
@@ -89,7 +89,7 @@
                // so use a hook
                $wgExtensionFunctions[] = function () {
                        global $wgServerName, $wgVisualEditorRestbaseURL;
-                       $wgVisualEditorRestbaseURL = 
"https://restbase-beta.wmflabs.org/$wgServerName/v1/page/html/";;
+                       $wgVisualEditorRestbaseURL = 
"https://$wgServerName/api/rest_v1/page/html/";;
                };
        }
 }
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index f29cd01..28743f4 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -2042,7 +2042,7 @@
                // so use a hook
                $wgExtensionFunctions[] = function () {
                        global $wgServerName, $wgVisualEditorRestbaseURL;
-                       $wgVisualEditorRestbaseURL = 
"https://rest.wikimedia.org/$wgServerName/v1/page/html/";;
+                       $wgVisualEditorRestbaseURL = 
"https://$wgServerName/api/rest_v1/page/html/";;
                };
        }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8b1853f2ddae67c98aa5a91907e2894677ed5b52
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: GWicke <[email protected]>

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

Reply via email to