Apply changes made live on Wikimedia cluster related to preprocessor caching to subve...
authorAndrew Garrett <werdna@users.mediawiki.org>
Mon, 9 Feb 2009 23:18:37 +0000 (23:18 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Mon, 9 Feb 2009 23:18:37 +0000 (23:18 +0000)
commit252ef37028af515326bf281bf40ad80792540a2d
tree1b337840756f2918bcc0206707d9863e4c88e708
parent0821fa7da9ce9112736f790b06d66726fcb9e7b1
Apply changes made live on Wikimedia cluster related to preprocessor caching to subversion. Patch worked on by Tim Starling and myself.

Changes from the original patch (r46936):
* Add versioning to the cache, so the cache can be purged.
* Only cache preprocessor output for input of over a certain amount (default of 1000 bytes).
includes/DefaultSettings.php
includes/parser/Preprocessor_DOM.php
includes/parser/Preprocessor_Hash.php