Tag Archives: 扩展

media wiki使用bibtex扩展

下载和安装

进入media wiki的extensions目录:

cd ./extensions

下载扩展:

wget http://simson.net/src/Bibtex.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_Extension

注意事项

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

参考文献