$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() )
$out->addHTML( $html );
$out->addHTML( Html::closeElement( 'div' ) );
}
+
+ protected function getGroupName() {
+ return 'wiki';
+ }
}