wiki.techinc.nl/includes/cache/Hook
Tim Starling d5ac0b40d0 BacklinkCache: cleanup, use fullResultCache with limit
* In queryLinks(), use the full result cache even if a limit is
  specified. Truncate the result in the caller if necessary.
* Remove the confusing boolean parameter from partitionResult(). Make it
  always false and fix up the results afterwards. So the batches are
  always the inclusive start and end IDs, false is never returned.
* Inject a logger instead of using wfDebug()
* Use private not protected. Defaulting to protected was just a coding
  style quirk I had at the time.
* In queryLinks(), use early return.
* In hooks BacklinkCacheGetConditionsHook and BacklinkCacheGetPrefixHook
  adjust the parameter type hint to avoid the need for a Phan override.

Change-Id: Ia53f494633affe48316f0a8b63d03596239ad53c
2024-06-28 15:04:16 +10:00
..
BacklinkCacheGetConditionsHook.php BacklinkCache: cleanup, use fullResultCache with limit 2024-06-28 15:04:16 +10:00
BacklinkCacheGetPrefixHook.php BacklinkCache: cleanup, use fullResultCache with limit 2024-06-28 15:04:16 +10:00
HtmlCacheUpdaterAppendUrlsHook.php
HtmlCacheUpdaterVaryUrlsHook.php
HTMLFileCache__useFileCacheHook.php