Cache NS_TEMPLATE/NS_FILE titles in LinkCache persistently
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 2 Sep 2016 14:19:13 +0000 (07:19 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 7 Sep 2016 07:20:26 +0000 (00:20 -0700)
commit8ebec93feab9b844f3229645962d82c429ba84fa
treefd28127fdfab52cc9be5a142060c6d773a12d213
parent14ad76b2f7a89524ceb3c74bfd8112d9c1711e47
Cache NS_TEMPLATE/NS_FILE titles in LinkCache persistently

Queries from parsing are the top use of selectRow() according
to reverse flame graphs on xenon. This does not bother with
pages in namespaces less likely to be included.

Change-Id: Ica5d6e52c830cd71effff21933b8c64691082c11
includes/ServiceWiring.php
includes/Title.php
includes/cache/LinkCache.php
includes/page/WikiPage.php
tests/phpunit/includes/linker/LinkRendererTest.php