wiki.techinc.nl/tests/phpunit/includes/cache
Roan Kattouw bcb6b9d0eb MessageCache: Fix isMainCacheable() logic for non-content languages
The way isMainCacheable() was used, it always returned false in
non-content languages, because it would try to find strings like
'hidetoc/fr' in the array of message keys (which contains strings like
'hidetoc').

The consequence of this was that MessageCache would check the database
for a MediaWiki:hidetoc/fr page even if it already knew that that page
didn't exist. This is a substantial performance hit when requesting lots
of messages, like when building version hashes for ResourceLoader's
startup module.

Follows-up 4fc5ba8bf8.

Bug: T228555
Change-Id: I20433175ca919acc1c995f4a9cd50ca53afcdd02
2019-07-20 03:41:14 +00:00
..
GenderCacheTest.php Add missing newline between <?php and namespace/use section 2019-06-03 13:36:48 +00:00
LocalisationCacheTest.php
MessageCacheTest.php MessageCache: Fix isMainCacheable() logic for non-content languages 2019-07-20 03:41:14 +00:00