Skip to content

Commit a99df56

Browse files
authored
Version 1.6.0
Add Backward Compatibility with ´class_exists()´ statements in ´Compat.php´
1 parent 59efebd commit a99df56

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

includes/Hooks.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
use MediaWiki\User\User;
1616

1717
class Hooks implements MediaWikiPerformActionHook, SpecialPageBeforeExecuteHook {
18+
19+
public static function onRegistration() {
20+
Compat::init();
21+
}
22+
1823
/** @var string Prefix for special page names */
1924
private const SPECIAL_PAGE_PREFIX = 'Special:';
2025

0 commit comments

Comments
 (0)