tested: does work in a MW 1.32
Extension talk:Bibtex
Appearance
original line:
if($wbibmacros[$field_text] != ""){
changed line:
if(isset($wbibmacros[$field_text]) != ""){
The original line causes a lot of warning entries in the error logs, such as
PHP Notice: Undefined offset: 2011 in .../extensions/BibTex/BibTex.php on line 353
PHP Notice: Undefined index: Pittsburgh, PA in .../extensions/BibTex/BibTex.php on line 353
Did not work on my 1.28.2 mediawiki (The special:Version page did not even load anymore) --Loizbec (talk) 15:32, 29 August 2017 (UTC)
Mine works well. (mediawiki : 1.29.1 PHP : 5.6.30 MariaDB : 10.0.32 OS : Raspbian GNU/Linux 8 )
- add require_once "$IP/extensions/BibTex/BibTex.php"; to your LocalSettings.php notice : do not use wfLoadExtension
- and update mediawiki by $ cd wiki/maintenance $ php update.php
You could add
# debug echo for datebase
$wgShowExceptionDetails = true;
$wgShowDBErrorBacktrace = true;
# debug echo for php
error_reporting( -1 );
ini_set( 'display_errors', 1 );
to your LocalSettings.php to check out the error.
There are no older topics