| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 8d65ce0f6c30d3bd03c554c9afdb67be95263dd8
- Localisation updates from https://translatewiki.net.
Change-Id: I8e3c4a62d2ce6ec0253c82c971e3bbe754bca663
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 2e8b4cd6982e48b692fe83b2680d5ef0c0f42c44
- Merge "tests: Remove accidentally generated 'phpunit' namespace" into REL1_43
- tests: Remove accidentally generated 'phpunit' namespace
Follows-up I0eda7d4213a5f703ab7.
Change-Id: Iab717954a638340973b01b5c660f5cd50a09452c
(cherry picked from commit ef81158cf3287d529f8083d9c288d7b109dc5e67)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to c6a8010e1cfca9cd9f398a67ea89624ac2f32fee
- Refactor BaseMappings operators
Migrate from BaseMappings to texutil.json
Note that MMLutil::uc2xNotation is idempotent and only changes
text that starts with '\u'. This method might be removed in the
future and inlined in the data.
* The maintenance script UpdateTexutil.php was committed mainly
for reviewing purposed.
Bug: T382215
Change-Id: I4898666ba6cbc14a08f1c03d4ec831cfc98d53ef
(cherry picked from commit 302fe6c5442d869d609521db026b279d608328f2)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 9778c22be4c4c4af13fee55f2b0cd9844551f611
- Fix space rendering
Due to trimming of macro names the macro '\ ' requires
special treatment.
Render as mtext with a
is not always known in XML context, therefore
use the numeric representation.
Bug: T382215
Change-Id: Ia9de613c10a6db8fba2209e821326407deb618bf
(cherry picked from commit 657a33d39c0c7ae6907b438c16a341e2001ef703)
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 7f8f5d04fd8edb856941d9d4b0ed858e89870b0c
- Fixes Special:MathStatus so native test doesn't fail due to change in default attributes for operators in Literal.php line 97
Change-Id: Ief8c0652ba25ea5aed9782127951b989c4eff819
(cherry picked from commit 6b659abd37f7a2f304c71d5ccb31c6dff09f408d)
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 13876f330770ae0fa3312a3f219ca5d284eaf9fc
- Localisation updates from https://translatewiki.net.
Change-Id: Ic8a1d16c0c09656db4597f75f49d5bae0cdcdab4
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to ec2178097b66715c9a6e4dff059f57e8cebb1c7f
- Localisation updates from https://translatewiki.net.
Change-Id: Ia0b41ab700abf82853765e5338ea69231b92fdfd
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 1e68d3e42aef6922def17560af928226ac9edf64
- Localisation updates from https://translatewiki.net.
Change-Id: I4826dce86d53aaf9934268341e4fca56b78b2e59
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 3f72fd6642372c5b332c8837bde97b800efeeeff
- build: Updating @wdio/mocha-framework to 7.33.0
Change-Id: Ie5d5f5bbe7109d36df533b2d920691550512f512
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to eef5ca813ba44d85c7d70e6252faade07f75c4eb
- Special:MathStatus: Fix unexpected paragraph blocks inside form labels
By using parseAsBlock(), each message was wrapped inside a paragraph
which is then wrapped inside a label, thus preventing the label's own
baseline alignment and whitespace from applying correctly.
Screenshot comparison on task.
Bug: T382375
Change-Id: Ib8a811e8ecb86faf04651f968e188d05711d46c1
(cherry picked from commit ac4795fb52eb1f745a6dc21e35c9e0b011d25c6e)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 263f07aa986e20ca467f227ad13cecc4e39d88f0
- Fix rendering of underOver
We recently changed the internal treatment of macros
to include the `\` in the macro names.
The respective code checked if the macro name had the letter 'o'
at position 0. Now, this is position 1.
* Check for the entire start of over
* Output an error if the macro name does not star with under
or over
* Remove dead code
Bug: T382196
Change-Id: I8eefd41e27319c8dbb05900ef2581ce4d548d4fe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 95b8bfb8f8d4c3f3c3fba71510d83ca228fa94ff
- Fix for Math Popup not working in newer version of Popup-Extension
The preview for math formula has stopped working since `7a9e8fd6221515b48f45ba29d3f102eb899f1e33` from ticket `T380079` from the Extension:Popup
Added the `href` attribute to the Math node.
The value must be a complete Uri to a local page with a title.
The value is taking from `node.baseURI`.
Bug: T381310
Bug: T380079
Change-Id: I70204f2d816b5bef19568758d7256847773b08b3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to f9d711968cfb8c783cda7a4bfacbe2b51c900fc5
- Fix for Preview has wrong location in MathML mode
The previewin MathML mode was always at the left side of the website.
Added values for `node.offsetWidth` and `node.offsetHeight`.
Values are taken from `node.getBoundingClientRect()`.
Cleaned up if-clause(node.dataset.title) as it is not needed anymore.
In-lined IsValidId funtion as there was only one remaining reference.
Bug: T381311
Change-Id: Ied17aaaaf9156e2712ed6c7d6d6f08ecccc12286
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to fff0ff94d269a416d616e518348672f96bf70358
- Fix Preview not working with MathML rendering
The Extension:Popup preview was only working in SVG mode.
Added a new selector for the preview in MathML mode while keeping the old one working.
The selector for the preview in MathML works via the href attribute.
Bug: T381046
Change-Id: I81b5c3f2eabaf738de231868089ed80f0f19db6b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to e8679974b3aa0bee2dfaeaa1ae1189a10551b4f2
- Fix: Don't render ' inside LR structures
$\left(a\right)'$ produced rendered MathML output that
looked like $\left(a'\right)'$.
* Remove the deriv (') state when rendering the element
within the brackets.
Bug: T381102
Change-Id: Id7f192c1f6b7bf4109e735e393e2546e5a39efd7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 787afe7b92fb087f7a12de53575d99197677fca6
- Fix: handling of oint et al
In I94887f6ccb45072180a318776ae96aead8658a18 oint macros were
not taken into account.
Add \ to respective oint macros.
Bug: T380184
Change-Id: Iebcf81f4983442ead8665df47d65899a16a6f422
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to c3559804274ebaea4a5c6c711df33d26b41408ee
- Fix: handling of AMS macros
In I94887f6ccb45072180a318776ae96aead8658a18 some ams macros were
not taken into account.
Add \ to respective AMS macros.
Bug: T380184
Change-Id: I7c59569fb7242f4f6123047003de6cc86ce868ea
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to a59f69dadf633dec0a345d4ef357c2a4506c1461
- Fix: handling of named operators
In I94887f6ccb45072180a318776ae96aead8658a18 named operators that render
as their tex command e.g. \gcd -> gcd, were not taken into account.
Remove additional \ in operator names.
Bug: T380184
Change-Id: If21cbd091cc9437715b10e3e6e7ffc86d6436010
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to d79a5289c65d329cf58ecd74bd333ffe4cbce2b9
- Fix: handling of array
In I94887f6ccb45072180a318776ae96aead8658a18 the array environment was missed.
Add the array environment in the same as matrix was added.
Bug: T380184
Change-Id: I92111829e7e93bc5abd40e01b6c036bbc01ee8a5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to ff305ccf089959bd3c130dc17802083619695cd6
- Fix: handling of nullary macros
In I94887f6ccb45072180a318776ae96aead8658a18 nullary macros
such as $\AA$ were missed.
Instead of adding a backslash (cf. patch set 1) we move the
functionality to texutil.
Bug: T380184
Change-Id: Ie9947b48f03dac03612a5c33bce92bf00df70aa3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 0863e1fa7d1dcb26532485d9e7b266a2c9abc4fe
- Merge "Parse row height specification in multiline environments" into REL1_43
- Parse row height specification in multiline environments
* Transform structure rich information on LaTeX length
specifications introduced in I08996129beca9ad852d23f28d7136c982707aea1
into new TexNode class
* Adjust rows, i.e., arrays to hold length information
* Add tests
Bug: T380654
Change-Id: I1aff53c7a5782c1333ed4c16639dfc660802931c
(cherry picked from commit 0458ea160e24ae6a57232959d4fea0e70df371bb)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 938dad556e8a7a7ab7747104ec07a570b8692de0
- Merge "Add space after operatorname to extended tests" into REL1_43
- Add space after operatorname to extended tests
* in Ie374524dbdf6a753063172fb88e6f60e91b9212e parsing
of operatorname was simplified. However, in this
process a space after operatorname was introduced.
* This adjusts the reference files pointing to the
latest release on zendo
https://doi.org/10.5281/zenodo.14209690
Bug: T375274
Change-Id: I29a797cdf16088d704c343dd66cc7bfafc519cd9
(cherry picked from commit c89f8ad142b7c01dc547ee6cd8d543c75cc4103e)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 9974f05012efffd16962d3a20b94d1d368093790
- Merge "Extend MathML test coverage" into REL1_43
- Extend MathML test coverage
Render all formulae from Wikipedia and make sure no errors
(that end up as wikimedia production errors in logstash)
are thrown.
Check that no merror tags are generated for the manual page
that intends to cover the full spectrum.
Currently, some merror tags are generated, which we ignore
for this commit.
Change-Id: Ifecbd8a1b0afabaa2f818e9241add92a9508bae9
(cherry picked from commit b758ae9d70d77efbf1eb4a3eaa02cf60de022860)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to f5ac055cc75fc20637cd901b9948f8f3821d5923
- Merge "Move cancel callbacks to texutil" into REL1_43
- Move cancel callbacks to texutil
Currently, information regarding individual LaTeX
macros is distributed in various files. This is the
first to attempt to collect declarative information
regarding tex macros in the texutil.json file.
As a proof of concept we start with only the cancel
macros.
* Adjust texutil tests so that whitespaces are allowed
in the payload
Change-Id: Iba2dfd5293ad96d8d8e4e2f555c8df9d1ae4d6ca
(cherry picked from commit e0acf584608f750ef81b73604a991440f03994af)
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 74b18b8452dc5e26f7ed949e1e0f7e018eb1b4ba
- Merge "Add tests for AmsMappings" into REL1_43
- Add tests for AmsMappings
Change-Id: Ia4fbba3cda087b17587a953a6c01c6fae2fe2b64
(cherry picked from commit 6a46f2813c9a693e66930b86fd964636e75e3dbc)
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 4f3043107649e4408c6867aabf41cc2211d025f3
- Merge "Add tests for BaseMappings" into REL1_43
- Add tests for BaseMappings
Change-Id: I017815230c2709ef5933256ba430b5284022637f
(cherry picked from commit d68c302b71477fbfcbe2501f857439ce69b12e5b)
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 737a21b39af5ec9ee7b8ec400be714ce16d5b5d7
- Merge "WIP add \ when needed" into REL1_43
- WIP add \ when needed
Change-Id: I94887f6ccb45072180a318776ae96aead8658a18
(cherry picked from commit 62506236ec39d99a85a0dfe9a4dba5f8ddccca88)
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 2c545b7c953acb7542baedb953726ee078bcd4fe
- Localisation updates from https://translatewiki.net.
Change-Id: I7bbf2de7366de12622421dad5549e2faf6904af2
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to c7fe24125424f12f9ca036cc0cc3e57de7aedc71
- Remove unused environment
Change-Id: I8c94d04c58356afac901de5ed207f110f1b753f7
(cherry picked from commit 6d5ddff35338adcb4c5744a8364082145a0bee63)
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 6d2e4967c844f049eb0123672ca0996e13aa95c8
- Localisation updates from https://translatewiki.net.
Change-Id: Ia86ce5a1ff8ddca0560fba8df1ece5345d890a3d
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 90c4457172a84a8db95de79e4a2bb4b364d79d3d
- Localisation updates from https://translatewiki.net.
Change-Id: I8e7e40549b301271c1f416a289d9ce4d42f4473b
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 0658c42bf5ab0c2c4416b47787cd9738e8af7d2b
- Overwrite spacing for divide
This overwrite should be removed once this is the
default in all browsers.
Bug: T375337
Change-Id: I5ab133f0368ed6eef94b0a87281bb9129fca406c
(cherry picked from commit 758f9c987a7a69d8ac950d2ed1c2b5417f343be4)
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 473064eaa71c07b61e14dd67ef9d19d5f0352e6e
- Treat ! as operator
Bug: T375935
Change-Id: Iec8e69d28fa3cc32b2c2e87f81707b9fd7af5576
(cherry picked from commit 5cde747b4978c919a53a0cc3f6a01a8e0e576bef)
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to ab1d149572ae3b1599b609424cd2be54786d974e
- Don't stretch delimiters and operators when used as literals
Change-Id: I02de8244b73c4b98a1467011a0035df059917c13
(cherry picked from commit aee95695b85c0a5d9e7decde46046b2f3ca40974)
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to b8ca39784d8ec3ffbdb2a76f711a4ac8a8f54c9a
- Localisation updates from https://translatewiki.net.
Change-Id: I31180655654dc8f0c962be345e7e45542de77afb
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 4f72825f643d95a35486d90f07681f1e19a2f3af
- Treat colon as operator
Bug: T375974
Change-Id: Ia553e77a04edfee12fa0f236375d67a88eefee67
(cherry picked from commit fcb667f733d950ad8d979a89b935e59bf7b9e71d)
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to c36093d790fbed345bde50ee5ba2bdfeb3fd44d5
- Merge "Remove menclose in cancel rendering" into REL1_43
- Remove menclose in cancel rendering
Bug: T376829
Change-Id: I860e2f2f9bf9eef8eeba35b0999ec50175fdfc4b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to bc171091b24066a4e474a909f3f3744dc2939819
- Merge "Treat \operatorname as a valid operator for limits" into REL1_43
- Treat \operatorname as a valid operator for limits
* Extend logic for checking for valid operators
* Add tests
(cherry picked from commit 775fec5450df8a2d10bedc6f8b578ff449d2c9ba)
Bug: T365170
Change-Id: I4d3762e3258c78ac5fae8b923f12aabcd2175f3d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to c35143208008cb24823255c1463fd6e882f5b761
- Merge "Ignore misplaced limits commands" into REL1_43
- Ignore misplaced limits commands
Instead of rendering \limits or \nolimits when those
commands are misplaced the commands are ignored.
TeX does it the same way, but issues a warning in addition.
Issuing the warning will be taken care of in a follow-up commit.
(cherry picked from commit b058d88bf9499fa7b7fcd14c6737dde8f5709189)
Bug: T365170
Change-Id: Ic1c28be2a5669183c3dd5d15577a35a1b5a76971
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 975dcf67c67e5ff604ecfc3d08ce8affe589ae26
- Merge "Add npm fix script" into REL1_43
- Add npm fix script
Change-Id: Iebd8d41d36a3a05d6ff9e07248716ce1ad19668d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to c8ba330ad4e8cdae32efdd377e42dbb3b8c3e0ba
- Add mathfraktur rendering for chrome
Chrome and similar browsers do not support the
mathvariant attribute that can be used to change
math fonts conveniently. Like for mathcal there is
a table that can be used to translate from latin
to mathfraktur chars.
(cherry picked from commit 63b47f21ef61d353cd2bc57388af3f221dbd2c9e)
Bug: T378433
Change-Id: Id8c3e121ed104ba3f08329b4151a7e3bec699754
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 3e14678e2a5757278b91bef61ff898fec04e8115
- Use cell based table rendering
(cherry picked from commit dab5364b31e6e7a212de0e1fae5c85a8f42204ad)
Bug: T377167
Change-Id: I6e29b47b1731638ea9b06de3006ce2834e4f0c68
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 60ee5be3c9c3cb72aa753c29cb0865e63a028251
- build: Updating mediawiki/mediawiki-codesniffer to 45.0.0
Change-Id: I4ad7bd9128406f9b5f4b01845fd51afc3aebdae7
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 7bc0e492ed6ebea88e7d4a6d90e667810c770d5f
- ext.math.popup: Add mediawiki.user in dependencies
Dependency introduced in I46e7641
Bug: T378877
Change-Id: I27f28a7adebba16370ae7010a8dbf3d9e3c5c849
(cherry picked from commit dab41da0b1cb82aefd76f4ea9a44aabf7be1fabc)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 1cef7f0dd4224b15271026c3e6dbfed39e73abbc
- Add more operators that render limit below
* Extend the list of operators that use munder instead
of msub.
* Use rendering of main operator, as some artificial
spaces might be added in the operator representation
Bug: T375907
Change-Id: I45e96257411bd7641ad6cc32aaac4c94bfcfa8a3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to b0921d7389e5de284cf733ef819ee174f7afb25a
- Replace isset() with null check
isset() should only be used to suppress errors, not for null check.
When the variable is always defined, there is no need to use isset.
Found by a new phan plugin (2efea9f989)
https://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP#isset
Change-Id: I4e797c539d8d7868bfac63fcac6b2f78463f6475
(cherry picked from commit cf6271fa06c3891b85004ae8f07eea73e5266983)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update extensions/Math from branch 'REL1_43'
to 25833d1509c11c13a64ccc644c724612873d8336
- Use explicit nullable type on parameter arguments (for PHP 8.4)
Implicitly marking parameter $... as nullable is deprecated in PHP
8.4. The explicit nullable type must be used instead.
Bug: T376276
Change-Id: Idcd0b50c1c01a33c4cabeed3e31828f77c3f6443
(cherry picked from commit 5c6bc704a21d14058a76b2c138b0e6e62371f9e6)
|
|
|
|
|
| |
Bug: T372318
Change-Id: I9a9aa83c455b16d57d08327489bd960e9b0a3ec2
|
|
|
|
|
|
| |
This reverts commit 579f1bb11996f5e83d02828ab460335ebb7c1272.
Change-Id: I59e97e578d4c7e46f4aecc330fc14047a40c3495
|
| |
|