Commit graph

2558 commits

Author SHA1 Message Date
Translation updater bot f0935fdb0d Localisation updates from https://translatewiki.net.
Change-Id: Iaf0d8b0880085f309663cd503827716f529d34e0
2023-06-08 07:56:15 +02:00
Translation updater bot 4de321dd47 Localisation updates from https://translatewiki.net.
Change-Id: I9a8dd10518eca3e5658a72ce44d275b0af757657
2023-06-01 08:16:15 +02:00
Translation updater bot 9b23eb4835 Localisation updates from https://translatewiki.net.
Change-Id: I4deff9a0c30e30d6915b1b29250db1b97d5950ed
2023-05-18 07:59:55 +02:00
Translation updater bot bc05718516 Localisation updates from https://translatewiki.net.
Change-Id: I7dc06044fd5ba7d3007fe9ce6d48157fee824fce
2023-05-11 07:35:24 +02:00
Translation updater bot b7c90e606b Localisation updates from https://translatewiki.net.
Change-Id: I954b363f266aa2fe87a3c4d10e0a988f5e4b9ec7
2023-05-04 08:33:08 +02:00
Translation updater bot 5bf00794bc Localisation updates from https://translatewiki.net.
Change-Id: I554f1adc5df00bb3bd2082208c2842644d57842f
2023-04-20 08:00:14 +02:00
Translation updater bot 2dba7ed584 Localisation updates from https://translatewiki.net.
Change-Id: Ie8bde5ffc5f5a6cd791d6722f66d32abd7040b75
2023-04-06 08:19:32 +02:00
jenkins-bot a1ae4f5ab6 Merge "build: Update MediaWiki requirement to 1.40.0" into REL1_40 2023-03-14 10:23:24 +00:00
James D. Forrester 149f38fa73 build: Update MediaWiki requirement to 1.40.0
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I15ee8b4f3785984042673710f6cf785a1627f578
2023-03-13 23:36:17 -04:00
James D. Forrester 9fc2bc1054 build: Update MediaWiki requirement to 1.40.0
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: Ibd8d0ca3041b6e73a2a499ed6a5a0e07f1a951db
2023-03-13 23:36:15 -04:00
jenkins-bot ad668a6e69 Merge "Fix for sideset case" 2023-03-13 15:57:52 +00:00
Stegmujo b7d909e0a2 Fix for sideset case
* example "\sideset{_1^2}{_3^4}\sum"
* case 3 phabricator "sideset"
* index: 90
* since result has multiscripts which is not generated by mathoid, there is an explicit test in MMLRenderTest and the previous test is in MMLTexVCUtilTest is skipped
* in MMLGenerationTexUtilTest test for sideset is deactivated
* adds a case from FullCoverageTest for sideset with FQ
* fixes an issue which occured during Phan checks for merging that genFrac throws an error

Bug : T327391

Change-Id: I4c5a5f5a901dbc906f5a1b168d3a8d04f25b9290
2023-03-13 15:38:04 +00:00
Translation updater bot 55bcabd276 Localisation updates from https://translatewiki.net.
Change-Id: Ibef3e38ed85d956fab2027a4182a2382c0140024
2023-03-13 08:39:13 +01:00
libraryupgrader dcce2100d0 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 39.0.0 → 41.0.0

npm:
* cookiejar: 2.1.3 → 2.1.4
  * https://github.com/advisories/GHSA-h452-7996-h45h
* http-cache-semantics: 4.1.0 → 4.1.1
  * https://github.com/advisories/GHSA-rc47-6667-2j5j
* ua-parser-js: 1.0.2 → 1.0.34
  * https://github.com/advisories/GHSA-fhg7-m89q-25r3

