mediawiki: AbuseFilter fix
authorGrant Slater <git@firefishy.com>
Sat, 2 Jan 2016 08:00:47 +0000 (08:00 +0000)
committerGrant Slater <git@firefishy.com>
Sat, 2 Jan 2016 08:00:47 +0000 (08:00 +0000)
cookbooks/mediawiki/templates/default/mw-ext-AbuseFilter.inc.php.erb

index 4c9216ac0d9b9cd7a7510734671593ea841f09e6..4528b22304308a77846359eea6af538ed25d9141 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 # DO NOT EDIT - This file is being maintained by Chef
 <?php
 # DO NOT EDIT - This file is being maintained by Chef
-wfLoadExtension( 'AbuseFilter' );
+require_once($IP .'/extensions/AbuseFilter/AbuseFilter.php');
 $wgGroupPermissions['sysop']['abusefilter-modify'] = true;
 $wgGroupPermissions['*']['abusefilter-log-detail'] = true;
 $wgGroupPermissions['*']['abusefilter-view'] = true;
 $wgGroupPermissions['sysop']['abusefilter-modify'] = true;
 $wgGroupPermissions['*']['abusefilter-log-detail'] = true;
 $wgGroupPermissions['*']['abusefilter-view'] = true;