On 01/02/07, Vernon Thommeret <synotic(a)gmail.com> wrote:
In short, how might I make it so that links to
categories are active
if there are any links in the categories, regardless of whether there
is content in the pages?
I'm guessing you mean you want them rendered as a blue link all the
time. Probably the best way to do this is to hack includes/Linker.php
- find the method Linker::isAlwaysKnown() and add NS_CATEGORY to the
namespace conditions for it to return true.
This will cause MediaWiki to treat all links to category pages as
being known to exist. In the case where the category doesn't exist,
this will merely lead to a blank category page listing the category
members. For existing categories, it will continue to work as normal,
of course.
Rob Church