Disclaimer: I am not a coder. I need to pull in a unique identifier for each Wiki page for use as a Javascript variable for a script in a customized Monobook skin (pre v1.16). wgArticleId seems to be the perfect way to do so, as it does not change with redirects and is not defined for deleted or special pages. Can someone point me in the correct direction on how to pull in this value within the skin's PHP file itself? I'm not looking for an extension, etc. I need to make the changes directly in the skin.
Thanks for your assistance!