Commit graph

2700 commits

Author SHA1 Message Date
James D. Forrester 1211b68919 build: Upgrade api-testing from 1.5.0 to 1.6.0
Bug: T333134
Change-Id: I5eb7e7f2462b7cb116423b1f504bbaa50a5fa70b
2023-04-28 15:49:02 +00:00
Umherirrender b654cc2b0a Replace deprecated Hooks::run
Bug: T335536
Change-Id: I6ef724346dd82147ef22af23833c6a0af8bc9054
2023-04-27 22:51:38 +02:00
jenkins-bot be27ddb2f1 Merge "Fix issues with DQ" 2023-04-20 16:07:27 +00:00
Stegmujo b1edd31543
Fix issues with DQ
Bug: T315978
Change-Id: I04c9178ce5785f29ab79de6dc82070465efca611
2023-04-20 10:57:04 +02:00
gerritbot e492f9189e Update moved class TitleFactory
See T321882
Moved in Iac1688172ee457

Bug: T321681
Change-Id: I713374ad7f9cfe1ba476d2b8729b2164cb5a4f56
2023-04-19 17:16:36 +00:00
Translation updater bot ff9b622f62 Localisation updates from https://translatewiki.net.
Change-Id: I70d6599cdcfa2734348418268d3fae4930578e1f
2023-04-17 09:14:33 +02:00
Translation updater bot 9674a4ed36 Localisation updates from https://translatewiki.net.
Change-Id: I05552344203438a0bd1879fb0a2937850633ce6c
2023-04-11 09:14:03 +02:00
Translation updater bot d78ddf4768 Localisation updates from https://translatewiki.net.
Change-Id: I34a495d8e00af91fc1ebcb44fcc8136063a24245
2023-04-10 09:22:04 +02:00
Stegmujo 6e0427c2ba
Fix for attributes in named Operator
Bug: T315978
Change-Id: I7277d03bae031ffcb2995c097f92c795cc2637dd
2023-04-06 13:44:58 +02:00
Stegmujo c9cf3814ac
Fix for carriage return
Bug: T315978
Change-Id: I06728d45daa060655e655bb07717f23eef61a955
2023-04-06 11:40:54 +02:00
jenkins-bot df0fbc7ebd Merge "Fix style tag imbalance" 2023-04-06 07:10:30 +00:00
Stegmujo fa1a5a4b3f
Fix style tag imbalance
* sometimes there have been more start-tags than end style tags

Bug: T315978
Change-Id: I6b20d45d7561b084376a54f4d6273a2ff5ed7bb4
2023-04-05 15:48:03 +02:00
Stegmujo 08b16c99df
Fix preceding subscript
* example: "{}_1^2\!\Omega_3^4"
* MMLFullcoverageTest cases: 119, 381
* Add isEmpty method to TexNode
* Add empty mrow for prescripts

Bug: T327391
Change-Id: If60e5211bf43e50465072c049d8c432e621832b8
2023-04-05 13:00:06 +02:00
Translation updater bot 92cc8205b2 Localisation updates from https://translatewiki.net.
Change-Id: I985f2cf039f5451e9c125f1368c90be62d9a309b
2023-04-04 09:17:36 +02:00
jenkins-bot db160076f0 Merge "Improve performance: remove redundant inputPreparation calls" 2023-03-31 09:27:46 +00:00
jenkins-bot 39bb32ae2e Merge "Remove images from native MathML" 2023-03-31 09:09:42 +00:00
Moritz Schubotz (physikerwelt) 8c6eeae82e
Remove images from native MathML
In native MathML we only display MathML, also get
rid of enclosing <div / <span container.

Bug: T182041
Change-Id: I26bc4ea88d360d53cc7a34a89bef78812b84b2ea
2023-03-31 08:57:55 +02:00
libraryupgrader aa15ec51ce build: Updating npm dependencies
* grunt: 1.5.3 → 1.6.1
* stylelint-config-wikimedia: 0.13.0 → 0.14.0

