r63739 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63738‎ | r63739 | r63740 >
Date:13:19, 14 March 2010
Author:aaron
Status:ok
Tags:
Comment:
Check useProtectionLevels() here too
Modified paths:
  • /trunk/extensions/FlaggedRevs/specialpages/StablePages_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/specialpages/StablePages_body.php
@@ -69,7 +69,7 @@
7070 $link = $this->skin->makeKnownLinkObj( $title, $title->getPrefixedText() );
7171
7272 $stitle = SpecialPage::getTitleFor( 'Stabilization' );
73 - if ( count( FlaggedRevs::getProtectionLevels() ) ) {
 73+ if ( FlaggedRevs::useProtectionLevels() ) {
7474 $config = $this->skin->makeKnownLinkObj( $title, wfMsgHtml( 'stablepages-config' ),
7575 'action=protect' );
7676 } else {

Status & tagging log