Jump to content

Manual:$wgMathCheckFiles

From mediawiki.org
TeX: $wgMathCheckFiles
Check whether directory and file exist when generating math images.
Introduced in version:1.16.0 (r56343)
Removed in version:1.18.0
Allowed values:(boolean)
Default value:true

Details

Normally when generating math images, we double-check that the directories we want to write to exist, and that files that have been generated still exist when we need to bring them up again.

This lets us give useful error messages in case of permission problems, and automatically rebuild images that have been lost.

On a big site with heavy NFS traffic this can be slow and flaky, so sometimes we want to short-circuit it by setting this to false.