Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php |
— | — | @@ -583,11 +583,13 @@ |
584 | 584 | # than the site default. |
585 | 585 | if( !$sktmp->mTitle->isTalkPage() && $wgUser->isAllowed('stablesettings') ) { |
586 | 586 | $stabTitle = SpecialPage::getTitleFor( 'Stabilization' ); |
587 | | - $content_actions['default'] = array( |
588 | | - 'class' => false, |
589 | | - 'text' => wfmsg('stabilization-tab'), |
590 | | - 'href' => $stabTitle->getLocalUrl('page='.$title->getPrefixedUrl()) |
591 | | - ); |
| 587 | + if( !isset($content_actions['protect']) && !isset($content_actions['unprotect']) ) { |
| 588 | + $content_actions['default'] = array( |
| 589 | + 'class' => false, |
| 590 | + 'text' => wfmsg('stabilization-tab'), |
| 591 | + 'href' => $stabTitle->getLocalUrl('page='.$title->getPrefixedUrl()) |
| 592 | + ); |
| 593 | + } |
592 | 594 | } |
593 | 595 | // Add auxillary tabs... |
594 | 596 | if( !$wgFlaggedRevTabs ) |