Index: trunk/phase3/includes/SkinTemplate.php |
— | — | @@ -577,8 +577,8 @@ |
578 | 578 | # We need to do an explicit check for Special:Contributions, as we |
579 | 579 | # have to match both the title, and the target (which could come |
580 | 580 | # 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. |
583 | 583 | $origTitle = Title::newFromText( $request->getText( 'title' ) ); |
584 | 584 | if( $origTitle instanceof Title && $origTitle->isSpecialPage() ) { |
585 | 585 | list( $spName, $spPar ) = SpecialPageFactory::resolveAlias( $origTitle->getText() ); |