Hi Folks,
I'm interested in using Mediawiki 1.4.5 for an upcoming project at work, so
I've been poking around for a little while now, with various amounts of
success.
I'm looking for a way to insert category tags to whatever the user enters when
editing a page. I've been focusing in EditPage.php, and tried appending the
text ("[[category:test]]") to EditPage->textbox1 just before the
Article::insertNewArticle call, but it doesn't seem to work. Instead of a
link to my test category, I get a broken link to a "category:test" page.
I've also fooled with changing Article::getContent, but it seems like I
shouldn't have to change that code to do this. $wgHooks, too, but still no
luck.
I'd appreciate any help floating around out there. Thanks,
ry
--
Laissez Faire Economics is the theory that if
each acts like a vulture, all will end as doves.