Change-Id: I7e34276eb21557c2c2e3e64fb919431b1e1039fc
2023-03-31 00:33:23 +00:00
jenkins-bot 8e3007bd72 Merge "build: Updating npm dependencies" 2023-03-30 12:59:22 +00:00
Umherirrender 4e08e000e0 build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0

Resolve newly detected error:
* mediawiki/no-nodelist-unsupported-methods

Change-Id: If43479e88a3d39f507541f3f6b53f23004bd0e1e
2023-03-29 21:24:34 +00:00
Translation updater bot 04dfc54493 Localisation updates from https://translatewiki.net.
Change-Id: Idd70fc2e75a084a4f8c17113d17d44ba0cd83548
2023-03-29 09:04:38 +02:00
Stegmujo 9213f93b88 Improve performance: arrange methods by call probability
* checked this with: EnWikiFormulaeTest.php
* remove finding chem macro from BaseMethods::checkAndParse, because
  this will be used somewhere else
* minor: remove mi from mathFont parsing function

Bug: T321599
Change-Id: I472e3ebdebfc91f97c9391268a384f788571612e
2023-03-28 17:29:03 +00:00
Stegmujo 7cd58420f7 Improve performance: remove redundant inputPreparation calls
Bug: T321599
Change-Id: I215b8883ace411933e7cbcd59b97df10dcc68d38
2023-03-28 12:39:08 +00:00
Stegmujo 5de6683c05
Fix colors
* some tests for checking colors

Bug: T327391
Change-Id: I437f8d72834f3cca7c21f97841ee4da2f1f36ed5
2023-03-27 14:42:27 +02:00
jenkins-bot 41eddd141b Merge "Fix texstyle when rendering limits" 2023-03-27 10:31:20 +00:00
Translation updater bot 3cb6aea1cb Localisation updates from https://translatewiki.net.
Change-Id: I6ac6f138df1aa2a091f20f4e8a8b35491f7a0d64
2023-03-27 08:41:23 +02:00
Stegmujo 030143cf14
Fix texstyle when rendering limits
* case index in FullCoverageTest: 144

Bug: T332183
Change-Id: I4bc427c00ffc83d53a91b094c7bde05a816f0f98
2023-03-24 16:15:45 +01:00
jenkins-bot 0b151e25dc Merge "Fix derivatives" 2023-03-24 12:04:08 +00:00
Stegmujo 0df4e38547
Fix derivatives
* indices in FullCoverageTest: 114, 124

Bug: T331998
Change-Id: I99724427b77e14044070d330758fb38a55032a10
2023-03-24 11:42:29 +01:00
Translation updater bot e1d29e3313 Localisation updates from https://translatewiki.net.
Change-Id: I18defa98d94ef3ad4e4d4f1872b0d42364139471
2023-03-23 09:26:04 +01:00
Umherirrender 83a00d41f8 build: Remove unneeded inline stylelint-disable-next-line
modules/ve-math/ve.ce.MWLatexNode.css
 6:59  ✖  Needless disable for "media-feature-name-no-vendor-prefix"
--report-needless-disables

Change-Id: Icb4738d7435cb7cc744a3d82b5e8130111f9b567
2023-03-22 21:57:19 +01:00
jenkins-bot c8cdfcadcc Merge "Fix spaces defined by tilde and backslash" 2023-03-22 16:13:52 +00:00
Stegmujo 426a67fbd7
Fix P rendered as pilcrow
* contains a minor fix for spacings, so that they are rendered by spacer
* and some minor fixes for section sign
* MMLFullCoverageTest cases: 216

Bug: T327391
Change-Id: I124e7aec5552dec98a8292e5bdb9449a3009560a
2023-03-22 14:28:57 +01:00
Stegmujo 95816376c1
Fix spaces defined by tilde and backslash
* MMLFullCoverageTest case: 261