Change-Id: I4198e1cbdc115d27c9fe5b8d0ce813b514524796
2023-03-12 05:44:17 +00:00
Translation updater bot f5d56be83b Localisation updates from https://translatewiki.net.
Change-Id: Ibeb5bc9fc13239eae65191432856e981517281fe
2023-03-10 08:49:05 +01:00
Translation updater bot 65cb54633d Localisation updates from https://translatewiki.net.
Change-Id: I9c21289be2f2a86e1df0f909f895bf84c642db21
2023-03-09 09:05:33 +01:00
Translation updater bot c081684be3 Localisation updates from https://translatewiki.net.
Change-Id: I3a76c31ca5a35d0cfefbf708246d53f820d8303e
2023-03-08 08:42:30 +01:00
jenkins-bot d7c931fbaa Merge "Add minimal native MML mode" 2023-03-07 11:45:31 +00:00
jenkins-bot faa34e32ce Merge "Catch all exception during rendering" 2023-03-07 11:33:15 +00:00
Translation updater bot ec5e48d387 Localisation updates from https://translatewiki.net.
Change-Id: I25785e880117be06ccf98bfe3d1244cba362612a
2023-03-06 08:33:41 +01:00
Moritz Schubotz (physikerwelt) aa828066df
Catch all exception during rendering
When switching to native MathML rendering more code is
beeing executed and Errors might be thrown. We want to make sure
that bugs in individual formulae don't break the display for the
entire page. Therefore, we extend the the catch clause to catch all
throwables.

Change-Id: I3deda42950bee75d9257135854535dd41a5e18dc
2023-03-02 22:19:38 +01:00
Moritz Schubotz (physikerwelt) 88a4c8bc1d
Add minimal native MML mode
* Add minimal POC for native MathML rendering.
* (minor) convert string-based reference to MathConfig to proper access
  method.

Missing:
 *  Error handling
 *  Image fallbacks

Bug: T331047

Change-Id: I7e644c4688cca7fc9af0d54bdc260268c1f6b9df
2023-03-02 20:50:29 +01:00
jenkins-bot 35257884ea Merge "Fix for tex-statement definecolor" 2023-03-02 11:16:20 +00:00
jenkins-bot 76686aa904 Merge "Introduce method to get checker" 2023-03-02 11:16:18 +00:00
Moritz Schubotz (physikerwelt) daadfad9ae
Introduce method to get checker
Allow MathRenderers to overwrite the way how the checker is initalized.
This will be needed for native MathML where LocalChecker will be used.

Change-Id: I358bef495675f7f8f9028f81484c4e535b9336f8
2023-03-02 11:41:15 +01:00
Stegmujo 8101c8f136
Fix for tex-statement definecolor
* example "\definecolor{ultramarine}{RGB}{0,32,96} a {b \color{ultramarine} c} d"
* case 2 phabricator: "colors"
* index: 22
* some test for parsing color statements

Bug: T327391
Change-Id: I98fdf011a2089dad4e7cb5a7a6aa8433fafe4a94
2023-03-02 11:35:27 +01:00
Stegmujo b9011e8e5b Fix for tex-statement "\pagecolor{red} e^{i \pi}"
* case 2 phabricator: "colors"
* index: 17

Bug: T327391
Change-Id: I202e13de8c07b63b0dfbff28036c9eb7fcc52db8
2023-03-01 15:26:03 +00:00
Stegmujo d23c6dc84d Fix for tex-statement "a {b \\color{red} c} d"
* case 2 phabricator: "colors"
* index: 16

Bug: T327391
Change-Id: I0c19dcc3819372c464d2ac0742160cec3bb8757a
2023-03-01 15:25:55 +00:00
Stegmujo 8f81eabc83 Add more detailed testcases for Color, Pagecolor and Definecolor
* case 2: "colors"
* in MMLGenerationTexUtilTest.php
* Updated the keyfiles etc

Bug: T327391
Change-Id: Id3232f21dea9813ec5adcacca58e912cf116ab72
2023-03-01 15:25:50 +00:00
jenkins-bot 64c3f6893a Merge "Add native MathML rendering mode to MathConfig" 2023-03-01 14:25:05 +00:00
jenkins-bot 567bd826e3 Merge "Fix for state forwarding" 2023-03-01 13:52:41 +00:00
Moritz Schubotz (physikerwelt) 642e54c51b Add native MathML rendering mode to MathConfig
Add a new rendering mode option.

