http://www.mediawiki.org/wiki/Special:Code/MediaWiki/95991
Revision: 95991
Author: siebrand
Date: 2011-09-01 14:40:56 +0000 (Thu, 01 Sep 2011)
Log Message:
-----------
Add some full message keys as they originate from these locations.
Modified Paths:
--------------
trunk/phase3/includes/specials/SpecialBlock.php
Modified: trunk/phase3/includes/specials/SpecialBlock.php
===================================================================
--- trunk/phase3/includes/specials/SpecialBlock.php 2011-09-01 14:33:57 UTC
(rev 95990)
+++ trunk/phase3/includes/specials/SpecialBlock.php 2011-09-01 14:40:56 UTC
(rev 95991)
@@ -834,27 +834,33 @@
# when blocking a user the option 'anononly' is not
available/has no effect -> do not write this into log
if( !$data['HardBlock'] && $type != Block::TYPE_USER ){
+ // For grepping: message block-log-flags-anononly
$flags[] = 'anononly';
}
if( $data['CreateAccount'] ){
+ // For grepping: message block-log-flags-nocreate
$flags[] = 'nocreate';
}
# Same as anononly, this is not displayed when blocking an IP
address
if( !$data['AutoBlock'] && $type != Block::TYPE_IP ){
+ // For grepping: message block-log-flags-noautoblock
$flags[] = 'noautoblock';
}
if( $data['DisableEmail'] ){
+ // For grepping: message block-log-flags-noemail
$flags[] = 'noemail';
}
if( $wgBlockAllowsUTEdit && $data['DisableUTEdit'] ){
+ // For grepping: message block-log-flags-nousertalk
$flags[] = 'nousertalk';
}
if( $data['HideUser'] ){
+ // For grepping: message block-log-flags-hiddenname
$flags[] = 'hiddenname';
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs