X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialCategories.php;h=cea6ceb9b68e3d54bb89f1f207acac155a321727;hb=c54766586acab549f186e81eeab259845112809d;hp=371cd9f02871b48aac3e084f3823166177c622a4;hpb=2fe344a125a9d5f7ea03b2aaec92c4582a2c1fdc;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialCategories.php b/includes/specials/SpecialCategories.php index 371cd9f028..cea6ceb9b6 100644 --- a/includes/specials/SpecialCategories.php +++ b/includes/specials/SpecialCategories.php @@ -134,7 +134,7 @@ class CategoryPager extends AlphabeticPager { } function getIndexField() { -# return array( 'abc' => 'cat_title', 'count' => 'cat_pages' ); +# return array( 'abc' => 'cat_title', 'count' => 'cat_pages' ); return 'cat_title'; } @@ -145,13 +145,13 @@ class CategoryPager extends AlphabeticPager { 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; } @@ -180,10 +180,6 @@ class CategoryPager extends AlphabeticPager { } 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() ), @@ -192,11 +188,11 @@ class CategoryPager extends AlphabeticPager { $this->msg( 'categories' )->text(), Xml::inputLabel( $this->msg( 'categoriesfrom' )->text(), - 'from', 'from', 20, $from, array( 'class' => 'mw-ui-input-inline') ) . + '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' ) ) ) );