On 22/03/07, revansx@cox.net revansx@cox.net wrote:
Does anyone know if the wikidb pages table's "pageid" value is available as a global php variable throughout the page rendering process. If so, I could use it in the stylesheet. right!? anyone?
This might be accessible through the global $wgTitle, which is an instance of Title representing the title being viewed/edited/deleted/painted pink (whatever "title=" in the URL points to), etc. - for instance:
global $wgTitle; $id = $wgTitle->getArticleId();
Rob Church