- public function getStartForm( $from ) {
- global $wgScript;
-
- return
- Xml::tags( 'form', array( 'method' => 'get', 'action' => $wgScript ),
- Html::hidden( 'title', $this->getTitle()->getPrefixedText() ) .
- Xml::fieldset( $this->msg( 'categories' )->text(),
- Xml::inputLabel( $this->msg( 'categoriesfrom' )->text(),
- 'from', 'from', 20, $from ) .
- ' ' .
- Xml::submitButton( $this->msg( 'allpagessubmit' )->text() ) ) );
+ protected function getHTMLFormFields() {
+ return array(
+ 'From' => array(
+ 'type' => 'text',
+ 'label-message' => 'categoriesfrom',
+ 'size' => '20',
+ ),
+ );
+ }
+
+ protected function getHTMLFormLegend() {
+ return 'categories';
+ }
+
+ protected function getHTMLFormSubmit() {
+ return 'allpagessubmit';