http://www.mediawiki.org/wiki/Special:Code/MediaWiki/95994
Revision: 95994
Author: siebrand
Date: 2011-09-01 15:00:42 +0000 (Thu, 01 Sep 2011)
Log Message:
-----------
Add some full message keys as they are used here.
Modified Paths:
--------------
trunk/phase3/includes/LogPage.php
Modified: trunk/phase3/includes/LogPage.php
===================================================================
--- trunk/phase3/includes/LogPage.php 2011-09-01 14:52:30 UTC (rev 95993)
+++ trunk/phase3/includes/LogPage.php 2011-09-01 15:00:42 UTC (rev 95994)
@@ -529,6 +529,14 @@
if( !isset( $messages[$flag] ) ) {
$messages[$flag] = htmlspecialchars( $flag ); //
Fallback
+ // For grepping. The following core messages can be
used here:
+ // * block-log-flags-angry-autoblock
+ // * block-log-flags-anononly
+ // * block-log-flags-hiddenname
+ // * block-log-flags-noautoblock
+ // * block-log-flags-nocreate
+ // * block-log-flags-noemail
+ // * block-log-flags-nousertalk
$msg = wfMessage( 'block-log-flags-' . $flag
)->inLanguage( $lang );
if ( $msg->exists() ) {
$messages[$flag] = $msg->escaped();
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs