r9750 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r9749‎ | r9750 | r9751 >
Date:17:05, 28 June 2005
Author:avar
Status:old
Tags:
Comment:
* Using wfMsgForContent() rather than wfMsg() for getting msg:ipboptions
Modified paths:
  • /trunk/phase3/includes/SpecialBlockip.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialBlockip.php
@@ -75,7 +75,7 @@
7676 $scBlockExpiry = htmlspecialchars( $this->BlockExpiry );
7777 $scBlockReason = htmlspecialchars( $this->BlockReason );
7878 $scBlockOtherTime = htmlspecialchars( $this->BlockOther );
79 - $scBlockExpiryOptions = htmlspecialchars( wfMsg( 'ipboptions' ) );
 79+ $scBlockExpiryOptions = htmlspecialchars( wfMsgForContent( 'ipboptions' ) );
8080
8181 $showblockoptions = $scBlockExpiryOptions != '-';
8282 if (!$showblockoptions)

Status & tagging log