Mediawiki:将代码输入皮肤只出现在某些页面上?

时间:2013-02-19 10:21:39

标签: mediawiki facebook-comments skin

背景

我正在尝试在我的Mediaskin php文件中添加一个Facebook评论框,但是当我使用下面的代码时,每个页面上都会显示该框。

代码

<!-- /debughtml -->
</div>
<br />
<center><div class="fb-comments" data-width="800" data-num-posts="100" data-colorscheme="dark"></div></center>
<!-- /bodyContent -->

问题

如何让Facebook评论仅在阅读页面上显示(网址中包含index.php?title=的网页,但网址末尾没有&action=edit

0 个答案:

没有答案