r48823 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48822‎ | r48823 | r48824 >
Date:14:20, 25 March 2009
Author:aaron
Status:ok
Tags:
Comment:
Don't show filter if there is only one level
Modified paths:
  • /trunk/extensions/FlaggedRevs/specialpages/QualityOversight_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/specialpages/QualityOversight_body.php
@@ -70,7 +70,10 @@
7171 '<fieldset><legend>' . wfMsgHtml('qualityoversight-legend') . '</legend><p>' .
7272 Xml::hidden( 'title', $wgTitle->getPrefixedDBKey() ) .
7373 FlaggedRevsXML::getNamespaceMenu( $this->namespace ) . '&nbsp;' .
74 - FlaggedRevsXML::getLevelMenu( $this->level, 'revreview-filter-all', 1 ) . '&nbsp;' .
 74+ ( FlaggedRevs::qualityVersions() ?
 75+ FlaggedRevsXML::getLevelMenu( $this->level, 'revreview-filter-all', 1 ) . '&nbsp;'
 76+ : ""
 77+ ) .
7578 Xml::inputLabel( wfMsg( 'specialloguserlabel' ), 'user', 'user', 20, $this->user ) . '<br/>' .
7679 FlaggedRevsXML::getStatusFilterMenu( $this->status ) . '&nbsp;' .
7780 FlaggedRevsXML::getAutoFilterMenu( $this->automatic ) . '&nbsp;' .

Status & tagging log