r53701 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53700‎ | r53701 | r53702 >
Date:23:27, 23 July 2009
Author:ashley
Status:deferred
Tags:
Comment:
fix RemoveAvatar page if wiki isn't using short urls
Modified paths:
  • /trunk/extensions/SocialProfile/UserProfile/SpecialRemoveAvatar.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SocialProfile/UserProfile/SpecialRemoveAvatar.php
@@ -85,8 +85,9 @@
8686 * Show the form for retrieving a user's current avatar
8787 */
8888 function showUserForm() {
89 - $output = '<form method="get" name="avatar" action="">
90 - <b>' . wfMsg( 'username' ) . '</b>
 89+ $output = '<form method="get" name="avatar" action="">'
 90+ . Xml::hidden( 'title', $this->getTitle() ) .
 91+ '<b>' . wfMsg( 'username' ) . '</b>
9192 <input type="text" name="user" />
9293 <input type="submit" value="' . wfMsg( 'search' ) . '" />
9394 </form>';

Status & tagging log