Chad has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/394628 )
Change subject: Remove ancient back-compat for MW < 1.25
......................................................................
Remove ancient back-compat for MW < 1.25
Change-Id: Ibf88c1d303077b0beb4b173e50ddc137837e95ff
---
M Collection.hooks.php
M Collection.php
2 files changed, 0 insertions(+), 10 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Collection
refs/changes/28/394628/1
diff --git a/Collection.hooks.php b/Collection.hooks.php
index 3f3e4b1..b60bd97 100644
--- a/Collection.hooks.php
+++ b/Collection.hooks.php
@@ -21,15 +21,6 @@
*/
class CollectionHooks {
- public static function onSetup() {
- // This prevents this extension from being run in environments
- // that don't have the dependent code in core; this should be
- // updated as a part of when additional dependencies are
- // created and pushed into MediaWiki's core. In particular
- // this tracks the use of OOjs UI in the Collection extension.
- wfUseMW( '1.25wmf19' );
- }
-
/**
* Callback for hook SkinBuildSidebar
*
diff --git a/Collection.php b/Collection.php
index 7b99e8f..2f6f21a 100644
--- a/Collection.php
+++ b/Collection.php
@@ -229,7 +229,6 @@
$wgHooks['SiteNoticeAfter'][] = 'CollectionHooks::siteNoticeAfter';
$wgHooks['OutputPageCheckLastModified'][] =
'CollectionHooks::checkLastModified';
$wgHooks['UnitTestsList'][] = 'CollectionHooks::onUnitTestsList';
-$wgExtensionFunctions[] = 'CollectionHooks::onSetup';
$wgAvailableRights[] = 'collectionsaveasuserpage';
$wgAvailableRights[] = 'collectionsaveascommunitypage';
--
To view, visit https://gerrit.wikimedia.org/r/394628
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibf88c1d303077b0beb4b173e50ddc137837e95ff
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Collection
Gerrit-Branch: master
Gerrit-Owner: Chad <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits