Last modified: 2014-02-13 23:27:29 UTC
My server log file shows the following entries when a page using the Math extension needs rendering: - [error] PHP Notice: - Missing texvc executable; please see math/README to configure. - in /wiki/extensions/Math/MathInputCheckTexvc.php on line 51, - referer: http://wiki/e/index.php?title=Formula&action=edit How to reproduce: - latest MediaWiki core code - latest E:Math code The math/README file is silent about this specific message "Missing texvc executable; please see math/README to configure" and does not give any guidance to avoid this message. The texvc executable is present in /wiki/extensions/Math/math directory, and rendering and the extension as such _works_. Solution / Suggestion: It appears that this specific PHP Notice is triggered by a missing Texvccheck code, this should be fixed by the maintainer and/or a corresponding help text is to be added to math/README file.
and in Math.php this text appears to be wrong: /** * The link to the texvc executable */ $wgMathTexvcCheckExecutable = dirname( __FILE__ ) . '/texvccheck/texvccheck'; should be /** * The link to the texvccheck executable */ $wgMathTexvcCheckExecutable = dirname( __FILE__ ) . '/texvccheck/texvccheck';
Change 112589 had a related patch set uploaded by Physikerwelt: Differntiate missing texvccheck from missing texvc https://gerrit.wikimedia.org/r/112589
(In reply to comment #1) > and in Math.php this text appears to be wrong: > > /** > * The link to the texvc executable > */ > $wgMathTexvcCheckExecutable = dirname( __FILE__ ) . '/texvccheck/texvccheck'; > > > > should be > > /** > * The link to the texvccheck executable > */ > $wgMathTexvcCheckExecutable = dirname( __FILE__ ) . '/texvccheck/texvccheck'; I don't see the difference.
> I don't see the difference. * The link to the texvc executable must become * The link to the texvccheck executable
(In reply to comment #4) > > I don't see the difference. > > > * The link to the texvc executable > > must become > > * The link to the texvccheck executable OK thank you fixed that.
Change 112589 merged by jenkins-bot: Differentiate missing texvccheck from missing texvc https://gerrit.wikimedia.org/r/112589