From: Aaron Schulz Date: Tue, 1 May 2007 20:38:11 +0000 (+0000) Subject: *Remove double-escaping and inconsistent capitalization X-Git-Tag: 1.31.0-rc.0~53140 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=4944455688985d75b674d663c215b0931dec5cec;p=lhc%2Fweb%2Fwiklou.git *Remove double-escaping and inconsistent capitalization --- diff --git a/includes/SpecialBlockip.php b/includes/SpecialBlockip.php index 5f47fa13fc..d21b6d2e20 100644 --- a/includes/SpecialBlockip.php +++ b/includes/SpecialBlockip.php @@ -240,7 +240,7 @@ class IPBlockForm {   - " . Xml::submitButton( wfMsgHtml( 'ipbsubmit' ), + " . Xml::submitButton( wfMsg( 'ipbsubmit' ), array( 'name' => 'wpBlock', 'tabindex' => '10' ) ) . " diff --git a/includes/SpecialProtectedpages.php b/includes/SpecialProtectedpages.php index 483c135db5..d66fe4e5b5 100644 --- a/includes/SpecialProtectedpages.php +++ b/includes/SpecialProtectedpages.php @@ -39,7 +39,7 @@ class ProtectedPagesForm { ""; $s .= $pager->getNavigationBar(); } else { - $s = '

' . wfMsgHTML( 'protectedpagesempty' ) . '

'; + $s = '

' . wfMsgHtml( 'protectedpagesempty' ) . '

'; } $wgOut->addHTML( $s ); } @@ -121,9 +121,9 @@ class ProtectedPagesForm { */ function getSizeLimit( $sizetype, $size ) { $out = Xml::radio( 'sizetype', 'min', ($sizetype=='min'), array('id' => 'wpmin') ); - $out .= Xml::label( wfMsgHtml("minimum-size"), 'wpmin' ); + $out .= Xml::label( wfMsg("minimum-size"), 'wpmin' ); $out .= " ".Xml::radio( 'sizetype', 'max', ($sizetype=='max'), array('id' => 'wpmax') ); - $out .= Xml::label( wfMsgHtml("maximum-size"), 'wpmax' ); + $out .= Xml::label( wfMsg("maximum-size"), 'wpmax' ); $out .= " ".Xml::input('size', 9, $size, array( 'id' => 'wpsize' ) ); $out .= ' '.wfMsg('pagesize'); return $out;