Add some full message keys as they originate from these locations.
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Thu, 1 Sep 2011 14:40:56 +0000 (14:40 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Thu, 1 Sep 2011 14:40:56 +0000 (14:40 +0000)
includes/specials/SpecialBlock.php

index ffce940..8bf8267 100644 (file)
@@ -834,27 +834,33 @@ class SpecialBlock extends SpecialPage {
 
                # 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';
                }