From: Alexandre Emsenhuber Date: Sat, 14 Jan 2012 13:15:19 +0000 (+0000) Subject: Fix comment, this doesn't use $wgTitle anymore X-Git-Tag: 1.31.0-rc.0~25277 X-Git-Url: http://git.cyclocoop.org//%22javascript:ModifierStyle%28%27%22.%24id.%22%27%29/%22?a=commitdiff_plain;h=2c2f340e3621080a4d7bff03ac77bce236a9d797;p=lhc%2Fweb%2Fwiklou.git Fix comment, this doesn't use $wgTitle anymore --- diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index 7ac1faf4a1..d315d72b2f 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -577,8 +577,8 @@ class SkinTemplate extends Skin { # We need to do an explicit check for Special:Contributions, as we # have to match both the title, and the target (which could come # from request values or be specified in "sub page" form. The plot - # thickens, because $wgTitle is altered for special pages, so doesn't - # contain the original alias-with-subpage. + # thickens, because the Title object is altered for special pages, + # so doesn't contain the original alias-with-subpage. $origTitle = Title::newFromText( $request->getText( 'title' ) ); if( $origTitle instanceof Title && $origTitle->isSpecialPage() ) { list( $spName, $spPar ) = SpecialPageFactory::resolveAlias( $origTitle->getText() );