https://bugzilla.wikimedia.org/show_bug.cgi?id=22922
--- Comment #4 from nx.devn...@gmail.com 2011-10-13 18:17:01 UTC --- And the extension to test this: <?php if ( !defined( 'MEDIAWIKI' ) ) { exit; } $wgHooks['BlockIp'][] = 'BlockIpTest'; $wgExtensionMessagesFiles['PageList'] = dirname( __FILE__ ) . '/blocktest.i18n.php'; function BlockIpTest( &$ban, &$user, &$error ) { $error = 'test-abort'; return false; } and blocktest.i18n.php is: <?php $messages = array(); $messages['en'] = array( 'test-abort' => 'Testing block abort', ); -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l