Extension talk:Bibtex
Add topicAppearance
Latest comment: 7 years ago by MW Kappa in topic running in MW 1.32
| This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
1.28 Compatibility
[edit]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. Bsplu (talk) 20:51, 24 October 2017 (UTC)
change line 353 in file bibtex.php
[edit]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 353PHP Notice: Undefined index: Pittsburgh, PA in .../extensions/BibTex/BibTex.php on line 353MW Kappa (talk) 18:35, 5 March 2019 (UTC)
running in MW 1.32
[edit]tested: does work in a MW 1.32 MW Kappa (talk) 14:54, 18 March 2019 (UTC)