* add some basic tests
* MathWikibaseConfig should also be transformed into a service in a follow
up to allow for better testing
Bug: T313331
Change-Id: Iec7446a06d9a117cdeba9d26616f4fdf8e8540ca
Running the updater twice (in test setup and in tests) confused posgres
-> Error 42P07: ERROR: relation "mathoid" already exists
Change-Id: I1113888a38a49ee79b94d83c305eb99baa75f802
This reverts commit 422be143f6.
Reason for revert: Caused hard dependancy on Wikibase
Bug: T313143
Change-Id: Ia6f551307f0fbaa2a3fc5747ed180e588c60b02f
Lookups returned by this factory will resolve redirects; the old factory
is deprecated and will soon be removed.
Bug: T312223
Change-Id: I3d03e2e7ad646c1048f914915b84836f958b7f6e
Add the MathWbEntitySelector field to provide a dropdown menu which retrieves
the expression or qid from wikidata instead of the simple TextInputWidget to
edit the qid in the Visual Editor.
Change-Id: I0a6fddd2c2978c9c4f195d668458b8d2ed478d98
It is good practice to have a folder in the root for all sql files.
Also use the engine folder to store the patches
Change-Id: Ic26c042f0a5a8ca6e0568b38c4b4b2b4f0686efb
Originally this was added in T103269, but according
to T103269#6769990 this could not be needed anymore.
I've tested this with the original test case, and it
all works correctly without running the regex.
Change-Id: I5b3b11e71f0d6e55f158fa0d941977c823d12d51
The description of the default rendering mode mw_math_mathml is misleading.
Without browser plugin users never see MathML, but SVG images.
Especially in preperation to the transition to native MathML rendering,
this should be corrected.
Bug: T310211
Change-Id: I6d3c1588105cc7ebe7433a299108deacfecd61aa
Makes it possilbe to change the QID of a formula in the visual editor
quick editor and in the dialog editor inside the options panel.
Change-Id: Ie4cb651939a59bf4446cd3e5327522d100eac5bf
Set up both database tables (mathoid and mathlatexm) regardless of the enabled modes. This will allow to change configuration without having to rerun db update scripts for the price of having potentially empty tables in the db.
Bug: T307896
Change-Id: I5ed50e53835c378f9f497a6ff3a4195299259d5b
Replace Content::getNativeData() calls with TextContent::getText() in Math extension.
Bug: T283679
Change-Id: Iaf3b7f82f14069374de8ede7b519d822f8d6010f
Extensions using Phan need to be updated simultaneously with core due
to T308443.
Bug: T308718
Depends-On: Id08a220e1d6085e2b33f3f6c9d0e3935a4204659
Change-Id: I6d355e7037186e840a76f319886ed870419d9fc8
Dot reporter provides no information on which tests suites and tests are
executed. Spec reporter is more verbose but it also provides much more
information that is useful in general, but especially when debugging.
For example, which tests are executed and which tests are skipped.
Bug: T280331
Change-Id: Ie418ba2fe0e6c236a1990a528f9957554cc0d575
Adds a new configuration variable that can be used to run RESTBase
independently from Math.
Bug: T306572
Change-Id: Ie40bd36a53fa5018364cf9268fee29533f4aa23b