mediawiki-extensions-Math/tests/phpunit/unit
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
..
WikiTexVC Enable more tests 2024-04-06 11:20:03 +00:00
HookRunnerTest.php Create HookRunner class and the hook handler interfaces 2023-06-05 22:47:33 +02:00
HooksTest.php Remove references to VisualEditorFullRestbaseURL 2023-08-18 20:17:48 +02:00
MathConfigTest.php Add MathJax rendering option 2024-06-24 00:03:07 +00:00
MathTest.php Use namespaced classes 2024-01-06 16:30:26 +01:00
MathWikibaseConnectorTest.php tests: Mock LoggerInterface to expect that a warning is thrown 2024-02-24 20:16:31 +01:00
MathWikibaseConnectorTestFactory.php Conditionally skip tests that depend on Wikibase 2024-04-08 14:46:09 +02:00
PopupTest.php Make dataProvider in PopupTest static 2023-10-21 21:06:06 +00:00
ServiceWiringTest.php tests: Make some PHPUnit data providers static 2023-05-21 11:00:48 +02:00