Daniel Kinzler has uploaded a new change for review. https://gerrit.wikimedia.org/r/56326
Change subject: Make MessageReporter available in production. ...................................................................... Make MessageReporter available in production. Change-Id: I6a1a7244975fbdc7d89430027a879bc4a411db82 --- M repo/Wikibase.php M repo/config/Wikibase.experimental.php 2 files changed, 6 insertions(+), 6 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/26/56326/1 diff --git a/repo/Wikibase.php b/repo/Wikibase.php index 1c63454..d062577 100644 --- a/repo/Wikibase.php +++ b/repo/Wikibase.php @@ -212,6 +212,12 @@ $wgAutoloadClasses['Wikibase\Test\EntityHandlerTest'] = $dir . 'tests/phpunit/includes/content/EntityHandlerTest.php'; $wgAutoloadClasses['Wikibase\Test\TermIndexTest'] = $dir . 'tests/phpunit/includes/store/TermIndexTest.php'; +if ( !class_exists( 'MessageReporter' ) ) { + $wgAutoloadClasses['MessageReporter'] = $dir . 'includes/MessageReporter.php'; + $wgAutoloadClasses['ObservableMessageReporter'] = $dir . 'includes/MessageReporter.php'; + $wgAutoloadClasses['NullMessageReporter'] = $dir . 'includes/MessageReporter.php'; +} + // API module registration $wgAPIModules['wbgetentities'] = 'Wikibase\Api\GetEntities'; $wgAPIModules['wbsetlabel'] = 'Wikibase\Api\SetLabel'; diff --git a/repo/config/Wikibase.experimental.php b/repo/config/Wikibase.experimental.php index e4e4590..0dfdd84 100644 --- a/repo/config/Wikibase.experimental.php +++ b/repo/config/Wikibase.experimental.php @@ -88,12 +88,6 @@ unset( $classes ); -if ( !class_exists( 'MessageReporter' ) ) { - $wgAutoloadClasses['MessageReporter'] = $dir . 'includes/MessageReporter.php'; - $wgAutoloadClasses['ObservableMessageReporter'] = $dir . 'includes/MessageReporter.php'; - $wgAutoloadClasses['NullMessageReporter'] = $dir . 'includes/MessageReporter.php'; -} - if ( defined( 'MW_PHPUNIT_TEST' ) ) { $wgAutoloadClasses['Wikibase\Repo\Test\Query\SQLStore\DataValueHandlerTest'] = $dir . 'tests/phpunit/includes/Query/SQLStore/DataValueHandlerTest.php'; -- To view, visit https://gerrit.wikimedia.org/r/56326 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6a1a7244975fbdc7d89430027a879bc4a411db82 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Daniel Kinzler <daniel.kinz...@wikimedia.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits