r95994 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95993‎ | r95994 | r95995 >
Date:15:00, 1 September 2011
Author:siebrand
Status:ok
Tags:
Comment:
Add some full message keys as they are used here.
Modified paths:
  • /trunk/phase3/includes/LogPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LogPage.php
@@ -529,6 +529,14 @@
530530 if( !isset( $messages[$flag] ) ) {
531531 $messages[$flag] = htmlspecialchars( $flag ); // Fallback
532532
 533+ // For grepping. The following core messages can be used here:
 534+ // * block-log-flags-angry-autoblock
 535+ // * block-log-flags-anononly
 536+ // * block-log-flags-hiddenname
 537+ // * block-log-flags-noautoblock
 538+ // * block-log-flags-nocreate
 539+ // * block-log-flags-noemail
 540+ // * block-log-flags-nousertalk
533541 $msg = wfMessage( 'block-log-flags-' . $flag )->inLanguage( $lang );
534542 if ( $msg->exists() ) {
535543 $messages[$flag] = $msg->escaped();

Status & tagging log