wiki.techinc.nl/includes/cache
daniel 855988fd0e LinkCache: soft deprecate addGoodLinkObj()
addGoodLinkObj() has many optional arguments, but omitting them actually
means corrupting the cache.

Nearly all existing callers are in tests.
So LinkCacheTestTrait::addGoodLinkObject() was created only
for testing. It is better to have this method in the
trait, because building the row directly in each test
would make these tests brittle against schema changes.

The only usage in WMF production code was in WikiPage and has been
fixed.

Bug: T284955
Change-Id: I03a2bd9ed64fcc0281ee29a286c8db395a9e03d9
2021-09-10 16:00:02 +02:00
..
dependency Merge "Replace "@stable for subclassing" with "@stable to extend"" 2020-07-13 09:31:38 +00:00
Hook Remove documentation that literally repeats the code 2020-10-27 19:20:26 +00:00
localisation localisation: Remove conditional for plurals-mediawiki.xml file 2021-08-05 01:44:41 +00:00
BacklinkCache.php Add BacklinkCacheFactory Service 2021-09-09 09:58:52 +01:00
BacklinkCacheFactory.php Add BacklinkCacheFactory Service 2021-09-09 09:58:52 +01:00
CacheKeyHelper.php Using @return never documentation on always-throw-function 2021-09-07 17:29:03 +02:00
FileCacheBase.php Improve class property documentation 2020-10-30 10:38:58 +01:00
GenderCache.php GenderCache: remove checking for valid usernames 2021-05-12 06:37:38 +00:00
HtmlCacheUpdater.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
HTMLFileCache.php HTMLFileCache: replace Title in method signatures 2021-04-14 18:49:45 +02:00
LinkBatch.php LinkBatch: skip bad input 2021-05-07 16:22:24 +02:00
LinkBatchFactory.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
LinkCache.php LinkCache: soft deprecate addGoodLinkObj() 2021-09-10 16:00:02 +02:00
MessageCache.php MessageCache: stop reading from $wgUser 2021-07-14 04:55:07 +00:00
ResourceFileCache.php Fix even more PSR12.Properties.ConstantVisibility.NotFound 2020-05-16 00:51:46 +01:00
UserCache.php Convert UserCache to a service 2020-10-20 20:13:38 +00:00