r24146 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24145‎ | r24146 | r24147 >
Date:06:40, 16 July 2007
Author:aaron
Status:old
Tags:
Comment:
*Tweak subtitle
Modified paths:
  • /trunk/extensions/ConfirmAccount/ConfirmAccount_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ConfirmAccount/ConfirmAccount_body.php
@@ -576,17 +576,16 @@
577577 }
578578
579579 function showList() {
580 - global $wgOut, $wgUser, $wgTitle, $wgLang;
 580+ global $wgOut, $wgUser, $wgTitle, $wgLang, $wgSaveRejectedAccountReqs;
581581
582582 if( $this->showRejects ) {
583583 $listLink = $this->skin->makeKnownLinkObj( $wgTitle, wfMsgHtml( 'confirmaccount-back' ) );
584 - } else {
 584+ } else if( $wgSaveRejectedAccountReqs ) {
585585 $listLink = $this->skin->makeKnownLinkObj( $wgTitle, wfMsgHtml( 'confirmaccount-back2' ),
586586 wfArrayToCGI( array('wpShowRejects' => 1 ) ) );
587587 }
588588 $wgOut->setSubtitle( '<p>'.$listLink.'</p>' );
589 -
590 - global $wgSaveRejectedAccountReqs;
 589+
591590 if( $wgSaveRejectedAccountReqs ) {
592591 # Every 100th view, prune old deleted items
593592 wfSeedRandom();

Status & tagging log