$title = Title::newFromText( $titleStr );
if ( !$title ) {
- $title = $this->getTitle();
+ $title = $this->getPageTitle();
}
$input = $request->getText( 'wpInput' );
$this->generateXML = $request->getBool( 'wpGenerateXml' );
}
$this->showHtmlPreview( $title, $rawhtml, $out );
-
}
-
}
/**
* @return string
*/
private function makeForm( $title, $input ) {
- $self = $this->getTitle();
+ $self = $this->getPageTitle();
$form = Xml::openElement(
'form',
array( 'method' => 'post', 'action' => $self->getLocalUrl() )