media wiki使用bibtex扩展

下载和安装

进入media wiki的extensions目录:

cd ./extensions

下载扩展:

wget http://simson.net/src/.tar.gz

解压并且安装:

tar zxvf tar -xvzf Bibtex.tar.gz
mv Bibtex BibTex

设置LocalSettings.php:

require_once( "$IP/extensions/Bibtex/bibtex.php");

配置bibtex(bibstyle.php):

$wbib_usejavascript  = true;             # Sometimes people don't want to use js. I can understand it.
$wbib_allowbibpopup  = true;             # A link named bibtex is appearing. It can pop with the bibtex reference like in ACM libraries
$wbib_allowdivpopup  = true;             # A div is popping when the cursor is over the link named bibtex;

效果请参考:

http://simson.net/page/Mediawiki_Bibtex_

注意事项

一定要把Bibtex重新命名为BibTex,要不然无法加载bibtex.css文件。

参考文献

知识共享许可协议
本作品《media wiki使用bibtex扩展》verynix创作,采用知识共享署名-非商业性使用-禁止演绎 3.0 Unported许可协议进行许可。
基于verynix.com上的作品创作。
Permissions beyond the scope of this license may be available at verynix.com.

本文链接: http://verynix.com/media-wiki-bibtex-extension.html

Post Footer automatically generated by wp-posturl plugin for wordpress.

Leave a Reply

Your email address will not be published. Required fields are marked *