Index: trunk/phase3/includes/Preferences.php |
— | — | @@ -209,6 +209,7 @@ |
210 | 210 | ); |
211 | 211 | |
212 | 212 | if( $wgAuth->allowPasswordChange() ) { |
| 213 | + global $wgUser; // For skin. |
213 | 214 | $link = $wgUser->getSkin()->link( SpecialPage::getTitleFor( 'Resetpass' ), |
214 | 215 | wfMsgHtml( 'prefs-resetpass' ), array(), |
215 | 216 | array( 'returnto' => SpecialPage::getTitleFor( 'Preferences' ) ) ); |