mediawiki-extensions-Math/tests/phpunit
Moritz Schubotz (physikerwelt) 11dc0e4b97 Add MathJax rendering option
When collecting user feedback regarding the native
rendering option on the German Wikipedia (T346795)
it became apparent that some power users aim for bigger
and bolder fonts and a more LaTeX-like layout.
MathML, however, aims to format math as an integral part
of the text with uniform fonts and spacing.

To match both user needs, this patch adds a new rendering
option that uses client-side MathJax (without a need for
restbase or mathoid).

* Adjust MathJax`s loader to be compatible with the mw loader
* Add new rendering mode
* Copy MathJax source to resource module as foreign repo

Bug: T354136
Change-Id: I1ecf9c77fefc3b0f717107d81979276023f6cb84
(cherry picked from commit 277663b822)
2024-06-24 00:03:07 +00:00
..
data/restbase
InputCheck Fix purging of cache in native mode 2024-02-05 20:56:19 +01:00
integration PreferencesIntegrationTest: CA will fail on null User objects 2024-02-19 13:21:40 +03:00
unit Add MathJax rendering option 2024-06-24 00:03:07 +00:00
DummyPropertyDataTypeLookup.php
MathCacheTest.php Remove explicit DB access 2024-01-11 15:57:02 +00:00
MathDataUpdaterTest.php Use namespaced classes 2024-01-06 16:30:26 +01:00
MathFormatterTest.php Use namespaced IDatabase class 2023-08-19 12:03:02 +08:00
MathIdTest.php Remove PNG rendering mode 2022-11-21 18:57:27 +00:00
MathLaTeXMLCacheTest.php Remove explicit DB access 2024-01-11 15:57:02 +00:00
MathLaTeXMLTest.php MediaWikiTestCase -> MediaWikiIntegrationTestCase 2021-10-12 00:51:10 +02:00
MathMathMLTest.php Make use of upstream assertStatusGood/Error and such 2023-09-28 15:15:43 +00:00
MathMLRdfBuilderTest.php Use namespaced IDatabase class 2023-08-19 12:03:02 +08:00
MathMockHttpTrait.php Math: test usage of URL in HttpMultiClient 2023-05-08 18:19:30 +00:00
MathNativeMMLTest.php Use namespaced IDatabase class 2023-08-19 12:03:02 +08:00
MathoidCliTest.php MediaWikiTestCase -> MediaWikiIntegrationTestCase 2021-10-12 00:51:10 +02:00
MathRendererTest.php Remove explicit DB access 2024-01-11 15:57:02 +00:00
MathRestbaseInterfaceTest.php Remove functional dead code about PNG images 2023-10-30 10:46:08 +00:00
MathSourceTest.php Remove some unused methods. 2022-06-27 18:20:06 +00:00
MathValidatorTest.php MediaWikiTestCase -> MediaWikiIntegrationTestCase 2021-10-12 00:51:10 +02:00