Alter the qty of sub-cats listed from within a category

Jump to: navigation, search

Hi everyone - thanks for the hard work you do answering all of these questions!

  • MediaWiki 1.16.5
  • PHP 5.1.6 (apache2handler)
  • MySQL 5.0.77-log

http://www.cookipedia.co.uk/wiki

I run a pretty large MediaWiki and I would like to change the way the sub-categories are displayed. For example: one of the categories, 'Cheeses' contains 119 sub-categories comprising of around 2000 pages. When viewing this top-level category I would really like visitors to be able to view all of its subcategories from the first page of the top-level category, whereas currently one can only see sub-cats from A to B. A visitor has to click the (next 200) link 9 times to see a sub-category starting with T.

I recall finding the way to adjust the amount of pages displayed from the category view, but not the number of sub-categories.

Is there a config option I have missed or do I need a plugin to alter this behaviour?

CookipediaChef19:59, 30 January 2012

$wgCategoryPagingLimit controls the limit for all the sections of the category (subcats, normal pages, and images). If you want to have just one section have a higher limit, you'd need to write an extension (I'm not aware of any already existing).

Bawolff02:15, 2 February 2012

Thanks Bawolff

That's what I thought, but it's nice to have it confirmed.

CookipediaChef11:50, 2 February 2012
 
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox