Index: trunk/extensions/Renameuser/SpecialRenameuser.php |
— | — | @@ -70,7 +70,8 @@ |
71 | 71 | if ( $title->getNamespace() == NS_USER || $title->getNamespace() == NS_USER_TALK ) { |
72 | 72 | // Get the title for the base userpage |
73 | 73 | $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() ) ) ); |
75 | 76 | } |
76 | 77 | return true; |
77 | 78 | } |