mediawiki-extensions-Discus.../tests
Bartosz Dziewoński a27e27fc68 Move finding transclusion source from ContentThreadItem to CommentParser
Reasons:
* Various other methods dealing with ranges already live there
* It would be neat if ContentThreadItem was just a value class
  without a lot of logic, similar to DatabaseThreadItem,
  particularly for writing unit tests
* The methods access global state through Title, which can't
  be fixed while they're in ContentThreadItem (see I9dfccc83)

The computation is now always done, instead of only when needed,
but that's a small drawback, since it's fast (fast enough that
I don't see the difference in the time taken when running tests),
and we were already computing it for all comments in many places.

Change-Id: Ic718a964e309ae3a8e15e299081f46d4db860731
2023-12-11 22:18:30 +01:00
..
cases Ignore signatures with invalid timestamps 2023-12-05 13:23:15 +00:00
data
phpunit Move finding transclusion source from ContentThreadItem to CommentParser 2023-12-11 22:18:30 +01:00
qunit Remove file headers and @copyright tags, not used consistently in this repo 2023-12-04 12:30:56 +00:00