From 2c2f340e3621080a4d7bff03ac77bce236a9d797 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 14 Jan 2012 13:15:19 +0000 Subject: [PATCH] Fix comment, this doesn't use $wgTitle anymore --- includes/SkinTemplate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() ); -- 2.20.1