mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-23 23:25:02 +00:00
20192a1ab8
Output hash calcuation sometimes fails because of Texvc failure for example, and $this->hash remains ''. At this time inserting null as outputhash into database is improper, because that column is NOT NULL. With this patch an empty string '' is inserted instead, and the if-check is modified to avoid cases where ->hash exists but evaluates as null (for example when it's '0000000000...' though it's extremely rare). Change-Id: I852859f4b151b777c11b743faaed61dfc2c029a7 |
||
---|---|---|
db | ||
math | ||
modules | ||
tests | ||
.gitignore | ||
.gitreview | ||
.jshintignore | ||
.jshintrc | ||
Math.hooks.php | ||
Math.i18n.php | ||
Math.php | ||
MathMathJax.php | ||
mathParserTests.txt | ||
MathRenderer.php | ||
MathSource.php | ||
MathTexvc.php | ||
README |
This version (for MediaWiki 1.19) has some changes since previous versions: * rendering options have been reduced to just 'Always PNG' and 'Leave it as TeX' ** all other rendering options will merge to PNG. * initial experimental support for integrating MathJax client-side rendering See the README in the math subdirectory for more info on setting up the low-level conversion tools. For testing your installation run php tests/phpunit/phpunit.php extensions/Math/tests/ from your MediWiki home path.