Commit graph

2900 commits

Author SHA1 Message Date
Stegmujo c8fe00bd59
Fix closing bracket size too big
* fixes a glitch that attributes are not merged in closing tags

Bug: T351907
Change-Id: I1cc52c7726b12e12aea6cb56849721ae14229245
2023-11-30 15:58:22 +01:00
jenkins-bot 7d1d07948b Merge "Update UserOptionsLookup's FQN" 2023-11-30 14:15:05 +00:00
jenkins-bot b5e0d80740 Merge "Remove confusing version information" 2023-11-30 12:55:22 +00:00
Stegmujo 79a2bf7e9f
Activate all FullCoverage Tests
Bug: T327392
Change-Id: I3af0c3c3aec83b8e0666318bdacbc1b639f8cd99
2023-11-30 12:21:50 +01:00
Stegmujo 3f5ba225ed Fix issue with nolimits
* nolimits is now also translated

Bug: T351850
Change-Id: I57d4bb4db117be667a5104876bfbd84a72e6bc34
2023-11-30 09:21:10 +00:00
Translation updater bot eeb20dac88 Localisation updates from https://translatewiki.net.
Change-Id: I0e99cb0c182310a305a9ab3716d17a290b802017
2023-11-30 09:38:18 +01:00
gerritbot 2b2f48cd69 Update UserOptionsLookup's FQN
User-options related classes are being moved to the MediaWiki\User\Options namespace in MediaWiki Core; reflect that change here.

Bug: T352284
Depends-On: I9822eb1553870b876d0b8a927e4e86c27d83bd52
Change-Id: I33cc5e1bfb2dd6877a45a11e253d81babe055391
2023-11-29 12:39:28 +00:00
Translation updater bot b0ac962893 Localisation updates from https://translatewiki.net.
Change-Id: I2ea49fd5d087b16ff6185582dbe8f8009cc640ed
2023-11-27 08:32:39 +01:00
anterdc99 360bdc03ce
Add special page alias for Traditional Chinese (zh-hant)
Bug: T351967
Change-Id: I88ff78f852e83dd0ab41e5a863228a7ed78faaf8
2023-11-26 16:13:10 +08:00
jenkins-bot f80339dc2a Merge "Rename TexVC in PHP to WikiTexVC" 2023-11-24 16:15:51 +00:00
Stegmujo a82727f61f
Rename TexVC in PHP to WikiTexVC
Change-Id: Idd98205ea291640b01946374f15c807da7fc26e5
2023-11-24 16:41:30 +01:00
Moritz Schubotz (physikerwelt) bb78f0508d
Special:MathStatus add first native MML test
Change-Id: I2fd71b8971b312babaaa923156a6865e82b4f447
2023-11-22 11:51:44 +01:00
Moritz Schubotz (physikerwelt) 4a9ee3c047
Remove confusing version information
Change-Id: I85710c472b7bb82279e9fdcd6ca2cca19877bab2
2023-11-22 11:25:06 +01:00
Stegmujo 9abb258422
Fix genFrac bracket sizes
* genFrac renderMML function with bracket can produce false stretching
  on Chrome
* fixed for the cases with brackets (dbinom, tbinom, binom)

