[Mediawiki-l] Parser extension : add the caling page in a category

iubito iubito at gmail.com
Sat May 20 10:29:41 UTC 2006


Hi, I've made a little parser extension for my needs.

I want this extension add automatically the page where it's called to a
category, say Category:Foobar.

In my function, I wrote :
return $wgOut->parse('blabla[[Category:Foobar]]');

but my page isn't added to category Foobar. "blabla" is working very well.

What is wrong with my code ?
Thanks in advance,

--
Sylvain
http://tousauxbalkans.jexiste.fr
http://iubito.free.fr



More information about the MediaWiki-l mailing list