r41400 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41399‎ | r41400 | r41401 >
Date:20:03, 29 September 2008
Author:vasilievvv
Status:old
Tags:
Comment:
Fix silly typo.
Modified paths:
  • /trunk/phase3/includes/specials/SpecialRestrictUser.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialRestrictUser.php
@@ -97,7 +97,7 @@
9898 $useRequestValues ? $wgRequest->getVal( 'expiry' ) : false );
9999 $form['restrictuser-reason'] = Xml::input( 'reason', false,
100100 $useRequestValues ? $wgRequest->getVal( 'reason' ) : false );
101 - $wgOut->addHTML( Xml::buildForm( $form, 'restrictuser-sumbit' ) );
 101+ $wgOut->addHTML( Xml::buildForm( $form, 'restrictuser-submit' ) );
102102 $wgOut->addHTML( "</form></fieldset>" );
103103 }
104104
@@ -165,7 +165,7 @@
166166 $useRequestValues ? $wgRequest->getVal( 'expiry' ) : false );
167167 $form['restrictuser-reason'] = Xml::input( 'reason', false,
168168 $useRequestValues ? $wgRequest->getVal( 'reason' ) : false );
169 - $wgOut->addHTML( Xml::buildForm( $form, 'restrictuser-sumbit' ) );
 169+ $wgOut->addHTML( Xml::buildForm( $form, 'restrictuser-submit' ) );
170170 $wgOut->addHTML( "</form></fieldset>" );
171171 }
172172
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -2658,7 +2658,7 @@
26592659 'restrictuser-namespace' => 'Namespace:',
26602660 'restrictuser-expiry' => 'Expires:',
26612661 'restrictuser-reason' => 'Reason:',
2662 -'restrictuser-sumbit' => 'Restrict user',
 2662+'restrictuser-submit' => 'Restrict user',
26632663 'restrictuser-badtitle' => 'Invalid title specified: $1.',
26642664 'restrictuser-badnamespace' => 'Invalid namespace specified.',
26652665 'restrictuser-badexpiry' => 'Invalid expiry specified: $1.',

Status & tagging log