wiki.techinc.nl/tests/phpunit/unit/includes/watcheditem
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
..
NoWriteWatchedItemStoreUnitTest.php Reduce duplication in NoWriteWatchedItemStoreUnitTest 2021-07-23 08:07:46 +00:00
WatchedItemQueryServiceUnitTest.php rdbms: Add more return typehints 2021-09-07 08:23:36 +00:00
WatchedItemStoreUnitTest.php Fix pollution of LinkBatch/LinkCache with interwiki link 2022-01-28 10:52:38 +11:00
WatchedItemUnitTest.php Remove $actor field from UsererIdentityValue 2021-04-13 18:18:06 +00:00