I do have access to the title and namespace which i didn't think about
earlier.
Thanks,
satya
On Wed, 2005-08-31 at 18:12 -0500, Dori wrote:
On 8/31/05, Satyaseelan Viswanathan
<sviswanathan(a)spikesource.com> wrote:
I have the following piece of code embedded in
the wiki page
<comments>
title={{PAGENAME}}
namespace={{NAMESPACE}}
</comments>
Do you actually need those there? If you're running an extension,
don't you have access to directly to $this->mTitle->getText() and
$wgLang->getNsText($this->mTitle->getNamespace()) or whatever they're
called nowadays?
Dori
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l