}
public function getStartForm( $from ) {
+ $submitClassName = '';
+ if ( $this->getConfig( 'UseMediaWikiUIEverywhere' ) ) {
+ $submitClassName = 'mw-ui-button mw-ui-progressive';
+ }
return Xml::tags(
'form',
array( 'method' => 'get', 'action' => wfScript() ),
$this->msg( 'categories' )->text(),
Xml::inputLabel(
$this->msg( 'categoriesfrom' )->text(),
- 'from', 'from', 20, $from ) .
+ 'from', 'from', 20, $from, array( 'class' => 'mw-ui-input-inline') ) .
' ' .
- Xml::submitButton( $this->msg( 'allpagessubmit' )->text()
+ Xml::submitButton(
+ $this->msg( 'allpagessubmit' )->text(),
+ array( 'class' => $submitClassName )
)
)
);