r52371 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52370‎ | r52371 | r52372 >
Date:19:20, 24 June 2009
Author:ialex
Status:deferred
Tags:
Comment:
use getPrefixedText() to not trigger object->text conversion
Modified paths:
  • /branches/REL1_15/phase3/includes/specials/SpecialPreferences.php (modified) (history)

Diff [purge]

Index: branches/REL1_15/phase3/includes/specials/SpecialPreferences.php
@@ -813,7 +813,7 @@
814814 # Password
815815 if( $wgAuth->allowPasswordChange() ) {
816816 $link = $wgUser->getSkin()->link( SpecialPage::getTitleFor( 'ResetPass' ), wfMsgHtml( 'prefs-resetpass' ),
817 - array() , array('returnto' => SpecialPage::getTitleFor( 'Preferences') ) );
 817+ array() , array( 'returnto' => SpecialPage::getTitleFor( 'Preferences' )->getPrefixedText() ) );
818818 $wgOut->addHTML(
819819 $this->tableRow( Xml::element( 'h2', null, wfMsg( 'changepassword' ) ) ) .
820820 $this->tableRow( '<ul><li>' . $link . '</li></ul>' ) );

Follow-up revisions

RevisionCommit summaryAuthorDate
r53179* Updates for 1.15.1...tstarling16:47, 13 July 2009

Status & tagging log