Bug: T350735
Change-Id: I0939de86963fa9c226346ce15e7edf7fc4e83c68
2023-11-20 16:32:44 +01:00
Stegmujo a4c3a365af Make distinction of bracket sizes
* \bigl( \Bigl( \biggl( \Biggl(

Bug: T350738
Change-Id: I557e6ff78255d0de28df1d6f6b6e78b76f9d8388
2023-11-17 15:54:10 +00:00
Moritz Schubotz (physikerwelt) ed850f91fe
Add chem option to texvc binary
Change-Id: Ie74c948de98480592c8e67e36b047393cd563346
2023-11-14 20:03:17 +01:00
Translation updater bot 1ff7740fa9 Localisation updates from https://translatewiki.net.
Change-Id: I596eed801c5ca56fed19be1c215490e0b6a1c76a
2023-11-13 08:41:12 +01:00
Translation updater bot ece63291ee Localisation updates from https://translatewiki.net.
Change-Id: Ie40addafaa0fd8d764a134c552bd6c6c6eba2d75
2023-11-06 08:56:50 +01:00
Stegmujo 7b03a170db
Fix liminf and limsup spacing
* and injlim projlim spacing

Bug: T350491
Change-Id: I7e4491fbdd461a4583f5418ba1924c647bb2df94
2023-11-03 18:37:27 +01:00
Stegmujo ac1d7a9a7b
Fix calls to trim null
Bug: T348936
Change-Id: I6e3fca041fb81975b175977b9a18d69fbf58620b
2023-11-03 17:02:22 +01:00
Translation updater bot f031bd07c5 Localisation updates from https://translatewiki.net.
Change-Id: I281470d6b34e1dadecb550ebc2f8dd6032b5e1f8
2023-11-02 09:59:16 +01:00
jenkins-bot 606f4347d1 Merge "Append invisible apply character" 2023-10-31 19:22:01 +00:00
Stegmujo 2c81f052c7
Append invisible apply character
* to named functions and named operators
* You can consider using that invisible apply character (U+2061) after other function names with known arguments (such as \sin, \cos...). Some accessibility tools take advantage of it, I am told, but it may also be used to provide correct spacing from the MathML operator dictionary. In Chrome <mi>sin</mi><mi>a</mi> will show up with no added spacing as sina, which is not ideal.

* namedFct with any succeeding macros/characters have an apply function

Bug : T350021

Change-Id: I7ee5fdd580fb018bc108a32500c17914dd5dc05f
2023-10-31 16:33:15 +01:00
Translation updater bot c4924b702e Localisation updates from https://translatewiki.net.
Change-Id: I16045872a826cd8ba695a4ff442251b789af48e7
2023-10-30 17:59:34 +01:00
jenkins-bot 83835f19e7 Merge "Add a possibility for creating a test wikipage for chemical formulas" 2023-10-30 16:22:48 +00:00
jenkins-bot a18cd4c78f Merge "Remove functional dead code about PNG images" 2023-10-30 13:38:55 +00:00
Moritz Schubotz (physikerwelt) bd474256a6 Remove functional dead code about PNG images
* PNG images are no longer displayed as of
  I595926027433182cc0396570bc3f1ce0cd2cafb3
* Remove functional dead code about PNG images
* Replace some type hints with type delcarations

Bug: T311620
Change-Id: I283c23e327ef908cfb4c827599fdcdb16252b08c
2023-10-30 10:46:08 +00:00
Moritz Schubotz (physikerwelt) fa9a689be6
Explain the significance of the img.tex css element
* PNG images are no longer displayed as of
  I595926027433182cc0396570bc3f1ce0cd2cafb3
* There is only one use of the img.tex css
  class, in combination with the source
  rendering mode.

Bug: T311620
Bug: T348938
Change-Id: Ife1f069546d5132a112643b68de2c17115981053
2023-10-29 15:21:19 +01:00
Moritz Schubotz (physikerwelt) d878212655 style: Return early in evaluateRestbaseCheckResponse
* Put the status code into the logging context of unexpected errors

Change-Id: I9739eb4acc12a5dc23416a6db4d4df951cd9042a
2023-10-28 17:21:29 +00:00
Moritz Schubotz (physikerwelt) ca7205be3b
Identify errorous restBASE responses
In some cases restBASE seems to provide errorous responses
despite a 200 response code.
Check if all required fields exists and treat the response
as failed otherwise.

Bug: T349347
Change-Id: I3506401f8dd2962daf7fd5d30019c507f9de5def
2023-10-28 14:53:48 +02:00
jenkins-bot d916647b2f Merge "Fix error value in columnspacing attribute in mtable" 2023-10-27 16:11:30 +00:00
Stegmujo 184fcf44cb
Fix error value in columnspacing attribute in mtable
Bug: T349906
Change-Id: I4f5e472b37219ebab165dfbf6f364fd4d41146b9
2023-10-27 16:17:00 +02:00
jenkins-bot 9ba97826f4 Merge "Fix incorrect child count of some element" 2023-10-27 14:00:30 +00:00
Stegmujo 9e9ba0241a Fix incorrect child count of some element
- munder: if only one child munder is not added as wrapping mml tag
- msup: renders an empty mi if there is no content for the superscript

This prevents some warnings in firefox browser dev-console.

Bug: T349825
Change-Id: Ia5efc1f33e3368e71527153d56160eee4ba3a46d
2023-10-27 13:17:55 +00:00
jenkins-bot 413b21d3be Merge "Remove too many rows in smallmatrix" 2023-10-27 10:53:49 +00:00
Stegmujo a53a5d58c8
Remove too many rows in smallmatrix
* From Feedback: The {smallmatrix} example has its fences wrapped in too many mrows I think, so it renders without stretching them in both Firefox and Chrome. Ideally you should be able to emit the <mo>(</mo> followed directly by an <mtable>, and trailed by <mo>)</mo>, and only wrap those 3 into a parent <mrow>.
* removes mrows and adds OPEN / CLOSE attributes
* tests MMLFullcoverage 194 to ~196 which cover the bigXYZ macros look
  ok

Bug: T348971
Change-Id: Ie444e5bb3e3f87fac915d2692b69e976d721582e
2023-10-27 11:19:06 +02:00
Stegmujo 8112c65a5d
Remove mstyle around spacing elements
* From Feedback: There is a curious use of <mstyle> around spacing elements, as in <mstyle scriptlevel="0"><mspace width="-0.167em"></mspace></mstyle>. I am not sure that wrapper element is needed? The mspace ought to be successful standalone.
* this is in the 'bmod' case

Bug: T349822
Change-Id: I9229ad73891d5000679761d3d4b2028d4a51ddf1
2023-10-27 10:35:59 +02:00
Moritz Schubotz (physikerwelt) 06038f8bae
Log non json restbase responses
Bug: T343648
Change-Id: Idfa85c1be866af3c938353b31ba9a884ee5ab143
2023-10-25 14:14:17 +02:00
Translation updater bot 3a8687a0cd Localisation updates from https://translatewiki.net.
Change-Id: I61ce50b7b4b871f20685c518e038caedbb8fd494
2023-10-25 09:02:32 +02:00
Translation updater bot 500640cc4a Localisation updates from https://translatewiki.net.
Change-Id: I5d433f1a939e60f551a37fab81623f35d0348572
2023-10-24 09:38:00 +02:00
jenkins-bot 7eac3f09bb Merge "Remove utf8 encode / decode" 2023-10-23 20:15:33 +00:00
jenkins-bot f8d44c1caf Merge "Don't write native rendering to database" 2023-10-23 18:20:44 +00:00
jenkins-bot f8584b8694 Merge "native: Add onMathRenderingResultRetrieved hook" 2023-10-23 17:40:16 +00:00
Translation updater bot aebbfa59d7 Localisation updates from https://translatewiki.net.
Change-Id: I9f8c69f96f836f94715b2ec334a1a870e21e5fc2
2023-10-23 09:50:57 +02:00
Moritz Schubotz (physikerwelt) dd221cb1a2 Don't write native rendering to database
* Native uses WANObject cache and thus the db is
  not needed.

Change-Id: I2aec0c4bceb7db80dc24a716cabd7f2647709516
2023-10-22 15:29:50 +00:00
jenkins-bot 30c156a0a8 Merge "Make dataProvider in EnWikiFormulaeTest static" 2023-10-22 13:24:30 +00:00
Moritz Schubotz (physikerwelt) 493a7ac9f0
native: Add onMathRenderingResultRetrieved hook
Allow in depth analysis of rendering results in
native mode with the same mechanism that is also
used for other rendering modes.

Change-Id: I4927f9bc683445f83ef7c29dc2a9298aa85ff4d0
2023-10-22 13:43:47 +02:00
Moritz Schubotz (physikerwelt) 804c026a61
Remove utf8 encode / decode
For old mysql versions utf8 encode decode was required to avoid
that math characters get messed up. This problem does not occur
with MariaDB 10.2. As now data is stored and retrieved as binary
by default, the data is returned in the same way as it is written.

Bug: T324173
Change-Id: Id29c9a8614156ff8170bc3148f2498b32c70fd8a
2023-10-22 07:41:56 +02:00
jenkins-bot 9706ed33ba Merge "Make dataProvider in PopupTest static" 2023-10-22 05:02:42 +00:00
Moritz Schubotz (physikerwelt) de2913d960
Make dataProvider in EnWikiFormulaeTest static
Bug: T337160
Change-Id: I71205d564a3063e834a3cd0fc0075a3a6b7a19d2
2023-10-22 06:59:38 +02:00