only call pageStats function in Skin::printFooter if $wgArticle is an object. this...
authorJack Phoenix <ashley@users.mediawiki.org>
Thu, 25 Dec 2008 18:47:42 +0000 (18:47 +0000)
committerJack Phoenix <ashley@users.mediawiki.org>
Thu, 25 Dec 2008 18:47:42 +0000 (18:47 +0000)
commit770201b4e24e29c185d3bed2be21458f66ff0e58
treeafcf3a0db3148316e0b8984f05f99549d3c86fc5
parent5f433d297e689b685acb487f7eeda09c3ead60d6
only call pageStats function in Skin::printFooter if $wgArticle is an object. this might not always be the case (tested with a custom skin extending the Skin class) and if so, a fatal error is shown on the page (tested with Special: pages) and footer won't be rendered
includes/Skin.php