Change-Id: I36e2cc542ae89bff03f779a71ddceb77dfac99a9
2023-03-01 13:39:35 +00:00
Stegmujo 00fd80f56d Fix for state forwarding
Bug: T327391
Change-Id: I71ed330b866b945c7ec91e6d43831029c63e78a5
2023-03-01 12:01:52 +00:00
Moritz Schubotz (physikerwelt) 9340b09c03
Expose parsetree in local checker
In perparation to the PHP only native MathML rendering mode, we expose
the parsetree of the checker.

Change-Id: I8da8d0e236c2b001e664ce707c7469ebe8a91eb8
2023-03-01 08:30:46 +01:00
jenkins-bot 488c0b3519 Merge "Fix exceptions thrown by LocalChecker" 2023-02-28 14:51:49 +00:00
Translation updater bot b4cc21602e Localisation updates from https://translatewiki.net.
Change-Id: I8cffb8ad942031e2c7cc63c68f147bd83efa34b9
2023-02-28 08:29:15 +01:00
Stegmujo ef2f59eed5
Fix exceptions thrown by LocalChecker
* for more consistency with the other Checker initialisations in
InputCheckFactory

Bug: T327098
Change-Id: Ia85775dea6a7dda5fcf42d66a161da49515ba0aa
2023-02-27 17:52:28 +01:00
Translation updater bot 22cbcb0269 Localisation updates from https://translatewiki.net.
Change-Id: Iaa16c4a2c1dce01ce7319bad77f55f5b8975c26e
2023-02-27 08:27:47 +01:00
Translation updater bot 35e9900b42 Localisation updates from https://translatewiki.net.
Change-Id: I27a2fc9efdd32ec8ab5f6a9621e8e100865505ed
2023-02-22 09:01:01 +01:00
Translation updater bot 82558905ac Localisation updates from https://translatewiki.net.
Change-Id: I39ea0e09b9592220e57185c236b781f71ea9b45d
2023-02-21 08:21:23 +01:00
Translation updater bot 3a629fb3fb Localisation updates from https://translatewiki.net.
Change-Id: I81bcff154725cd384759a75352ab0b418e78eb69
2023-02-20 09:46:54 +01:00
Stegmujo 6ffaed440c
Remove additional mi for Hbox cases in TexUtilTest
* fix results for tests
* testindices 53 to 58
* formerly this contained a comparator fix (rolled back)

Bug: T327392
Change-Id: I1af65d5d8a4625d164630254da285830f4c9e0a3
2023-02-16 20:25:48 +01:00
Stegmujo 14c38c8f46
Fix vline in Matrix in TexUtilTest
* case index 654

Bug: T327392
Change-Id: I3f7d22ff501a30eef79baf82236406d8f5e450ae
2023-02-16 17:16:19 +01:00
jenkins-bot 1259375bfd Merge "Add state array to MathML rendering tree" 2023-02-16 09:17:51 +00:00
jenkins-bot d6de86cba3 Merge "Allow \circ command in bonds in TexVCPHP" 2023-02-16 09:03:23 +00:00
Stegmujo bcc066de21 Fix GenerationParserTest for texvctreebugs check
* fix the testfile so it can be read correctly for texvctreebugs category
* fix the test that category can be selected dynamically

Bug: T327391

Change-Id: I51508bddb83ba925c739962df41c04f1ccfd311b
2023-02-15 14:07:05 +00:00
Stegmujo 65b3114e5b
Allow \circ command in bonds in TexVCPHP
Add \circ to mhchem macros to allow them in bonds.

Bug: T328833
Change-Id: I3100033904e28a181a2e674da388832678eb0db3
2023-02-15 14:25:30 +01:00
Moritz Schubotz (physikerwelt) 6efbf4dd00
Add state array to MathML rendering tree
For conditional rendering a state variable is needed.

Change-Id: Iac1a1058fecf89c58a02ca3b643e973b4742f51f
2023-02-15 11:04:20 +01:00
Stegmujo f760f896b2 Fix binom and dbinom in TexUtilTest
*indices: 79, 82

Bug: T327392
Change-Id: Ib1c19a52eea5f6433f52e440007cf6ba4ba4d48c
2023-02-14 11:53:58 +00:00
jenkins-bot 0031b80a8f Merge "Fix low scores for oint statements" 2023-02-13 20:47:20 +00:00