Yurik has uploaded a new change for review.

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

Change subject: Fixed broken modules path
......................................................................

Fixed broken modules path

Bug: T122857
Change-Id: I701022590fc1b0a7a206eeb080d2e11741e28874
---
M includes/Graph.hooks.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Graph 
refs/changes/24/262424/1

diff --git a/includes/Graph.hooks.php b/includes/Graph.hooks.php
index c79fc63..947eb47 100644
--- a/includes/Graph.hooks.php
+++ b/includes/Graph.hooks.php
@@ -22,7 +22,7 @@
                $resourceModules = $resourceLoader->getConfig()->get( 
'ResourceModules' );
 
                $graphModuleTemplate = array(
-                       'localBasePath' => __DIR__,
+                       'localBasePath' => dirname( __DIR__ ),
                        'remoteExtPath' => 'Graph'
                );
 
@@ -110,7 +110,7 @@
                                        'ext.graph.visualEditor',
                                        'ext.graph.vega1'
                                ),
-                               'localBasePath' => __DIR__,
+                               'localBasePath' => dirname( __DIR__ ),
                                'remoteExtPath' => 'Graph'
                        );
                }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I701022590fc1b0a7a206eeb080d2e11741e28874
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Graph
Gerrit-Branch: master
Gerrit-Owner: Yurik <yu...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to