Commit graph

2879 commits

Author SHA1 Message Date
Umherirrender 555ed8e29f build: Fix line indents
Change-Id: If3be1b7575a1570e425847f559821e7408e5ec24
2024-03-10 22:46:31 +01:00
Umherirrender 457b953dd0 build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0
Excluded Generic.WhiteSpace.ScopeIndent as
it impact many lines in switch/case syntax

Also disable BraceNotOnOwnLine due to T347440

Change-Id: Ia0c8072da9b7bff6a4010d3fb70cb0e576cdf98a
2024-03-10 22:16:48 +01:00
Translation updater bot 4ee29bb6e8 Localisation updates from https://translatewiki.net.
Change-Id: I12c473f1c82fb5ac2431798e1ba746bc4ab8e189
2024-03-04 08:23:41 +01:00
jenkins-bot 4f0bd2181d Merge "Special:MathStatus Remove check for special page link" 2024-03-04 05:02:45 +00:00
Translation updater bot 258a028348 Localisation updates from https://translatewiki.net.
Change-Id: Ia321ddbe7367fc7d6f2e8371a5b596c0947a0abf
2024-03-01 08:33:31 +01:00
Translation updater bot e7f03763a8 Localisation updates from https://translatewiki.net.
Change-Id: Idac1ff9e981476953af1130685259e141844a7a8
2024-02-28 08:14:33 +01:00
Translation updater bot c49237e313 Localisation updates from https://translatewiki.net.
Change-Id: I70e4e3e4b958030598f3af6ef671229c543e94b1
2024-02-26 08:36:28 +01:00
Umherirrender 0cefcd5d77 tests: Mock LoggerInterface to expect that a warning is thrown
Expecting E_ERROR and E_USER_ERROR is deprecated and will no longer be
possible in PHPUnit 10.

Bug: T342110
Change-Id: I713460ef62f1dbdf1332916965e833e7f9074e3c
2024-02-24 20:16:31 +01:00
Translation updater bot 72bfe969a9 Localisation updates from https://translatewiki.net.
Change-Id: I1cdd1aa79b43e29a6512889880890a221660ebfb
2024-02-23 08:44:49 +01:00
Moritz Schubotz (physikerwelt) ca5f7f1034 Special:MathStatus Remove check for special page link
Remove the check for the special page title in the url, as
this currently works with english links only.

