r28581 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r28580‎ | r28581 | r28582 >
Date:04:35, 17 December 2007
Author:aaron
Status:old
Tags:
Comment:
Tweak form order, add message
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevsPage.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/Language/FlaggedRevsPage.i18n.en.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/Language/FlaggedRevsPage.i18n.en.php
@@ -148,6 +148,7 @@
149149 'stabilization-notexists' => 'There is no page called "[[:$1|$1]]". No configuration is possible.',
150150 'stabilization-notcontent' => 'The page "[[:$1|$1]]" cannot be reviewed. No configuration is possible.',
151151 'stabilization-success' => 'Stable version configuration for [[:$1|$1]] successfuly set.',
 152+ 'stabilization-comment' => 'Comment:',
152153
153154 'stabilization-sel-short' => 'Precedence',
154155 'stabilization-sel-short-0' => 'Quality',
@@ -164,5 +165,5 @@
165166 'reviewedpages-lev-1' => 'Quality',
166167 'reviewedpages-lev-2' => 'Featured',
167168 'reviewedpages-all' => 'reviewed versions',
168 - 'reviewedpages-best' => 'latest highest rated revision'
 169+ 'reviewedpages-best' => 'latest highest rated revision',
169170 );
Index: trunk/extensions/FlaggedRevs/FlaggedRevsPage.php
@@ -1099,19 +1099,19 @@
11001100 $form .= "</tr></table></fieldset>";
11011101
11021102 if( $this->isAllowed ) {
 1103+ $form .= '<p>'.Xml::inputLabel( wfMsg( 'stabilization-comment' ), 'wpReason', 'wpReason', 60 ).'</p>';
 1104+
11031105 $watchLabel = wfMsgExt('watchthis', array('parseinline'));
11041106 $watchAttribs = array('accesskey' => wfMsg( 'accesskey-watch' ), 'id' => 'wpWatchthis');
11051107 $watchChecked = ( $wgUser->getOption( 'watchdefault' ) || $wgTitle->userIsWatching() );
1106 -
11071108 $form .= "<p>&nbsp;&nbsp;&nbsp;".Xml::check( 'wpWatchthis', $watchChecked, $watchAttribs );
11081109 $form .= "&nbsp;<label for='wpWatchthis'".$this->skin->tooltipAndAccesskey('watch').">{$watchLabel}</label>";
1109 -
 1110+
11101111 $form .= Xml::hidden('title', $wgTitle->getPrefixedText() );
11111112 $form .= Xml::hidden('page', $this->page->getPrefixedText() );
11121113 $form .= Xml::hidden( 'wpEditToken', $wgUser->editToken() );
11131114
1114 - $form .= '<p>'.Xml::inputLabel( wfMsg( 'revreview-log' ), 'wpReason', 'wpReason', 60 ).'</p>';
1115 - $form .= Xml::submitButton( wfMsg( 'stabilization-submit' ) );
 1115+ $form .= '<p>'.Xml::submitButton( wfMsg( 'stabilization-submit' ) ).'</p>';
11161116 }
11171117 $form .= '</form>';
11181118

Status & tagging log