JanZerebecki has uploaded a new change for review.

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

Change subject: Disable unit tests and qunit tests
......................................................................

Disable unit tests and qunit tests

The wikidata extension is only a build for the special situation on the WMF
cluster and should not be used. Instead the desired extensions should be used
directly and composer with the merge plugin in core will provide the necessary
build step. However the contained extensions do not currently have a working
stable release branch, so this patch doesn't improve the situation for
potential Mediawiki stable release users wanting to also use Wikibase.

Bug: T128828
Bug: T125722
Change-Id: Ia0bdbe3978f6da1f1f51185563212132e101a00a
(cherry picked from commit b60860d10bd6fe66e1a443ccb3edc571dd5d5c8b)
---
M Wikidata.php
1 file changed, 6 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikidata 
refs/changes/38/277238/1

diff --git a/Wikidata.php b/Wikidata.php
index d286a27..512f7d0 100644
--- a/Wikidata.php
+++ b/Wikidata.php
@@ -4,7 +4,7 @@
 }
 
 // Jenkins stuff part1
-if ( isset( $wgWikimediaJenkinsCI ) && $wgWikimediaJenkinsCI == true ) {
+if ( false ) {
        // in future, run as non-experimental
        if ( !defined( 'WB_EXPERIMENTAL_FEATURES' ) || 
!WB_EXPERIMENTAL_FEATURES ) {
                define( 'WB_EXPERIMENTAL_FEATURES', true );
@@ -25,7 +25,7 @@
 
 $wgWikidataBaseDir = $IP;
 
-if ( file_exists(  __DIR__ . '/vendor/autoload.php' ) ) {
+if ( false ) {
        include_once __DIR__ . '/vendor/autoload.php';
 
        $wgWikidataBaseDir = __DIR__;
@@ -69,7 +69,9 @@
        }
 }
 
-$wgHooks['UnitTestsList'][] = '\Wikidata\WikidataHooks::onUnitTestsList';
+if ( false ) {
+       $wgHooks['UnitTestsList'][] = 
'\Wikidata\WikidataHooks::onUnitTestsList';
+}
 
 $wgExtensionCredits['wikibase'][] = array(
        'path' => __FILE__,
@@ -82,7 +84,7 @@
 );
 
 // Jenkins stuff part2
-if ( isset( $wgWikimediaJenkinsCI ) && $wgWikimediaJenkinsCI == true ) {
+if ( false ) {
        //Jenkins always loads both so no need to check if they are loaded 
before getting settings
        require_once __DIR__ . '/extensions/Wikibase/repo/ExampleSettings.php';
        require_once __DIR__ . 
'/extensions/Wikibase/client/ExampleSettings.php';

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia0bdbe3978f6da1f1f51185563212132e101a00a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikidata
Gerrit-Branch: REL1_26
Gerrit-Owner: JanZerebecki <[email protected]>

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

Reply via email to