wiki.techinc.nl/tests/phpunit/includes/content
Jon Robson d1662dca59 Parser: Use linkAnchor in section definition as well as anchor
The anchor property comes from Sanitizer::escapeIdForAttribute() and
should be used if you want to (eg) look up an element by ID using
document.getElementById(). The linkAnchor property comes from
Sanitizer::escapeIdForLink() and contains additional escaping
appropriate for use in a URL fragment, and should be used (eg) if you
are creating the href attribute of an <a> tag.

Bug: T315222
Change-Id: Icecf9640a62117c2729dca04af343fb1ddaaf8f8
2022-09-14 12:54:36 -04:00
..
Transform tests: don't assume wgLanguageCode is 'en' 2022-07-21 19:32:41 -04:00
ContentHandlerTest.php tests: Remove resetServiceForTesting after overrideConfigValues 2022-07-27 23:08:27 +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