Made getCachedRevisionObject() use MapCacheLRU
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 20 Aug 2014 23:41:59 +0000 (16:41 -0700)
committerBryanDavis <bdavis@wikimedia.org>
Fri, 22 Aug 2014 18:12:29 +0000 (18:12 +0000)
commitb728d6920b05c8b667651f7e99d749496474f02b
treec6c488ce47dd1ec866b773a462921629fc1df4cc
parent9dba3ee10b9fdec428f167287163a7f6d0d67ae6
Made getCachedRevisionObject() use MapCacheLRU

* Previously the cache size was unbounded and leaky
* Also made MapCacheLRU handle null values properly

Change-Id: Ia02258cf051e1ccf11457c758741b8c7922afe89
includes/cache/MapCacheLRU.php
includes/parser/CoreParserFunctions.php