[Mediawiki-l] Special:Categories links: "action != edit"

Brianna Laugher brianna.laugher at gmail.com
Wed Oct 24 04:21:13 UTC 2007


On 24/10/2007, Marko Milisavljevic <marko at cognistudio.com> wrote:
> One way is by hacking Linker.php. On line 242, replace:
>
> if ( 0 == $aid ) {
>
> with:
>
> if ( 0 == $aid && $nt->getNamespace() != NS_CATEGORY ) { // hack to make
> text-less categories appear blue

Correct me if I'm wrong, but that will only make the links blue. They
will still go to action=edit because the page doesn't exist yet. No?

cheers
Brianna

-- 
They've just been waiting in a mountain for the right moment:
http://modernthings.org/



More information about the MediaWiki-l mailing list