r32830 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32829‎ | r32830 | r32831 >
Date:00:52, 6 April 2008
Author:aaron
Status:old
Tags:
Comment:
* Tweak messages
* Add fieldset
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevsPage.i18n.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/FlaggedRevsPage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevsPage.i18n.php
@@ -156,15 +156,14 @@
157157 'unreviewed-diff' => 'Changes',
158158 'unreviewed-list' => 'This page lists articles that have not been reviewed or have new, unreviewed, revisions.',
159159
160 - 'revreview-visibility' => 'This page has a [[{{MediaWiki:Validationpage}}|stable version]],
161 -which can be [{{fullurl:Special:Stabilization|page={{FULLPAGENAMEE}}}} configured].',
 160+ 'revreview-visibility' => "'''This page has a [[{{MediaWiki:Validationpage}}|stable version]]; settings for it can be [{{fullurl:Special:Stabilization|page={{FULLPAGENAMEE}}}} configured].'''",
162161
163162 'stabilization' => 'Page stabilization',
164163 'stabilization-text' => 'Change the settings below to adjust how the stable version of [[:$1|$1]] is selected and displayed.',
165164 'stabilization-perm' => 'Your account does not have permission to change the stable version configuration.
166165 Here are the current settings for [[:$1|$1]]:',
167166 'stabilization-page' => 'Page name:',
168 - 'stabilization-leg' => 'Configure the stable version for a page',
 167+ 'stabilization-leg' => 'Confirm stable version settings',
169168 'stabilization-select' => 'How the stable version is selected',
170169 'stabilization-select1' => 'The latest quality revision;
171170 if not present, then the latest sighted one',
Index: trunk/extensions/FlaggedRevs/FlaggedRevsPage.php
@@ -1132,10 +1132,13 @@
11331133 $form .= "<td>".Xml::label( wfMsg('stabilization-select2'), 'stable-select2' )."</td>";
11341134 $form .= "</tr></table></fieldset>";
11351135
1136 - $form .= '<table>';
11371136 if( $this->isAllowed ) {
 1137+ $form .= "<fieldset><legend>".wfMsgHtml('stabilization-leg')."</legend>";
 1138+ $form .= '<table>';
11381139 $form .= '<tr><td>'.Xml::label( wfMsg('stabilization-comment'), 'wpReason' ).'</td>';
11391140 $form .= '<td>'.Xml::input( 'wpReason', 60, $this->comment, array('id' => 'wpReason') )."</td></tr>";
 1141+ } else {
 1142+ $form .= '<table>';
11401143 }
11411144 $form .= '<tr>';
11421145 $form .= '<td><label for="expires">' . wfMsgExt( 'stabilization-expiry', array( 'parseinline' ) ) . '</label></td>';
@@ -1156,6 +1159,7 @@
11571160 $form .= Xml::hidden( 'wpEditToken', $wgUser->editToken() );
11581161
11591162 $form .= '<p>'.Xml::submitButton( wfMsg( 'stabilization-submit' ) ).'</p>';
 1163+ $form .= "</fieldset>";
11601164 }
11611165
11621166 $form .= '</form>';

Status & tagging log