wiki.techinc.nl/tests/phpunit/unit/includes/cache
Tim Starling 16979ecf29 Fix pollution of LinkBatch/LinkCache with interwiki link
* In LinkBatch::addObj(), reject interwiki links with a warning.
  Otherwise the link is added to the batch by ns/title and later
  reconstructed as if it were a local link without an interwiki
  prefix.
* In CommentParser, treat interwiki links as always good, don't defer
  the existence check.
* In LinkBatch, inject a LoggerInstance instead of calling LoggerFactory
  in four places.
* Add a regression test, and some general tests for known links.

Bug: T300311
Change-Id: I0e5825eb48a6ba2932aea69a4d0fff3439c50ff5
2022-01-28 10:52:38 +11:00
..
BacklinkCacheFactoryTest.php Add BacklinkCacheFactory Service 2021-09-09 09:58:52 +01:00
CacheKeyHelperTest.php HTMLFileCache: replace Title in method signatures 2021-04-14 18:49:45 +02:00
HtmlCacheUpdaterTest.php HtmlCacheUpdater: replace Title in method signatures. 2021-04-16 11:04:26 +00:00
LinkBatchFactoryTest.php Fix pollution of LinkBatch/LinkCache with interwiki link 2022-01-28 10:52:38 +11:00