wiki.techinc.nl/tests/phpunit/includes/content
David Causse 9fbd8f500f Make the doc building for search aware of the revision
Added an optional RevisionRecord param to:
- ContentHandler::getParserOutputForIndexing
- ContentHandler::getDataForSearchIndex
- the SearchDataForIndex hook

So that they have a chance to build the content related to a specific
revision.

Ultimately we'd like to make this parameter mandatory.

Bug: T317309
Depends-On: I8b220cd6c4aeeca1d924bdd527409b8602318944
Depends-On: I8616b611caab3f5fa97ff0e655b19c3034304597
Change-Id: I3298ce7591069eb32f624b2c9fbb6de58ae04a29
2022-10-25 18:45:23 +02:00
..
Transform tests: don't assume wgLanguageCode is 'en' 2022-07-21 19:32:41 -04:00
ContentHandlerTest.php Make the doc building for search aware of the revision 2022-10-25 18:45:23 +02:00
ContentModelChangeTest.php tests: Replace deprecated WikiPage::factory 2022-09-02 19:34:02 +00:00
CssContentHandlerIntegrationTest.php Use canonical parser options when rendering JavaScript/CSS for side effects 2022-07-28 10:45:35 -04:00
CssContentHandlerTest.php tests: Migrate setMwGlobals() to overrideConfigValue(s)() 2022-07-23 05:53:49 +01:00
CssContentTest.php Merge "Add *ContentHandlerIntegrationTest" 2022-07-28 13:55:49 +00:00
FallbackContentHandlerTest.php Replace Content::getParserOutput call to ContentRenderer::getParserOutput 2021-10-20 12:11:24 +03:00
FallbackContentTest.php Replace Content::getParserOutput call to ContentRenderer::getParserOutput 2021-10-20 12:11:24 +03:00
JavaScriptContentHandlerIntegrationTest.php Use canonical parser options when rendering JavaScript/CSS for side effects 2022-07-28 10:45:35 -04:00
JavaScriptContentHandlerTest.php tests: Migrate setMwGlobals() to overrideConfigValue(s)() 2022-07-23 05:53:49 +01:00
JavaScriptContentTest.php Merge "Add *ContentHandlerIntegrationTest" 2022-07-28 13:55:49 +00:00
JsonContentHandlerIntegrationTest.php Customise error message for invalid JSON, add hook 2022-08-26 01:22:10 +05:30
MessageContentTest.php Use truncateForDatabase in MessageContent 2022-07-22 17:53:20 +02:00
RegistrationContentHandlerFactoryToMediaWikiServicesTest.php tests: Remove resetServiceForTesting after overrideConfigValues 2022-07-27 23:08:27 +02:00
TextContentHandlerIntegrationTest.php Add *ContentHandlerIntegrationTest 2022-07-21 15:30:14 -04:00
TextContentTest.php tests: Migrate setMwGlobals() to overrideConfigValue(s)() 2022-07-23 05:53:49 +01:00
WikitextContentHandlerIntegrationTest.php Parser: Use linkAnchor in section definition as well as anchor 2022-09-14 12:54:36 -04:00
WikitextContentHandlerTest.php tests: Migrate setMwGlobals() to overrideConfigValue(s)() 2022-07-23 05:53:49 +01:00
WikitextContentTest.php Add *ContentHandlerIntegrationTest 2022-07-21 15:30:14 -04:00
WikitextStructureTest.php Replace Content::getParserOutput call to ContentRenderer::getParserOutput 2021-10-20 12:11:24 +03:00