| Index: trunk/phase3/includes/specials/SpecialBlock.php |
| — | — | @@ -834,27 +834,33 @@ |
| 835 | 835 | |
| 836 | 836 | # when blocking a user the option 'anononly' is not available/has no effect -> do not write this into log |
| 837 | 837 | if( !$data['HardBlock'] && $type != Block::TYPE_USER ){ |
| | 838 | + // For grepping: message block-log-flags-anononly |
| 838 | 839 | $flags[] = 'anononly'; |
| 839 | 840 | } |
| 840 | 841 | |
| 841 | 842 | if( $data['CreateAccount'] ){ |
| | 843 | + // For grepping: message block-log-flags-nocreate |
| 842 | 844 | $flags[] = 'nocreate'; |
| 843 | 845 | } |
| 844 | 846 | |
| 845 | 847 | # Same as anononly, this is not displayed when blocking an IP address |
| 846 | 848 | if( !$data['AutoBlock'] && $type != Block::TYPE_IP ){ |
| | 849 | + // For grepping: message block-log-flags-noautoblock |
| 847 | 850 | $flags[] = 'noautoblock'; |
| 848 | 851 | } |
| 849 | 852 | |
| 850 | 853 | if( $data['DisableEmail'] ){ |
| | 854 | + // For grepping: message block-log-flags-noemail |
| 851 | 855 | $flags[] = 'noemail'; |
| 852 | 856 | } |
| 853 | 857 | |
| 854 | 858 | if( $wgBlockAllowsUTEdit && $data['DisableUTEdit'] ){ |
| | 859 | + // For grepping: message block-log-flags-nousertalk |
| 855 | 860 | $flags[] = 'nousertalk'; |
| 856 | 861 | } |
| 857 | 862 | |
| 858 | 863 | if( $data['HideUser'] ){ |
| | 864 | + // For grepping: message block-log-flags-hiddenname |
| 859 | 865 | $flags[] = 'hiddenname'; |
| 860 | 866 | } |
| 861 | 867 | |