Index: trunk/extensions/PasswordReset/PasswordReset_body.php |
— | — | @@ -18,7 +18,7 @@ |
19 | 19 | } |
20 | 20 | |
21 | 21 | function execute( $par ) { |
22 | | - global $wgRequest, $wgOut, $wgUser, $wgTitle; |
| 22 | + global $wgRequest, $wgOut, $wgUser; |
23 | 23 | |
24 | 24 | $this->setHeaders(); |
25 | 25 | |
— | — | @@ -94,7 +94,7 @@ |
95 | 95 | return true; |
96 | 96 | } |
97 | 97 | </script>" . |
98 | | - Xml::openElement( 'form', array( 'method' => 'post', 'action' => $wgTitle->getLocalUrl(), 'id' => 'passwordresetform' ) ) . |
| 98 | + Xml::openElement( 'form', array( 'method' => 'post', 'action' => $this->getTitle()->getLocalUrl(), 'id' => 'passwordresetform' ) ) . |
99 | 99 | Xml::openElement( 'table', array( 'id' => 'mw-passwordreset-table' ) ) . |
100 | 100 | "<tr> |
101 | 101 | <td class='mw-label'>" . |