Yurik has uploaded a new change for review.

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

Change subject: LABS: Enable Graphoid fallback for graph ext
......................................................................

LABS: Enable Graphoid fallback for graph ext

Graph ext can now generate fallback image links
to graphoid service. Enable on labs only for now.

Change-Id: Ibe4e781873b3abba663a6bd9cba3ce908836b429
---
M wmf-config/CommonSettings-labs.php
1 file changed, 7 insertions(+), 0 deletions(-)


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

diff --git a/wmf-config/CommonSettings-labs.php 
b/wmf-config/CommonSettings-labs.php
index 5f23159..abdc80c 100644
--- a/wmf-config/CommonSettings-labs.php
+++ b/wmf-config/CommonSettings-labs.php
@@ -225,6 +225,13 @@
        $wgCollectionCommandToServeURL[ 'zip_post' ] = 
'https://pediapress.com/wmfup/';
 }
 
+if ( $wmgUseGraph ) {
+       // Asseme CommonSettings.php is already loaded and loads these two 
extensions
+       // require_once( "$IP/extensions/JsonConfig/JsonConfig.php" );
+       // require_once( "$IP/extensions/Graph/Graph.php" );
+       $wgGraphImgServiceUrl = 
"//graphoid-beta.wmflabs.org/%1\$s/v1/png/%2\$s/%3\$s/%4\$s.png";
+}
+
 if ( $wmgUsePageImages ) {
        require_once "$IP/extensions/PageImages/PageImages.php";
        $wgPageImagesExpandOpenSearchXml = $wmgPageImagesExpandOpenSearchXml;

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

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

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

Reply via email to