wiki.techinc.nl/includes/CommentFormatter
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
..
CommentBatch.php
CommentFormatter.php
CommentItem.php
CommentParser.php Fix pollution of LinkBatch/LinkCache with interwiki link 2022-01-28 10:52:38 +11:00
CommentParserFactory.php
RevisionCommentBatch.php
RowCommentFormatter.php
RowCommentIterator.php
StringCommentIterator.php