r24137 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24136‎ | r24137 | r24138 >
Date:23:16, 15 July 2007
Author:aaron
Status:old
Tags:
Comment:
*Give rejected list it's own message
Modified paths:
  • /trunk/extensions/ConfirmAccount/ConfirmAccount.i18n.php (modified) (history)
  • /trunk/extensions/ConfirmAccount/ConfirmAccount_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ConfirmAccount/ConfirmAccount_body.php
@@ -603,7 +603,10 @@
604604
605605 $pager = new ConfirmAccountsPager( $this, array(), $this->showRejects );
606606 if ( $pager->getNumRows() ) {
607 - $wgOut->addHTML( wfMsgExt('confirmacount-list', array('parse') ) );
 607+ if( $this->showRejects )
 608+ $wgOut->addHTML( wfMsgExt('confirmacount-list2', array('parse') ) );
 609+ else
 610+ $wgOut->addHTML( wfMsgExt('confirmacount-list', array('parse') ) );
608611 $wgOut->addHTML( $pager->getNavigationBar() );
609612 $wgOut->addHTML( "<ul>" . $pager->getBody() . "</ul>" );
610613 $wgOut->addHTML( $pager->getNavigationBar() );
Index: trunk/extensions/ConfirmAccount/ConfirmAccount.i18n.php
@@ -56,6 +56,9 @@
5757 'confirmacount-list' => 'Below is a list of account requests awaiting approval.
5858 Approved accounts will be created and removed from this list. Rejected accounts will simply be deleted from this
5959 list.',
 60+ 'confirmacount-list2' => 'Below is a list recently rejected account requests which may automatically be deleted
 61+ once several days old. They can still be approved into accounts, though you may want to first consult the rejecting
 62+ admin before doing so.',
6063 'confirmacount-text' => 'This is a pending request for a user account at \'\'\'{{SITENAME}}\'\'\'. Carefully
6164 review and if needed, confirm, all the below information. Note that you can choose to create the account under a
6265 different username. Use this only to avoid collisions with other names.

Status & tagging log