Nemo bis has uploaded a new change for review.

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

Change subject: Actually load SMW_QueryProcessor.php, from correct path
......................................................................

Actually load SMW_QueryProcessor.php, from correct path

While running phpunit I got thousands of Warning: include_once(
/srv/vagrant/mediawiki/extensions/SemanticMediaWiki//includes/SMW_QueryProcessor.php
): failed to open stream: No such file or directory in
/srv/vagrant/mediawiki/extensions/SemanticTasks/SemanticTasks.classes.php
on line 321

As far as I can see $smwgIP is usually assumed to include trailing slash
by other semantic extensions.

Change-Id: I0e623ac2dff3d4c76cc4a5f00dd423922a4be12a
---
M SemanticTasks.classes.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticTasks 
refs/changes/30/149830/1

diff --git a/SemanticTasks.classes.php b/SemanticTasks.classes.php
index cebab45..75031ef 100644
--- a/SemanticTasks.classes.php
+++ b/SemanticTasks.classes.php
@@ -318,7 +318,7 @@
                // $smwgIP is defined by Semantic MediaWiki, and we don't allow
                // this file to be sourced unless Semantic MediaWiki is 
included.
                global $smwgIP;
-               include_once( $smwgIP . "/includes/SMW_QueryProcessor.php" );
+               include_once( $smwgIP . "includes/SMW_QueryProcessor.php" );
 
                $params = array();
                $inline = true;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0e623ac2dff3d4c76cc4a5f00dd423922a4be12a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticTasks
Gerrit-Branch: master
Gerrit-Owner: Nemo bis <federicol...@tiscali.it>

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

Reply via email to