[MediaWiki-commits] [Gerrit] Fixed broken modules path - change (mediawiki...Graph)

2016-01-04 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Fixed broken modules path
..


Fixed broken modules path

Follows-up 64d80b0de.

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

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



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: merged
Gerrit-Change-Id: I701022590fc1b0a7a206eeb080d2e11741e28874
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Graph
Gerrit-Branch: master
Gerrit-Owner: Yurik 
Gerrit-Reviewer: Krinkle 
Gerrit-Reviewer: jenkins-bot <>

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


[MediaWiki-commits] [Gerrit] Fixed broken modules path - change (mediawiki...Graph)

2016-01-04 Thread Yurik (Code Review)
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 

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