Commit graph

2881 commits

Author SHA1 Message Date
Translation updater bot 8a0bc1400e
Localisation updates from https://translatewiki.net.
Change-Id: I3e2aaff6567dff1b5300941e36811fb6c0f4d05b
2024-06-27 08:44:41 +02:00
Moritz Schubotz (physikerwelt) 11dc0e4b97 Add MathJax rendering option
When collecting user feedback regarding the native
rendering option on the German Wikipedia (T346795)
it became apparent that some power users aim for bigger
and bolder fonts and a more LaTeX-like layout.
MathML, however, aims to format math as an integral part
of the text with uniform fonts and spacing.

To match both user needs, this patch adds a new rendering
option that uses client-side MathJax (without a need for
restbase or mathoid).

* Adjust MathJax`s loader to be compatible with the mw loader
* Add new rendering mode
* Copy MathJax source to resource module as foreign repo

Bug: T354136
Change-Id: I1ecf9c77fefc3b0f717107d81979276023f6cb84
(cherry picked from commit 277663b822)
2024-06-24 00:03:07 +00:00
Translation updater bot f0899ff37e
Localisation updates from https://translatewiki.net.
Change-Id: I5a6b9550a2f3a70f7996623e6fd5e52f83017fd3
2024-06-20 08:45:15 +02:00
libraryupgrader be93a2d7e9 build: Updating braces to 3.0.3
* https://github.com/advisories/GHSA-grv7-fg5c-xmjg

Change-Id: I85b3ebdc778eb5c820e3eda49b26fd4aa46083cb
2024-06-15 07:32:30 +00:00
Translation updater bot aa2393b049
Localisation updates from https://translatewiki.net.
Change-Id: I06d8013b4fb0c4fb16e8bf32d7f9f444c5aafaf4
2024-06-13 08:38:38 +02:00
Translation updater bot 4c7f84b95c Localisation updates from https://translatewiki.net.
Change-Id: I0b03fb3df2223837dcec8dac50a15b71c662d5c6
2024-05-30 09:12:56 +02:00
Translation updater bot ad9ae31553 Localisation updates from https://translatewiki.net.
Change-Id: Ida1a486d30337dc31563ef4f94cfaad12e5b11eb
2024-05-23 08:40:47 +02:00
Translation updater bot fd48b89094 Localisation updates from https://translatewiki.net.
Change-Id: I2e29c7fd4da55b81b4e79559bdbb2bf6f23d01ab
2024-05-16 08:31:09 +02:00
Translation updater bot 2f78fac44d Localisation updates from https://translatewiki.net.
Change-Id: I386b9b88d42cd94b28ab9e7b97d17361b8192e3d
2024-05-09 08:08:20 +02:00
libraryupgrader 0b911d9c00 build: Updating ejs to 3.1.10
* https://github.com/advisories/GHSA-ghr5-ch3p-vcr6

Change-Id: I2a850b665b7910acfb6f4e9c217bf46d9de8e432
2024-05-02 07:57:21 +00:00
Translation updater bot a762428c10 Localisation updates from https://translatewiki.net.
Change-Id: I086092ae0917e1461ec39dbdf00441589cafbb1c
2024-05-02 08:11:34 +02:00
Translation updater bot 23931fe2e6 Localisation updates from https://translatewiki.net.
Change-Id: I42350b4289529fed6b7fd938252f10770783d3ab
2024-04-25 08:31:22 +02:00
Translation updater bot e9651101b5 Localisation updates from https://translatewiki.net.
Change-Id: I11f61ea2889a19827b697413caabb9ab5f77efe8
2024-04-18 08:10:59 +02:00
Translation updater bot 00de17a7f7 Localisation updates from https://translatewiki.net.
Change-Id: I2f1b086dfc34beebe5987d603b8a899b8c068dc6
2024-04-11 08:09:37 +02:00
jenkins-bot f76241f530 Merge "Cleanup SpecialMathWikibase WikibaseClient availability" 2024-04-08 15:01:25 +00:00
Reedy 702c6a1382 Cleanup SpecialMathWikibase WikibaseClient availability
If the Special Page is removed in onSpecialPage_initList, it
is not accessible, so the same logic that is duplicated in
SpecialMathWikibase is redundant.

Remove math-wikibase-special-error-no-wikibase, but leave
math-wikibase-special-error-header because it's used for another
error too.

Change-Id: I62d67a6f39591cc3c8d3b1af80380a6c758ff44f
2024-04-08 14:33:40 +00:00
Moritz Schubotz (physikerwelt) 0f11a20d8f
Conditionally skip tests that depend on Wikibase
While investigating the dependency between
Math and Wikibase, it turned out there was
a hard dependency in the test code.

This change makes the availability of the Wikibase
Extension optional and conditionally skips tests.

Bug: T362027
Change-Id: I9401d7d4a3277b6923dcd81f411ac5a08f1242d2
2024-04-08 14:46:09 +02:00
jenkins-bot 23a8d519a5 Merge "Enable more tests" 2024-04-08 09:42:55 +00:00
Translation updater bot 0385aa53c6 Localisation updates from https://translatewiki.net.
Change-Id: Ie9a984f37af56dd7850feacb9584061aff9cac9a
2024-04-08 09:26:19 +02:00
Reedy 4c2401961f Conditionally register popup RestRoute using ExtensionFunctions
Bug: T362027
Change-Id: Id1329c72b81372468a98da3b47b101302c07b40d
2024-04-07 20:30:04 +00:00
Moritz Schubotz (physikerwelt) 81dedc1909 Declare properties statically
Before PHP 8.2 properties were created dynamically, this is deprecated now. This change patches the class definition and defines the dynamic properties upfront.

Bug: T314099
Bug: T360709
Change-Id: Ic197369647fbd6649daebe994bae39165e3882cc
2024-04-06 21:03:00 +00:00
Moritz Schubotz (physikerwelt) f3acb95ed4 Enable more tests
Change-Id: Ic260221963a83ddd9208f00e170609a5be537898
2024-04-06 11:20:03 +00:00
Translation updater bot dfcb9d3524 Localisation updates from https://translatewiki.net.
Change-Id: I600ed0dff6fe8c003ce916a0065b633c71c7d5ab
2024-04-05 09:38:33 +02:00
jenkins-bot 2ca5d1f651 Merge "Fix typo in math-form-type-chem help message" 2024-04-04 16:10:41 +00:00
Mormegil 4827a772f0 Fix typo in math-form-type-chem help message
`H20` is not water, `H2O` is.

Change-Id: I90deeaaaa0d416e639069b66e44ad85f196a63b0
2024-04-04 14:19:29 +02:00
jenkins-bot cc4c9dfa51 Merge "Skip tests if testfiles are missing" 2024-04-04 10:24:01 +00:00
Translation updater bot e00eaf58e6 Localisation updates from https://translatewiki.net.
Change-Id: I037c5a94d3e5f8ca84156012816848aadec2f7f0
2024-04-04 09:38:39 +02:00
Moritz Schubotz (physikerwelt) 69e111c91f
Skip tests if testfiles are missing
Instead of failing tests, we skip tests if the reuqired files
are not there

Change-Id: If107bea4efb35d08597f6274ffee45f6e951bc38
2024-04-03 20:45:20 +02:00
jenkins-bot 242bdfe6f7 Merge "build: Run stylelint for less file" 2024-04-02 16:30:22 +00:00
jenkins-bot 69d504d5e3 Merge "Update eslintignore" 2024-04-02 15:06:07 +00:00
Umherirrender 67737d5426 build: Run stylelint for less file
Fix the watch command

Change-Id: I4e3528c9c701b1f690a016d9b74e4950130b9e1c
2024-04-02 01:30:03 +02:00
Translation updater bot aee227f53d Localisation updates from https://translatewiki.net.
Change-Id: I83702f9ddde055d66aa601d8e2c2835cf141c396
2024-04-01 09:22:52 +02:00
Translation updater bot d11ed6c8d0 Localisation updates from https://translatewiki.net.
Change-Id: I7fec04039f0076937d411a0bb90d523c0c86e549
2024-03-29 08:47:07 +01:00
Translation updater bot 559cc4e4b2 Localisation updates from https://translatewiki.net.
Change-Id: I39b8009983712fbbd56f79caa8cff9a4ca9e3b0d
2024-03-28 08:32:16 +01:00
Translation updater bot 8e346588dc Localisation updates from https://translatewiki.net.
Change-Id: I467af1565305e871182948d499bc85a37ba681cd
2024-03-27 08:17:51 +01:00
Translation updater bot aa1b4ff220 Localisation updates from https://translatewiki.net.
Change-Id: Id315a0149e3d05f87541bb3947c5535f6872b8ef
2024-03-26 08:20:10 +01:00
Translation updater bot d33a4be7f0 Localisation updates from https://translatewiki.net.
Change-Id: Ifbf0ba58e04f15ae29811bb1a07701cecde100c8
2024-03-25 08:36:18 +01:00
Umherirrender 572abe655b Add explicit parentheses around mixed boolean operator
Mixing different binary boolean operators within an expression
without using parentheses to clarify precedence is not allowed (T358966)

Change-Id: I2e9e021bd10ddd7e1d951bf21c467499060bfc4a
2024-03-23 00:53:14 +01:00
Moritz Schubotz (physikerwelt) 4d42d55ab2
Remove color from test result messages
Bug: T360730
Change-Id: I0861d8ae1d6f7c2c0cdbb86135200a1916b3aa3a
2024-03-22 19:11:13 +01:00
Ed Sanders 7471130cf1 MWLatexDialog: Fix width calculations in symbol list
Change-Id: I9b4be6ebe0a9166586f7a093240e41e44c991baa
2024-03-21 13:33:27 +00:00
Ed Sanders 0763ca3ba8 MWLatexDialog: Nest LESS
Change-Id: If581265ff92fae05e2e8e9ce38d7b56a20d3ed48
2024-03-21 13:33:27 +00:00
Ed Sanders 183c6907cd MWLatexDialog: Rename CSS to LESS
Change-Id: Ica7bd525ffeb640308bf715042035d2d483093db
2024-03-21 13:33:22 +00:00
jenkins-bot edd3bce363 Merge "VE: Remove date from @copyright line" 2024-03-20 13:19:04 +00:00
Translation updater bot 33a5ca4cc1 Localisation updates from https://translatewiki.net.
Change-Id: I1d64e312c464ad35a590053783f1827f9224632e
2024-03-20 08:24:03 +01:00
Ed Sanders 8d6ad58768 Use new SymbolListBookletLayout instead of MWLatexPage
Depends-On: I357595ae490b36bcf5dd477a95c5684f3a246753
Bug: T120512
Change-Id: Ifbfb8e9d20c12d1ad8c347bb56a54d9e4eaf236f
2024-03-19 18:46:58 +00:00
Ed Sanders d842ee9ed6 Update eslintignore
Change-Id: Ibaf467fc6b3b06fa9d1554267c75149b1754e8c1
2024-03-19 18:38:26 +00:00
Ed Sanders 8aedf53e00 VE: Remove date from @copyright line
Change-Id: I37b42640123f861eff8ae23b289c3714bee308a4
2024-03-19 18:37:26 +00:00
Translation updater bot 1cee1f5b11 Localisation updates from https://translatewiki.net.
Change-Id: Ib1854475961e2504da8431a0765854799755e9e7
2024-03-18 08:31:26 +01:00
Moritz Schubotz (physikerwelt) 8c4a60f08f Replace _s with -s in i18n math mode strings
Bug: T360176
Change-Id: Ibcadd60428d61afb34700455d4c2550f7e24cc43
2024-03-15 17:27:56 +00:00
Translation updater bot 58cf8e317d Localisation updates from https://translatewiki.net.
Change-Id: Ie4135154b337c212ab8cdad87d4a3d8340056a4c
2024-03-13 08:25:51 +01:00