If it's there
global $wgArticle
This should have a property title, which is an instance of a title object...if that IS the case, and assuming my memory functions...
global $wgArticle; $this = $wgArticle->title->GetText();
You'll have to double-check this...
Rob Church
On 30/11/05, Amruta Lonkar gtg808u@mail.gatech.edu wrote:
How do i access this object to get the id?. I cant figure out that.
Thanks
Quoting Rob Church robchur@gmail.com:
What do you mean by the "current article ID"? There is a global $wgArticle object knocking about...
Rob Church
On 30/11/05, Amruta Lonkar gtg808u@mail.gatech.edu wrote:
I wanted to know how i can access the current article id from YourExtensionName.php
Thanks
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
-- Amruta _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l