Fix comment, this doesn't use $wgTitle anymore
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 14 Jan 2012 13:15:19 +0000 (13:15 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 14 Jan 2012 13:15:19 +0000 (13:15 +0000)
includes/SkinTemplate.php

index 7ac1faf..d315d72 100644 (file)
@@ -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() );