wiki.techinc.nl/includes/parser
Brad Jorsch da43a0ae34 ParserCache: Delete old-style key when saving
It was noticed that disk usage on the parser cache machines was
increasing since shortly after wmf.4 was redeployed everywhere on the
9th. One theory is that I7fb9ffca9 causes this by making reparses for an
existing old-style cache entry start writing the new-style key where
they would previously have overwritten the old-style key. On that
theory, let's delete that old-style key (that should now be useless) on
save.

I'm assuming here that firing a blind delete for keys that probably
don't exist in the cache (i.e. every new edit) isn't going to hurt
anything. If that's not the case, we'd need to check existence before
deleting.

Bug: T167784
Change-Id: Ie5efb05722cb7da2a90da195a1f244468177175d
2017-06-14 13:42:36 +00:00
..
BlockLevelPass.php Add \b to regexes in BlockLevelPass to avoid confusing tr & track 2017-05-20 00:53:05 +02:00
CacheTime.php Deprecate Parser::disableCache 2016-06-18 19:55:43 +00:00
CoreParserFunctions.php includes: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 18:13:24 +00:00
CoreTagHooks.php SECURITY: Disable <html> tag on system messages despite $wgRawHtml = true; 2017-03-28 21:51:44 +00:00
DateFormatter.php Miscellaneous indentation tweaks 2017-02-27 19:23:54 +01:00
LinkHolderArray.php Replace use of &$this 2017-01-31 23:01:54 -05:00
MWTidy.php Add benchmarkTidy.php, to benchmark tidy drivers 2017-04-21 01:02:22 +00:00
Parser.php Merge "Parser: Better debugging of lock errors ("Did you call Parser::parse recursively?")" 2017-05-30 19:01:45 +00:00
ParserCache.php ParserCache: Delete old-style key when saving 2017-06-14 13:42:36 +00:00
ParserDiffTest.php Fix php code style 2017-05-05 12:03:54 +00:00
ParserOptions.php ParserOptions: Fix handling of 'editsection' 2017-06-14 04:52:36 +00:00
ParserOutput.php Use isSpecialPage() where possible 2017-04-29 22:31:42 +02:00
Preprocessor.php parser: Avoid deprecated wfMemcKey() 2017-05-25 12:05:49 -07:00
Preprocessor_DOM.php Protect language converter markup in the preprocessor (take 2). 2017-05-23 15:43:49 +01:00
Preprocessor_Hash.php Protect language converter markup in the preprocessor (take 2). 2017-05-23 15:43:49 +01:00
StripState.php Require strip marker names to not have & ' " < or > in them 2016-04-26 13:53:26 -04:00