From: Niklas Laxström Date: Tue, 22 May 2007 16:54:41 +0000 (+0000) Subject: * Returnto now works with special pages with subpage parameters X-Git-Tag: 1.31.0-rc.0~52822 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=eaaf62fbdc21c1b43440e18f3874f31bd7ab12d8;p=lhc%2Fweb%2Fwiklou.git * Returnto now works with special pages with subpage parameters --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 1ef30f3c00..27a859520b 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -84,6 +84,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Fix PHP strict standards warning in enhanced recent changes. * (bug 5850) Added hexadecimal html entities comments for $digitTransformTable entries. +* Returnto now works with special pages with subpage parameters == MediaWiki API changes since 1.10 == diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index cf88250993..36941097c6 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -423,7 +423,7 @@ class SpecialPage wfProfileOut( __METHOD__ ); return false; } elseif ( !$including ) { - $wgTitle = $page->getTitle(); + $wgTitle = $page->getTitle( $par ); } $page->including( $including );