Index: trunk/extensions/LookupUser/LookupUser.php |
— | — | @@ -68,14 +68,15 @@ |
69 | 69 | } |
70 | 70 | |
71 | 71 | function showForm( $target ) { |
72 | | - global $wgOut; |
73 | | - $title = $this->getTitle(); |
74 | | - $action = htmlspecialchars( $title->getLocalURL() ); |
| 72 | + global $wgScript, $wgOut; |
| 73 | + $title = htmlspecialchars( $this->getTitle()->getPrefixedText() ); |
| 74 | + $action = htmlspecialchars( $wgScript ); |
75 | 75 | $target = htmlspecialchars( $target ); |
76 | 76 | $username = htmlspecialchars( wfMsg( 'lookupuser_username' ) ); |
77 | 77 | |
78 | 78 | $wgOut->addHTML( <<<EOT |
79 | 79 | <form method="get" action="$action"> |
| 80 | +<input type="hidden" name="title" value="{$title}" /> |
80 | 81 | <table border="0"> |
81 | 82 | <tr> |
82 | 83 | <td align="right">$username</td> |