Index: trunk/extensions/Renameuser/SpecialRenameuser.php |
— | — | @@ -68,7 +68,8 @@ |
69 | 69 | global $wgOut; |
70 | 70 | $title = $article->getTitle(); |
71 | 71 | if ( $title->getNamespace() == NS_USER || $title->getNamespace() == NS_USER_TALK ) { |
72 | | - $page = $title->getPrefixedDBkey(); |
| 72 | + // Get the title for the base userpage |
| 73 | + $page = Title::makeTitle( NS_USER, str_replace( ' ', '_', $title->getBaseText() ) )->getPrefixedDBkey(); |
73 | 74 | LogEventsList::showLogExtract( $wgOut, 'renameuser', $page, '', 10, array(), false, 'renameuser-renamed-notice' ); |
74 | 75 | } |
75 | 76 | return true; |