如何在mediawiki中添加google analytics统计代码?
在/wiki/skins/MonoBook.php中</body></html>标签前加入相应的google统计代码便可以统计所有页面
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-XXXXX-X"; urchinTracker(); </script>
来源:http://www.stoltenow.com/archives/2006/09/adding_google_a.html