}
function getIndexField() {
-# return array( 'abc' => 'cat_title', 'count' => 'cat_pages' );
+# return array( 'abc' => 'cat_title', 'count' => 'cat_pages' );
return 'cat_title';
}
return $this->mDefaultQuery;
}
-# protected function getOrderTypeMessages() {
-# return array( 'abc' => 'special-categories-sort-abc',
-# 'count' => 'special-categories-sort-count' );
-# }
+# protected function getOrderTypeMessages() {
+# return array( 'abc' => 'special-categories-sort-abc',
+# 'count' => 'special-categories-sort-count' );
+# }
protected function getDefaultDirections() {
-# return array( 'abc' => false, 'count' => true );
+# return array( 'abc' => false, 'count' => true );
return false;
}
}
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( 'categoriesfrom' )->text(),
'from', 'from', 20, $from, array( 'class' => 'mw-ui-input-inline' ) ) .
' ' .
- Xml::submitButton(
+ Html::submitButton(
$this->msg( 'allpagessubmit' )->text(),
- array( 'class' => $submitClassName )
+ array(), array( 'mw-ui-progressive' )
)
)
);