Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a MediaWiki installation and pages listed on a category, and when I access the category it displays "Pages in category x" and then a 3-column list of pages. What I want is to change the column count to 1 or 2. Is there a way to do this?

Live example: http://en.wikipedia.org/wiki/Category:Wikis (it has 3 columns)

share|improve this question

closed as off topic by quack quixote May 15 '10 at 7:05

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers 2

up vote 1 down vote accepted

Skimming through Mediawiki documentation on categories, it seems you cannot configure the column count. (However, perhaps you could check out the DynamicPageList extension which has "multi column output", whatever that means...)

share|improve this answer

I found the answer myself.

There's no setting for this, but I managed to do this by modifying the source code.

The file "includes/CategoryPage.php" has a function "columnList", by changing the two numbers "3" to whatever you want will do it.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.