r60131 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60130‎ | r60131 | r60132 >
Date:19:49, 16 December 2009
Author:aaron
Status:ok
Tags:
Comment:
Removed 'stabilized' checkbox when pending edits are always to such pages to begin with
Modified paths:
  • /trunk/extensions/FlaggedRevs/specialpages/OldReviewedPages_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/specialpages/OldReviewedPages_body.php
@@ -70,7 +70,7 @@
7171 FlaggedRevsXML::getLevelMenu( $this->level, 'revreview-filter-stable' ) . '</span> '
7272 : ""
7373 ) .
74 - ( !FlaggedRevs::showStableByDefault() ?
 74+ ( (!FlaggedRevs::showStableByDefault() && !FlaggedRevs::forDefaultVersionOnly()) ?
7575 "<span style='white-space: nowrap;'>" .
7676 Xml::check( 'stable', $this->stable, array( 'id' => 'wpStable' ) ) .
7777 Xml::label( wfMsg('oldreviewed-stable'), 'wpStable' ) . '</span> '
@@ -307,7 +307,8 @@
308308 $this->category = $category ? str_replace(' ','_',$category) : NULL;
309309 $this->size = ($size !== null) ? intval($size) : NULL;
310310 $this->watched = (bool)$watched;
311 - $this->stable = $stable && !FlaggedRevs::showStableByDefault();
 311+ $this->stable = $stable && !FlaggedRevs::showStableByDefault()
 312+ && !FlaggedRevs::forDefaultVersionOnly();
312313 parent::__construct();
313314 // Don't get to expensive
314315 $this->mLimitsShown = array( 20, 50, 100 );

Status & tagging log