`$this->createMock( User::class )` will return a mock User object
with all fields defaulting to null and this will fail when the
`onGetPreferences()` hook fires in CA since that gets consumed by
`getFormDescriptor()` in PreferencesFactory.
This patch changes the mock user object to a test user object and
this is fine because it's already an integration test.
Bug: T357854
Change-Id: I3d80fc1e59ff00a1a08def41c53d82bc093b6e00
In I487bb01afa0d64c809affc4b8a466337d71a1c76 the entire state
is passed to the base of DQ arguments. However,
the second part of the state foundNamedFct is not applicable
as the open apply function is not part of the base.
Bug: T353340
Bug: T357343
Change-Id: I0556aead58f9c2f053d942e11f6b416cf5a5bc9e
Adding action=purge to the url did not bypass cache
in native mode, because the check request was performed
before the purge information was passed.
* Move purge property to the base class
* Pass purge option via the checker constructor
* Add cache checking for mathoid checker
* Adjust method signatures accordingly
Change-Id: I6f545060ae72dac8b12fb0f85662c4048059b2e9
Following the same argument as for accents,
font options should also be passed in underOver
constructs.
* Pass options
* Add test
* In I6924d712db6852f99d7896b1f11cfbd22851d757
curly learned to encapsulate its output in a
mrow. Thus, the if-clause is no longer needed.
Bug: T352609
Change-Id: I6dd3303d9b5ef9ae32ad33c91a4cc1bbdad46109
Errors were thrown for custom tests on
Special:MathStatus which was disturbing.
* Use human-readable error messages instead
* Note that the source rendering mode has no check
method.
Bug: T355389
Change-Id: Id1cacf47dd5441758b7ad8dba3434a01b655a673
The hash was changed so even more tests were failing.
* Remove exact match tests; only search for
significant features instead.
Bug: T355390
Change-Id: I65b731395ee096040a0d78c7054f768352c27fb1
Accents such as \widetilde did not pass
their font options to their child element.
* Pass options
* Add test
* In I6924d712db6852f99d7896b1f11cfbd22851d757
curly learned to encapsulate its output in a
mrow. Thus, the if-clause is no longer needed.
Bug: T352609
Change-Id: I81ecda09d017c73a4593ae36c630426229c7559f
Add mrows to things grouped in curlies.
This removes browser warnings of
too many elements for example in
the case of sub or superscripts.
Bug: T352697
Change-Id: I6924d712db6852f99d7896b1f11cfbd22851d757
instead of testing if an operator starts
with the letter \o we keep an explicit
dictonary of operators which should
be rendered using mover instead of
msub.
Bug: T352699
Change-Id: I916acf2f71d747a31a882fecfccac832436ea991
Change "wp:MATH" to instead use another message, and define a help
page name for math formulae in that other message.
Change-Id: I3fa1e9f4442887915709a2fec671f1ebdb1fc300
* Uses BagOfStuff caching instead of custom-made DB cache
* By configuring the BagOfStuff cache in a way that
it writes to the database no performance implications are expected
* For WMF-use this should have no effect since restbase
is used to cache stuff
* Replaces Ib2c216f54e6817ee2c3be0355ba72bd4769ba6ea
Bug: T349442
Change-Id: I1ce8ad9cf4c1a9ae71f447e4e067b39ee2601640