X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialExpandTemplates.php;h=7241105561bf95ce65a51a8387183998d6774186;hb=cb78f7f82018d415073d021a13bfa6a999f0dcdb;hp=19d7a6bf75a88f645385662793cb45d70e4b873a;hpb=c9eaaf70939977469fd91d616892c9fb35404877;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialExpandTemplates.php b/includes/specials/SpecialExpandTemplates.php index 19d7a6bf75..7241105561 100644 --- a/includes/specials/SpecialExpandTemplates.php +++ b/includes/specials/SpecialExpandTemplates.php @@ -61,7 +61,7 @@ class SpecialExpandTemplates extends SpecialPage { $title = Title::newFromText( $titleStr ); if ( !$title ) { - $title = $this->getTitle(); + $title = $this->getPageTitle(); } $input = $request->getText( 'wpInput' ); $this->generateXML = $request->getBool( 'wpGenerateXml' ); @@ -138,7 +138,7 @@ class SpecialExpandTemplates extends SpecialPage { * @return string */ private function makeForm( $title, $input ) { - $self = $this->getTitle(); + $self = $this->getPageTitle(); $form = Xml::openElement( 'form', array( 'method' => 'post', 'action' => $self->getLocalUrl() )