r95991 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95990‎ | r95991 | r95992 >
Date:14:40, 1 September 2011
Author:siebrand
Status:ok
Tags:
Comment:
Add some full message keys as they originate from these locations.
Modified paths:
  • /trunk/phase3/includes/specials/SpecialBlock.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialBlock.php
@@ -834,27 +834,33 @@
835835
836836 # when blocking a user the option 'anononly' is not available/has no effect -> do not write this into log
837837 if( !$data['HardBlock'] && $type != Block::TYPE_USER ){
 838+ // For grepping: message block-log-flags-anononly
838839 $flags[] = 'anononly';
839840 }
840841
841842 if( $data['CreateAccount'] ){
 843+ // For grepping: message block-log-flags-nocreate
842844 $flags[] = 'nocreate';
843845 }
844846
845847 # Same as anononly, this is not displayed when blocking an IP address
846848 if( !$data['AutoBlock'] && $type != Block::TYPE_IP ){
 849+ // For grepping: message block-log-flags-noautoblock
847850 $flags[] = 'noautoblock';
848851 }
849852
850853 if( $data['DisableEmail'] ){
 854+ // For grepping: message block-log-flags-noemail
851855 $flags[] = 'noemail';
852856 }
853857
854858 if( $wgBlockAllowsUTEdit && $data['DisableUTEdit'] ){
 859+ // For grepping: message block-log-flags-nousertalk
855860 $flags[] = 'nousertalk';
856861 }
857862
858863 if( $data['HideUser'] ){
 864+ // For grepping: message block-log-flags-hiddenname
859865 $flags[] = 'hiddenname';
860866 }
861867

Status & tagging log