Make interwiki transclusion use the WAN cache
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 8 Jun 2018 20:43:03 +0000 (13:43 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 27 Aug 2018 19:32:04 +0000 (19:32 +0000)
commit6504e230743da300795304f174fe1d8fccd27175
treeeb760c12f40981f0c8026ee628028f553106d6c6
parentb4b93fb8364b5ae9cb5adf719e795579d593a892
Make interwiki transclusion use the WAN cache

This means that now:
* Entries actually get deleted when expired
* The transclusion cache is shared across wikis
* Large blobs that do not fit in cache no longer cause DB errors
* DB writes are not triggered on GET requests
* Keys are hashed and no longer need to be so restrictive

Also, add a "check key" based purge system and process cache the
text/html values similar to how regular revision text is cached.

Bug: T189702
Change-Id: I8ac12b53c02bb26857175dd5a4af29d49e03dc33
includes/page/WikiPage.php
includes/parser/Parser.php