Tobin Richard wrote:
I've made some changes to Parser.php on my local install to make category pages a little neater. You can take a look at http://meta.wikipedia.org/wiki/Image:Category_sort_example.png for a fairly recent screenshot.
Things changed are
- Three column view of sub categories and articles
- List view of subcategories and articles (if there are only a few)
- headings for the first letter of sort keys in article and subcategory
lists
- "Category" doesn't appear before subcategories and
- Display of the number of articles and subcategories.
I have no idea if this code is safe/well thought out/whatever but it works fine on my local mediawiki installation.
And no picking on my php skills ;-)
Tobin.
My version of the categoryMagic function follows. Just about everything after "# For all pages that link to this category" is changed.
<snip code>
Hello Tobin,
It looks great. I think we should implement it while we are still in beta :o)