Browse Source

Load CheckUser with wfLoadExtension.

This seems to be the preferred way to load extensions but FlaggedRevs doesn't support it for some reason, so we need to include it directly.
mw_31
Adrian Malacoda 8 months ago
parent
commit
abee89b732
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      configuration/MWSettings.php

+ 1
- 1
configuration/MWSettings.php View File

@@ -195,7 +195,7 @@ $wgRemoveGroups['bureaucrat'] = array( 'bureaucrat', 'sysop', 'QC' );
195 195
 $wgAddGroups['oversight'] = array( 'oversight', 'bureaucrat', 'sysop', 'QC' );
196 196
 $wgRemoveGroups['oversight'] = array( 'oversight', 'bureaucrat', 'sysop', 'QC' );
197 197
 
198
-include_once('extensions/CheckUser/CheckUser.php');
198
+wfLoadExtension("CheckUser");
199 199
 $wgGroupPermissions['sysop']['checkuser'] = true;
200 200
 $wgGroupPermissions['sysop']['checkuser-log'] = true;
201 201
 

Loading…
Cancel
Save