Bug: T327391
Change-Id: I99def9fe47ceb4471826e96e25562c070c0f1303
2023-03-22 11:31:51 +01:00
jenkins-bot 6e0181335f Merge "Fix spaces not rendering if within mtext" 2023-03-21 18:46:03 +00:00
jenkins-bot 0f154e86b7 Merge "Split latex_function_names and braces" 2023-03-21 18:41:04 +00:00
Stegmujo 5f9ca781d1
Fix spaces not rendering if within mtext
* MMLFullCoverageTest case: 260

Bug: T327391
Change-Id: Ifd858216b646efd53c401ac9bcddfc7fb1c1a933
2023-03-21 14:57:55 +01:00
Stegmujo ad2a6b7fef
Fix spaces and commas differentiation
* escaped semicolon/commas get rendered as spaces, non escaped get
  rendered as text
* MMLFullCoverageTest cases: 4,5,66

Bug: T327391
Change-Id: Icfa557fc43a8ac87fbf856795cb9c26d0fb2c456
2023-03-21 13:56:22 +01:00
Stegmujo e2f1e86ec0
Split latex_function_names and braces
* see also cid: If78e1506e17afeed23de446ca9b929c2d1366c44
* testindices Fullcoveragetest: 21
* also remove workaround for checking parentheses
* contains a postfix for limits, so the nested TexArray("\lim","") are
  read

Bug: T332183

Change-Id: If8d8487e33b762631fd90ce27baa6866e3539cc6
2023-03-20 16:21:30 +01:00
Translation updater bot 0489cee00b Localisation updates from https://translatewiki.net.
Change-Id: Ic461e530be2eac6fe4cd8d5823cab5ec346b41fc
2023-03-17 09:22:39 +01:00
jenkins-bot 00a205ccd3 Merge "Fix preceding not" 2023-03-16 16:54:54 +00:00
jenkins-bot 362e15acc2 Merge "Localisation updates from https://translatewiki.net." 2023-03-16 12:11:13 +00:00
Stegmujo 1fa5ad3217
Fix preceding not
* indices in FullCoverageTest: 58,59
* fix a minor issue with less and greater signs to escape case 58
correctly

Bug: T331998
Change-Id: I29265f7954552423924dfc898fd36ec1b387e198
2023-03-16 11:46:53 +01:00
jenkins-bot abedeeef19 Merge "Fix varstigma" 2023-03-16 09:46:19 +00:00
Stegmujo f534da7558 Fix varstigma
* index in MMLTexUtilTest: 655

Bug: T331998
Change-Id: I57e5dfc843d04c85f3807c80ba6c24e5b4e5d3f9
2023-03-16 09:08:07 +00:00
Translation updater bot 7424f737b4 Localisation updates from https://translatewiki.net.
Change-Id: I6660b2e2db54ad9207c701ce8df514208d752820
2023-03-16 09:27:57 +01:00
Stegmujo 55068c5839 Fix a glitch in rendering style arguments
* now renders the succeeding elements instead of the style-info itself

* index in MMLTexUtilTest: 530

Bug: T331998
Change-Id: I0ad330157fa7687a2ad68a3d97b4c9cc942ea3ab
2023-03-16 07:52:40 +00:00
jenkins-bot c0281a9237 Merge "Fix gcd, min, max statements" 2023-03-15 15:15:34 +00:00
Stegmujo 89c9bb770e
Fix gcd, min, max statements
* with and without succeeding parentheses
* indices in FullCoverageTest: 21,22,33

Bug: T331998
Change-Id: I3a14db18764cc6df9b83249d19ed7de3b6489b1b
2023-03-15 10:42:46 +01:00
Moritz Schubotz (physikerwelt) 8619ba0841 Modules target desktop and mobile by default now
* Removing redundant code.
* Require MW 1.40+, cf. I15ee8b4f3785984042673710f6cf785a1627f578

Bug: T328497
Change-Id: I0de36b394443b23cf40249784907e0fad088aaeb
2023-03-15 09:20:41 +00:00