mediawiki-extensions-Discus.../tests/phpunit
C. Scott Ananian 086ce6550f Don't rely on ParserOutput::getTOCHTML() to determine if ToC is present
ParserOutput::getTOCHTML() is being deprecated, and all skins are now
generating the TOC from the TOCData returned by
ParserOutput::getTOCData().  The SHOW_TOC flag was introduced in core
to determine if the TOC should be shown, but Vector-2022 *may* begin to
use other heuristics to determine whether to show the TOC (T315862).
We're conservatively going to process the TOC as long as there is
TOC present to process.

Bug: T328072
Change-Id: I38b439c6752157dbee9b09c9f5443a740dbaabf4
2023-01-27 09:58:47 +00:00
..
integration Don't rely on ParserOutput::getTOCHTML() to determine if ToC is present 2023-01-27 09:58:47 +00:00
unit Ship HTML test files for JS using 'packageFiles' instead of 'templates' 2022-10-12 22:45:41 +00:00
CommentFormatterTest.php CommentFormatterTest: Fix PHP 8.1 deprecation warning 2022-11-10 23:03:06 +01:00
CommentModifierTest.php Place replies outside transclusions, disallow replying to transcluded comments 2022-11-14 19:17:18 +01:00
CommentParserTest.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
CommentUtilsTest.php Follow-up be012ced: tests: Provide some basic direct tests for CommentUtils::getTitleFromUrl 2022-11-29 15:43:18 -05:00
ContentThreadItemTest.php Only filter code coverage at the class level 2022-09-15 14:08:30 +02:00
EventDispatcherTest.php Only filter code coverage at the class level 2022-09-15 14:08:30 +02:00
IntegrationTestCase.php Set $wgUsePigLatinVariant = false while running tests 2021-12-01 23:25:30 +01:00
LanguageDataTest.php LanguageData: Use special page alias with spaces 2023-01-16 22:27:23 +01:00
MockCommentFormatter.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
MockEventDispatcher.php Separate ContentThreadItem and DatabaseThreadItem etc. 2022-07-04 23:35:50 +02:00
MockLanguageData.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
MockSubscriptionStore.php Automatic topic subscriptions (on any edit) 2021-11-15 22:45:42 +01:00
ServiceWiringTest.php Test ServiceWiring.php 2023-01-13 12:01:38 +00:00
TestUtils.php Use FormatJson helper for outputting pretty JSON for tests 2022-10-12 00:52:52 +02:00
ThreadItemStoreTest.php ThreadItemStoreTest: Add test for old revisions of indistinguishable comments 2022-10-20 03:50:47 +02:00