Stegmujo
093ecf7c0f
Fix bigcap and bigcup scripts not placed correctly
...
* All recognized macros are in category nullary macros, so this adds a
rule
* In test "\bigcap_{i=_1}^n E_i"
* In test "\bigcup_{i=_1}^n E_i"
Bug: T315978
Change-Id: I09287879c1448e404473891985457349a62554a7
2023-09-27 14:17:53 +02:00
jenkins-bot
4d3f6adc8f
Merge "Move error to merror tags"
2023-09-27 11:24:25 +00:00
Stegmujo
cbd830a934
Move error to merror tags
...
Bug: T315978
Change-Id: I8e0515a168a5983c24dac8a64e7a2f7fd1805a8d
2023-09-27 12:48:26 +02:00
jenkins-bot
21d3cf0f8f
Merge "Fix oint size"
2023-09-27 10:47:38 +00:00
Stegmujo
0728ed4bd1
Fix oint size
...
* In several tests with preceding oint
* Add explicit testcase
Bug: T315978
Change-Id: I87b31490ed18461fec0cf4ebd6a2c207235ee734
2023-09-27 09:39:50 +00:00
Stegmujo
b3545c1994
Fix negation (not) for operatorname
...
* Test example in MathNativeTests: " "\not\operatorname{R}"
* fixed forwarding state in Fun1nb
Bug: T315978
Change-Id: Ia651b14ba16f39cc8cbc6b42e0598d959bf72989
2023-09-27 10:39:27 +02:00
Translation updater bot
f055981220
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibc863b521aa59543f351e36657f76899815ff9b4
2023-09-27 09:20:40 +02:00
Stegmujo
ede31d01ed
Fix k=1 should appear under sum in displaystyle
...
* In test MathNativeTests: "\sum_{k=1}^N k^2"
* also verify that textstyle variant works correctly
Bug: T315978
Change-Id: I8f6cd5ef1e4539616439542184cb7d9dc5cf2363
2023-09-26 16:07:20 +00:00
jenkins-bot
9450bb29f1
Merge "Fix MMLGenerationParserTest creating HTML file"
2023-09-26 16:05:10 +00:00
Stegmujo
f85fda42da
Fix MMLGenerationParserTest creating HTML file
...
* also fixes a warning in phan that there is a tainted parameter in args in BaseParsing
* this is to pass CI
Bug: T343636
Bug: T347320
Change-Id: I91328bf26e208bd4e0e939c4628def2f40e2f0b6
2023-09-26 15:26:30 +00:00
Translation updater bot
721b10c491
Localisation updates from https://translatewiki.net .
...
Change-Id: I6c91217176f5148d2e0b7ed65de5340fe949e23e
2023-09-26 08:44:15 +02:00
jenkins-bot
df4404456a
Merge "Add mw-invert class to <img> which generates text"
2023-09-23 09:00:19 +00:00
Stegmujo
5536b3f74a
Fix underbrace
...
* In test MathNativeTests: "\underbrace{ a+b+\cdots+z }_{26}"
* Underbrace statement appear to right side
Bug: T315978
Change-Id: I3b1e1290ac07e7aa70ab5931d513984f011d3075
2023-09-21 14:57:40 +00:00
Ed Sanders
85a20f537d
Add mw-invert class to <img> which generates text
...
Bug: T345281
Change-Id: I56740aec8ccfacf3bf287329f26a88329fb65c09
2023-09-21 14:36:11 +01:00
jenkins-bot
293d0914b1
Merge "Use string as return type of MMLutil::addPreOperator"
2023-09-21 11:52:43 +00:00
Moritz Schubotz (physikerwelt)
c0d56f03fb
Use string as return type of MMLutil::addPreOperator
...
fixes https://sonarcloud.io/project/issues?resolved=false&sinceLeakPeriod=true&types=CODE_SMELL&id=mediawiki-extensions-Math&open=AYqio5RKOF_lKUTFMs1o&tab=code
Change-Id: I1b65e937e6d2ea0029d9157ce6b7f94fdc6bf1d6
2023-09-21 12:59:49 +02:00
Stegmujo
586d15b046
Fix Pilcrow size
...
* Pilcrow was very big, see test on MatTestNative page:
* " \amalg \P \S \% \dagger \ddagger \ldots \cdots "
* and add specific testcase
Bug : T315978
Change-Id: I3074f3782ef821e7f9813b79a570bbd51ead28db
2023-09-21 10:28:31 +00:00
Translation updater bot
d109aec95e
Localisation updates from https://translatewiki.net .
...
Change-Id: Iaaddf3f5b90061fad21770d716e6762610317bc1
2023-09-21 10:16:03 +02:00
Stegmujo
83db0738b3
Fix rendering of "<" and ">" in MathML
...
Bug: T346731
Change-Id: I1f163dad73481664a336f09bc5608aad6d0b5761
2023-09-19 10:32:09 +00:00
jenkins-bot
5ef83ce3b6
Merge "Render MathML for smash command from texified mhchem"
2023-09-19 09:14:00 +00:00
Stegmujo
b28d3da95a
Render MathML for smash command from texified mhchem
...
Bug: T340024
Change-Id: Id9ca073b51656dce2f48cef6c94a2281fe269418
2023-09-19 10:27:28 +02:00
Translation updater bot
af3afdb243
Localisation updates from https://translatewiki.net .
...
Change-Id: I18fe24382dd7b5c15ec586aece1e1ede9aed9158
2023-09-18 08:44:01 +02:00
Stegmujo
3c196ba389
Render MathML for tripledash and ..arrows cmds from texfified mhchem
...
* already these are as mhchem macros in mappings, tbd adapt
Bug: T340024
Change-Id: Ic604720c71de720b6959159cfd78d6b55fdf399d
2023-09-17 21:11:26 +02:00
Stegmujo
ead9760e1f
Render MathML for cmds: raise,lower,rlap,llap from texified mhchem
...
Bug: T340024
Change-Id: I9b3981c97b8158685ccc774f8435f7f1b36a42f2
2023-09-17 09:54:32 +00:00
Stegmujo
cedca8b14e
Render MathML for mskip and mkern from texified mhchem
...
Bug: T340024
Change-Id: I2f9e0bbb98f33d6269009248861e4573dc9e6911
2023-09-17 10:16:39 +02:00
Stegmujo
237ef0df8c
Create prototype of mhchemParser-PHP TexVC integration
...
* contains a draft of integrating mhchemParser as a preprocessor for texvc
* this contains also a draft of recognizing some additional statements
coming from mhchemParser
Bug: T340023
Change-Id: Icdfd0bfbfc04b0f1fe89837c2fcd184a77733b0e
2023-09-16 15:33:31 +00:00
Stegmujo
6514c9d24e
Implement mhchemParser in PHP
...
* mhchemParser v4.2.2 in Typescript was used as blueprint for this:
* https://github.com/mhchem/mhchemParser
* The mhchemParserPHP component tests can be run locally on a machine with PHP without MediaWiki-Environment with the MMLmhchemTestLocal.php
* For the tests it is probably only necessary to review the json files (Mhchemv4mml.json, Mhchemv4tex.json).
* src/TexVC/MHChem/MhchemParser.php contains the basic functionality, Patterns, StateMachines, Texify functions are located in dedicated classes
* added extracted mhchem commands which have intermediately have been introduced to the
texVC(PHP) grammar
Change-Id: I8cc3d04937b93339e352adc95c85a8a178b8825f
Bug: T329620
2023-09-16 09:40:14 +02:00
Stegmujo
8c5a694656
Implement mhchemParser maintenance in PHP
...
Change-Id: I4c97d493a35b2ae536422c0121eec6a33c3ce7ec
2023-09-16 07:13:48 +00:00
James D. Forrester
e0d66eab55
docs: Update links for Mathoid now it's moved to GitLab
...
Bug: T344747
Change-Id: I01c411974a5f74aa54461ebf433491456efb852e
2023-09-12 13:30:09 +01:00
Translation updater bot
8f7a2e5ccd
Localisation updates from https://translatewiki.net .
...
Change-Id: Ieb8bed6a7a8cf0629408e4c68316fb2b08643203
2023-09-11 09:04:15 +02:00
Lucas Werkmeister
6712685a9b
Use EntityId::getSerialization() instead of serialize()
...
Bug: T345856
Change-Id: I3684677bff3587a1d5199a33752d46146b9e2e3e
2023-09-07 16:49:02 +02:00
Translation updater bot
2ff000bd64
Localisation updates from https://translatewiki.net .
...
Change-Id: I7d67431146581e8af6f1c89e487db482e2b855b0
2023-09-06 08:42:37 +02:00
Translation updater bot
ce15585251
Localisation updates from https://translatewiki.net .
...
Change-Id: Iaeabd3cf542b8d665f15bed2d59df47f5241f546
2023-09-04 08:44:20 +02:00
Translation updater bot
6c75cb5cd0
Localisation updates from https://translatewiki.net .
...
Change-Id: I6d1d005124a26700b2211803ed043b6f95b3fc18
2023-09-01 09:03:11 +02:00
Translation updater bot
0ab01b85d5
Localisation updates from https://translatewiki.net .
...
Change-Id: I0874a27567821012f15424d73083c5afd455339d
2023-08-29 08:28:43 +02:00
Translation updater bot
48d444e6cf
Localisation updates from https://translatewiki.net .
...
Change-Id: If81d2f515c44a4760916bcca66a291943791c45f
2023-08-28 09:30:24 +02:00
Paladox
58bba16d5d
Add support for cli only version in MathStatus
...
Change-Id: I256c7bd1fd38ec3f48c4eaab1e8ff0b6c8aba3d4
2023-08-25 21:55:11 +00:00
jenkins-bot
008759c331
Merge "Remove references to VisualEditorFullRestbaseURL"
2023-08-25 11:21:39 +00:00
Umherirrender
530b9c695a
Use namespaced TitleFactory
...
Bug: T321681
Change-Id: I6392fe93fc1ff244c1035a6da7f83b8f849c0a5a
2023-08-19 14:41:58 +02:00
jenkins-bot
e3570e3f99
Merge "build: Update MediaWiki requirement to 1.41"
2023-08-19 09:46:53 +00:00
jenkins-bot
77b218bfdf
Merge "build: Update MediaWiki requirement to 1.41"
2023-08-19 09:46:35 +00:00
jenkins-bot
207af66a10
Merge "Replace some moved Title class uses, now MediaWiki\Title\Title"
2023-08-19 06:14:08 +00:00
James D. Forrester
33ddbf9f4d
build: Update MediaWiki requirement to 1.41
...
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.
Change-Id: I62fce93c9c2a454cfe556c2f3da49a6b32b04106
2023-08-19 13:31:14 +08:00
James D. Forrester
38c5c41a1e
build: Update MediaWiki requirement to 1.41
...
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.
Change-Id: I15f88fd9e877f68680cb61d25bb50a4046aa8e46
2023-08-19 13:31:03 +08:00
gerritbot
fd1e7e2a67
Replace some moved Title class uses, now MediaWiki\Title\Title
...
Bug: T321681
Change-Id: I1c875fcf7456ea03420b316f58fcd18aa748301f
2023-08-19 04:17:34 +00:00
James D. Forrester
f08789049b
Use namespaced IDatabase class
...
Bug: T344536
Change-Id: Ia5fdf3242f9510e4f21670f3746d9364ae2935c6
2023-08-19 12:03:02 +08:00
Amir Sarabadani
88a24c402b
Fix phpcs error
...
Change-Id: If047aa9a5cf26def9d1d9935294646f80ef92ffc
2023-08-19 04:51:28 +02:00
Bartosz Dziewoński
8c05a71beb
Remove references to VisualEditorFullRestbaseURL
...
The VisualEditorFullRestbaseURL config variable is no longer used by
VisualEditor and is no longer set in Wikimedia production
configuration.
Bug: T344458
Change-Id: Ifd0b9f919f7a9bdceb8761125588fe72e8d1e50c
2023-08-18 20:17:48 +02:00
Translation updater bot
17c5d8a734
Localisation updates from https://translatewiki.net .
...
Change-Id: I4a6d186f95b6aeb68563591a616f681c1d2ab2e1
2023-08-17 12:10:22 +02:00
Umherirrender
fb29f08e74
Use HookHandlers for core hooks
...
The use of "HookHandlers" attribute in extension.json makes it possible
to inject services into hook handler classes in a future patch.
Bug: T263364
Change-Id: Id8d9d0dcc6bb6ab60c5df3074803d132393415e9
2023-08-16 01:12:17 +00:00