r108899 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108898‎ | r108899 | r108900 >
Date:13:15, 14 January 2012
Author:ialex
Status:ok
Tags:
Comment:
Fix comment, this doesn't use $wgTitle anymore
Modified paths:
  • /trunk/phase3/includes/SkinTemplate.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SkinTemplate.php
@@ -577,8 +577,8 @@
578578 # We need to do an explicit check for Special:Contributions, as we
579579 # have to match both the title, and the target (which could come
580580 # from request values or be specified in "sub page" form. The plot
581 - # thickens, because $wgTitle is altered for special pages, so doesn't
582 - # contain the original alias-with-subpage.
 581+ # thickens, because the Title object is altered for special pages,
 582+ # so doesn't contain the original alias-with-subpage.
583583 $origTitle = Title::newFromText( $request->getText( 'title' ) );
584584 if( $origTitle instanceof Title && $origTitle->isSpecialPage() ) {
585585 list( $spName, $spPar ) = SpecialPageFactory::resolveAlias( $origTitle->getText() );

Status & tagging log