* Add native to default valid modes.
* Remove old Mathoid mode from the default valid modes.
* Set native as the default choice, replacing Mathoid.
* Adjust fallback mechanism.
Bug: T373705
Change-Id: Ie6412623577e3f954c1302417d1b1b667f88863e
Instead of manually crafted $this->testCase properties.
Also make use of the dedicated PHPUnit feature to mark as test as
passed. While assertTrue( true ) is a very common hack it can be
confusing.
Change-Id: Ic071bf561929c2a79537111bee18631865f91366
Add doc-typehints to class properties found by the PropertyDocumentation
sniff to improve the documentation and to remove the exclusion of the
sniff.
The activated sniff avoids that new code is missing doc-typehints or
real-typehints.
Change-Id: Id7fcfd086cdbb3f040091e1d1a81472e7a524091
As far as I can see, the package was introduced by mistake in 951dec1.
CI works just fine when the package is removed.
Bug: T280331
Change-Id: I17330cb7786df0739a18c482360a56d733a67f41
Update test to find MathML element instead of image.
This is required since the default in labs in now MathML.
Bug: T372872
Change-Id: I4e9500effaca9cef704f06ec003a0e01bdcfb3f1
Just removing unused code that never did anything. Note this is only
in a test. As long as all tests still succeed this can't really cause
any problems, I believe.
Change-Id: I272803353eed9de0ecf98c55b75710df16da2c44
The following sniffs now pass and were enabled:
* MediaWiki.WhiteSpace.SpaceBeforeClassBrace.BraceNotOnOwnLine
Change-Id: I45423c35f407881dfc774708ac6eeab69a094913
When converting from JS to PHP the grammar rules for 4 byte UTF-8
chars were converted in a way that makes the code unreachable.
* Remove the unreachable code for now code
Bug: T319521
Change-Id: Icdb3c71bb738e8f55ce190daef0534794de35eec
The SpecialPage MathStatus tried to get the HTML output even if the rendering was not successful. This did lead to logged errors.
* Skip the rest of the tests if the rendering
is not successful.
Bug: T366293
Change-Id: Id7396fcdc1df96fa3c19e36b56068da4aba3d18f
Special:MathShowImage takes a hash as an HTTP GET parameter. Show an error if the hash does not
exist.
Bug: T365112
Change-Id: I7d4a6602b8732b0b00cb9cba5800ba2b2fe5044f
Add the skin-invert class to latex symbols (insert chemical formula and
math formula dialogues) so that they appear legible in night mode. This
is likely the only way we can accomplish this until mathml is fully
rolled out, at which I believe this will no longer be necessary
Bug: T366737
Change-Id: Ia0dfa4ab684f5205d109da7f9aefad927be70eb0