Clean up a live hack from wmf-deployment r53208: option to short-circuit math path...
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 14 Sep 2009 21:58:41 +0000 (21:58 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 14 Sep 2009 21:58:41 +0000 (21:58 +0000)
commit3a70821dab8b4e2d684e34c701ae0184afb14059
tree80e65b7008f75b71c5e31080af0a8b489b1bbeae
parent415b4059b929f9609fa5f62d68224a01127901b7
Clean up a live hack from wmf-deployment r53208: option to short-circuit math path and file existence checks.
Adds $wgMathCheckFiles setting:

/**
 * 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.
 */
$wgMathCheckFiles = true;
includes/DefaultSettings.php
includes/Math.php