Gergő Tisza has uploaded a new change for review. https://gerrit.wikimedia.org/r/292754
Change subject: Updatefor AbuseFilter configuration changes ...................................................................... Updatefor AbuseFilter configuration changes Update for I790d39c2849922d7daf7479f298cd90cf30af129 This is a search&replace patch; I did not try to verify that this works or is a sane thing to do. Change-Id: I2403f878ce33d66ba191e532e208444399c01ed9 --- M Premoderation.class.php 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Premoderation refs/changes/54/292754/1 diff --git a/Premoderation.class.php b/Premoderation.class.php index d52003a..d6bc45d 100644 --- a/Premoderation.class.php +++ b/Premoderation.class.php @@ -13,7 +13,7 @@ if( !class_exists( 'AbuseFilter' ) ) { exit( 'You must install AbuseFilter extension before using option $wgPremoderationType = \'abusefilter\'.' ); } - $wgAbuseFilterAvailableActions[] = 'moderation'; + $wgAbuseFilterActions['moderation'] = true; $wgAbuseFilterCustomActionsHandlers['moderation'] = 'Premoderation::handleAFAction'; break; } @@ -182,4 +182,4 @@ dirname( __FILE__ ) . '/db_whitelist.sql', true ) ); return true; } -} \ No newline at end of file +} -- To view, visit https://gerrit.wikimedia.org/r/292754 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2403f878ce33d66ba191e532e208444399c01ed9 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Premoderation Gerrit-Branch: master Gerrit-Owner: Gergő Tisza <gti...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits