mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-28 01:10:09 +00:00
9ba4ef269d
Change I9b1d68c4faa8d177d8d0088fa1a5879caed4f1fe added an indiscriminant call to writeCache(). I assume that it was supposed to be regulated by the check for $this->isRecall() (which is a getter for '$this->recall'), but there was no concomitant change to ensure that recall is set true on cache hits. My fix does not set recall to true. The style of "pass-by-attribute" is tricky and should be factored out by a subsequent change. This change moves the call to writeCache() so that it is only called on cache miss. Change-Id: I9b690e55001859c97fd40330272791d49ec6de75 |
||
---|---|---|
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.