r56422 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56421‎ | r56422 | r56423 >
Date:18:00, 16 September 2009
Author:churchofemacs
Status:ok
Tags:
Comment:
Follow-up on r56420 and r56318: adjust SpecialRenameuser to fit to new LogEventsList::showLogExtract parameter order
Modified paths:
  • /trunk/extensions/Renameuser/SpecialRenameuser.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Renameuser/SpecialRenameuser.php
@@ -70,7 +70,8 @@
7171 if ( $title->getNamespace() == NS_USER || $title->getNamespace() == NS_USER_TALK ) {
7272 // Get the title for the base userpage
7373 $page = Title::makeTitle( NS_USER, str_replace( ' ', '_', $title->getBaseText() ) )->getPrefixedDBkey();
74 - LogEventsList::showLogExtract( $wgOut, 'renameuser', $page, '', 10, array(), false, array( 'renameuser-renamed-notice', $title->getBaseText() ) );
 74+ LogEventsList::showLogExtract( $wgOut, 'renameuser', $page, '', array( 'lim' => 10, 'showIfEmpty' => false,
 75+ 'msgKey' => array( 'renameuser-renamed-notice', $title->getBaseText() ) ) );
7576 }
7677 return true;
7778 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r56318Use the new ShowMissingArticle hook (r56317) to show the rename log on userpa...mrzman18:11, 14 September 2009
r56420Follow-up on r56284: LogEventsList::showLogExtract gets associative array for...churchofemacs17:17, 16 September 2009

Status & tagging log