* Returnto now works with special pages with subpage parameters
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Tue, 22 May 2007 16:54:41 +0000 (16:54 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Tue, 22 May 2007 16:54:41 +0000 (16:54 +0000)
RELEASE-NOTES
includes/SpecialPage.php

index 1ef30f3..27a8595 100644 (file)
@@ -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 ==
 
index cf88250..3694109 100644 (file)
@@ -423,7 +423,7 @@ class SpecialPage
                        wfProfileOut( __METHOD__ );
                        return false;
                } elseif ( !$including ) {
-                       $wgTitle = $page->getTitle();
+                       $wgTitle = $page->getTitle( $par );
                }
                $page->including( $including );