(bug 31088) [Regression] "Create account/log in" should use the current title and...
[lhc/web/wiklou.git] / includes / SpecialPageFactory.php
index 210c218..25adf22 100644 (file)
@@ -455,7 +455,7 @@ class SpecialPageFactory {
                                wfProfileOut( __METHOD__ );
                                return $title;
                        } else {
-                               $context->setTitle( $page->getTitle() );
+                               $context->setTitle( $page->getTitle( $par ) );
                        }
 
                } elseif ( !$page->isIncludable() ) {