Bug: T355390
Change-Id: I3cb88e10533c82b97ae5c57ab4ad2716f0e62507
2024-02-19 15:28:06 +00:00
Derick Alangi bc193d41a7
PreferencesIntegrationTest: CA will fail on null User objects
`$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
2024-02-19 13:21:40 +03:00
Translation updater bot ada6d85fe6 Localisation updates from https://translatewiki.net.
Change-Id: I3c0433cca436eaa4bc15745e9de058eddbc20a81
2024-02-19 08:40:37 +01:00
Translation updater bot b18932dd26 Localisation updates from https://translatewiki.net.
Change-Id: Iae793d1e3dbd860809b360d3052301ce219d4bbe
2024-02-15 13:28:36 +01:00
Umherirrender abbac13038 build: Resolve MediaWikiNoEmptyIfDefined suppression
Follow-Up: I7b9a7e20a5d177edfcba3c76a0d65228497e0d79
Change-Id: I3d468497b53fce67d643d0961fe3659e739def71
2024-02-14 22:04:53 +01:00
jenkins-bot 5831b9dd60 Merge "build: Updating mediawiki/mediawiki-phan-config to 0.14.0" 2024-02-14 13:55:47 +00:00
libraryupgrader aad088158d build: Updating mediawiki/mediawiki-phan-config to 0.14.0
Change-Id: I7b9a7e20a5d177edfcba3c76a0d65228497e0d79
2024-02-14 07:42:39 -05:00
Translation updater bot 9b58afaeb8 Localisation updates from https://translatewiki.net.
Change-Id: I0f2b6d96d676095deb554b387a954d330ec52235
2024-02-14 08:19:02 +01:00
jenkins-bot 63ccfb9d5d Merge "build: Updating npm dependencies" 2024-02-13 21:11:37 +00:00
libraryupgrader f382be8562 build: Updating npm dependencies
npm:
* eslint-config-wikimedia: 0.25.1 → 0.26.0
* grunt-banana-checker: 0.11.0 → 0.11.1
* wdio-mediawiki: 2.1.0 → 2.5.0
* get-func-name: 2.0.0 → 2.0.2
  * https://github.com/advisories/GHSA-4q6p-r6v2-jvc5
* postcss: 8.4.30 → 8.4.35
  * https://github.com/advisories/GHSA-7fh5-64p2-3v2j

Change-Id: I5b01fa01c11a57a180b50bf2f8b3275e69d75f1c
2024-02-13 20:44:49 +00:00
jenkins-bot cbc17c1e29 Merge "Only pass stylearg state variable to base of dq elements" 2024-02-13 10:35:23 +00:00
Moritz Schubotz (physikerwelt) d28ae77e87 Only pass stylearg state variable to base of dq elements
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
2024-02-13 09:25:34 +00:00
jenkins-bot b69a22f072 Merge "Use U+203E for \overline macro" 2024-02-13 09:08:38 +00:00
Moritz Schubotz (physikerwelt) 3a32e21343
Use U+203E for \overline macro
Workaround for bug in Chrome
https://issues.chromium.org/issues/40889045#comment5

Bug: T352698
Change-Id: I96614e573338d70c9f4b44e01ddf0d8f23ecd774
2024-02-12 20:52:49 +01:00
Translation updater bot 5fb53f6e42 Localisation updates from https://translatewiki.net.
Change-Id: Ieeb548d58c273c24775379671b846d11a4e4e65d
2024-02-12 14:50:01 +01:00
jenkins-bot 9f205d305d Merge "Fix purging of cache in native mode" 2024-02-11 18:55:30 +00:00
Translation updater bot 009a915195 Localisation updates from https://translatewiki.net.
Change-Id: Ief3f8a9ccf68047c4fcdd6125969cf09bb08abbc
2024-02-09 08:44:03 +01:00
Translation updater bot 1183e88bb0 Localisation updates from https://translatewiki.net.
Change-Id: I46eb25d920ab6eaad979f7420e8df4284d8a1f47
2024-02-07 08:27:10 +01:00
Moritz Schubotz (physikerwelt) 8b481b45f1
Fix purging of cache in native mode
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
2024-02-05 20:56:19 +01:00
Translation updater bot de3f88935e Localisation updates from https://translatewiki.net.
Change-Id: Ie0bbcaddfb9c5b6391aa9678d228eab1cf2211ef
2024-02-05 08:50:03 +01:00
Translation updater bot 023c74072a Localisation updates from https://translatewiki.net.
Change-Id: Ie49129aee15db14744874a5b70f63b33475d86a3
2024-02-02 08:53:42 +01:00
Translation updater bot a66743cd97 Localisation updates from https://translatewiki.net.
Change-Id: Id4f299a7a5fa832c4312a5a9ce723b6455b9e3d1
2024-01-31 08:29:18 +01:00
Translation updater bot 44fedf5525 Localisation updates from https://translatewiki.net.
Change-Id: I530528991a8b8ab77a9dbbc155b0861825f0ce1c
2024-01-30 09:39:22 +01:00
Moritz Schubotz (physikerwelt) f5b83c720c
Pass font options in underOver
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
2024-01-29 17:11:10 +01:00
zoranzoki21 1445eddb14 .phpcs.xml: Fix line indentation
Change-Id: Ic36d8ca5d2a5d133487960f659411375de6147d5
2024-01-29 10:03:20 +00:00
jenkins-bot 90264e311b Merge "Human-readable errors on Special:MathStatus" 2024-01-29 09:31:32 +00:00
jenkins-bot 5b53b2c32e Merge "Simplify tests on Special:MathStatus" 2024-01-29 09:29:41 +00:00
jenkins-bot 901d7fe7e6 Merge "Pass font options in accents" 2024-01-29 09:25:18 +00:00
Translation updater bot 4d5b15f6d8 Localisation updates from https://translatewiki.net.
Change-Id: I326610803b2464d05751ed4f2d8ad76904327902
2024-01-28 16:07:23 +01:00
Moritz Schubotz (physikerwelt) 4cf8462110
Human-readable errors on Special:MathStatus
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
2024-01-27 22:57:12 +01:00
Moritz Schubotz (physikerwelt) 181cf1cd09 Simplify tests on Special:MathStatus
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
2024-01-27 21:38:25 +00:00
Moritz Schubotz (physikerwelt) d270a9aa80
Pass font options in accents
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
2024-01-27 18:12:03 +01:00
jenkins-bot 722bb0f778 Merge "Add over_operators group" 2024-01-26 16:19:28 +00:00
jenkins-bot 219b243a74 Merge "Add mrows to curlies" 2024-01-25 12:05:42 +00:00
Moritz Schubotz (physikerwelt) f89f0a0f02 Add mrows to curlies
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
2024-01-25 09:59:06 +00:00
Moritz Schubotz (physikerwelt) 57dbaeda39
Add over_operators group
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
2024-01-24 16:49:29 +01:00
Translation updater bot 45279fa678 Localisation updates from https://translatewiki.net.
Change-Id: Id3f6c302d79deba3545ec28712f6abfadada86aa
2024-01-19 09:17:25 +01:00
Translation updater bot da0283873b Localisation updates from https://translatewiki.net.
Change-Id: I75c14f0f3ca3116dc96565006bee835450ede583
2024-01-18 09:26:26 +01:00
ni1313 fbe057dc55 Add test for \overarc
Manually add test for \overarc to TexUtil-Ref.json

Bug: T354057
Change-Id: I249c89f9f7a2f336268393f61d428fbc09ee82f2
2024-01-17 16:29:36 +00:00
jenkins-bot 4696c6febb Merge "Remove namedspaces length values in MathML" 2024-01-17 11:19:10 +00:00
Translation updater bot a5fb417591 Localisation updates from https://translatewiki.net.
Change-Id: Iee7c21a180bacfcc64b47efe1de4608f3e91bcd8
2024-01-17 08:37:30 +01:00