Commit graph

2812 commits

Author SHA1 Message Date
Translation updater bot a13a768d09 Localisation updates from https://translatewiki.net.
Change-Id: Ic007cefb11f959e70890dfbe70f20640d58bd70c
2022-07-19 08:16:55 +02:00
Translation updater bot e4a8447923 Localisation updates from https://translatewiki.net.
Change-Id: Ia2bf57e5510879b5092f168150d1acee9adc8110
2022-07-18 08:15:15 +02:00
Reedy 2dc6bcac48 Revert "Add wbEntitySelector widget to edit qid in VE"
This reverts commit 422be143f6.

Reason for revert: Caused hard dependancy on Wikibase

Bug: T313143
Change-Id: Ia6f551307f0fbaa2a3fc5747ed180e588c60b02f
2022-07-16 17:40:09 +00:00
jenkins-bot 100c950ebf Merge "Use FallbackLabelDescriptionLookupFactory in MathWikibaseConfig" 2022-07-14 14:55:02 +00:00
Translation updater bot cc713b5b63 Localisation updates from https://translatewiki.net.
Change-Id: I4706a48e1212dc9641366a6d384b0575d5ad64c2
2022-07-14 08:48:26 +02:00
Lucas Werkmeister 4022150d1d Use FallbackLabelDescriptionLookupFactory in MathWikibaseConfig
Lookups returned by this factory will resolve redirects; the old factory
is deprecated and will soon be removed.

Bug: T312223
Change-Id: I3d03e2e7ad646c1048f914915b84836f958b7f6e
2022-07-13 18:34:06 +02:00
jenkins-bot a4cd05ebd3 Merge "Add wbEntitySelector widget to edit qid in VE" 2022-07-12 17:31:38 +00:00
Translation updater bot 6cb4ee5333 Localisation updates from https://translatewiki.net.
Change-Id: I3e75a5d93ad59a9f2b76e20999583341c97aa9c2
2022-07-11 09:50:00 +02:00
Fwolz 422be143f6 Add wbEntitySelector widget to edit qid in VE
Add the MathWbEntitySelector field to provide a dropdown menu which retrieves
the expression or qid from wikidata instead of the simple  TextInputWidget to
edit the qid in the Visual Editor.

Change-Id: I0a6fddd2c2978c9c4f195d668458b8d2ed478d98
2022-07-06 12:13:28 +00:00
Translation updater bot f5e451cfdf Localisation updates from https://translatewiki.net.
Change-Id: I7850b0c8b7c94b985d580f7024019d74f29f27f5
2022-07-06 10:18:17 +02:00
Translation updater bot 0db6866004 Localisation updates from https://translatewiki.net.
Change-Id: Id2cf5e7779ba4a5bbe89a453071de427a44f9629
2022-07-04 08:22:27 +02:00
na1307 7d937c6665
Add Korean special page alias
Change-Id: I6db3eed3e05e1cdbd5de41dc3d0e34883328e725
2022-06-30 10:57:32 +09:00
Translation updater bot a9894c9c68 Localisation updates from https://translatewiki.net.
Change-Id: I9c754ea932c4e897428887e349dc06692a58aeb4
2022-06-29 08:35:20 +02:00
jenkins-bot 3d493fed35 Merge "Remove some unused methods." 2022-06-27 19:11:49 +00:00
Stegmujo c60565c790 Remove some unused methods.
Bug: T310350
Change-Id: I0629b9a963bf57b1368ffc61f7c3b631b19f5260
2022-06-27 18:20:06 +00:00
Translation updater bot d8fcc0e935 Localisation updates from https://translatewiki.net.
Change-Id: Iea57581093e0b1a0fb0fe5c3b0a087eff16c6486
2022-06-24 09:31:02 +02:00
jenkins-bot 669d53a714 Merge "schema: Move all sql files to sql folder" 2022-06-23 21:53:57 +00:00
jenkins-bot 3fc4933886 Merge "Bump minimum required version for upgrade to 1.31" 2022-06-23 21:53:56 +00:00
DannyS712 8328544d9c Start catch blocks on the same line as the preceding }
Change-Id: Ib3761884bc2ec14640f6e649ca7a704c9cea83ca
2022-06-23 00:24:02 +00:00
Umherirrender 44f7c7821a schema: Move all sql files to sql folder
It is good practice to have a folder in the root for all sql files.
Also use the engine folder to store the patches

Change-Id: Ic26c042f0a5a8ca6e0568b38c4b4b2b4f0686efb
2022-06-22 18:11:51 +00:00
Umherirrender 1290d24523 Bump minimum required version for upgrade to 1.31
Remove sql patches, mention the gerrit change to check version
- mathlatexml.mathml-length-adjustment.mysql.sql -
Id09ec6201f68efe63a439f6e85a53876d5c1e521

Change-Id: I2d66ab3203758dbe3d0c442163f010595fea5437
2022-06-22 18:09:53 +00:00
Translation updater bot 2e630542ab Localisation updates from https://translatewiki.net.
Change-Id: I6511d5417c15197685d100ec7f179f805fb77794
2022-06-16 09:24:58 +02:00
Translation updater bot a5aca55bb5 Localisation updates from https://translatewiki.net.
Change-Id: I3765d1d123c2b06c1fea5b7288c1c1264daf1144
2022-06-14 08:48:35 +02:00
Translation updater bot 5cdf9b4408 Localisation updates from https://translatewiki.net.
Change-Id: I5a6be5f7f9d2d4705a53fe2b23a57a2da881cdec
2022-06-13 08:28:36 +02:00
Petr Pchelko a245040c20 Remove special handling of math in sections
Originally this was added in T103269, but according
to T103269#6769990 this could not be needed anymore.
I've tested this with the original test case, and it
all works correctly without running the regex.

Change-Id: I5b3b11e71f0d6e55f158fa0d941977c823d12d51
2022-06-10 15:26:43 +00:00
Translation updater bot 25b3201324 Localisation updates from https://translatewiki.net.
Change-Id: I5794a82391e33c5684ce4fd7d853267b5c31413c
2022-06-10 08:50:03 +02:00
Moritz Schubotz (physikerwelt) 3d979336bb
Improve description of default rendering mode
The description of the default rendering mode mw_math_mathml is misleading.
Without browser plugin users never see MathML, but SVG images.

Especially in preperation to the transition to native MathML rendering,
this should be corrected.

Bug: T310211
Change-Id: I6d3c1588105cc7ebe7433a299108deacfecd61aa
2022-06-08 20:18:53 +02:00
Translation updater bot 96760b818e Localisation updates from https://translatewiki.net.
Change-Id: Ia2aacbad56707d78a04666c23ddf08af9fb2da36
2022-06-08 08:27:28 +02:00
Translation updater bot bee7f7966d Localisation updates from https://translatewiki.net.
Change-Id: Ib1b58b82dc149652284f454ed55cc1a19bee8405
2022-06-07 10:01:10 +02:00
Translation updater bot 56ee850473 Localisation updates from https://translatewiki.net.
Change-Id: I4b2bbbd16985500a539e82d46ea583729f40d8d2
2022-06-06 09:26:08 +02:00
Translation updater bot c8993ee812 Localisation updates from https://translatewiki.net.
Change-Id: I2e880e67effb63e14e89e38d298d19c203704a20
2022-06-03 08:57:52 +02:00
jenkins-bot 8439fba351 Merge "Replace getNativeData to getText for Math" 2022-06-01 15:57:54 +00:00
jenkins-bot 86feb31faa Merge "Add text field in VE to change QID" 2022-06-01 11:45:31 +00:00
Fwolz 74bd7c4730 Add text field in VE to change QID
Makes it possilbe to change the QID of a formula in the visual editor
quick editor and in the dialog editor inside the options panel.

Change-Id: Ie4cb651939a59bf4446cd3e5327522d100eac5bf
2022-06-01 12:27:43 +02:00
Moritz Schubotz (physikerwelt) 92c4db78ef Set up mathoid and mathlatexml regardless of configuration
Set up both database tables (mathoid and mathlatexm) regardless of the enabled modes. This will allow to change configuration without having to rerun db update scripts for the price of having potentially empty tables in the db.

Bug: T307896
Change-Id: I5ed50e53835c378f9f497a6ff3a4195299259d5b
2022-06-01 10:04:10 +00:00
russ-rogovetz 894c22989b
Replace getNativeData to getText for Math
Replace Content::getNativeData() calls with TextContent::getText() in Math extension.

Bug: T283679
Change-Id: Iaf3b7f82f14069374de8ede7b519d822f8d6010f
2022-05-30 21:04:39 +02:00
jenkins-bot 9e420ab960 Merge "Use new ResourceLoader namespace" 2022-05-24 23:44:32 +00:00
Tim Starling a5c7506265 Use new ResourceLoader namespace
Extensions using Phan need to be updated simultaneously with core due
to T308443.

Bug: T308718
Depends-On: Id08a220e1d6085e2b33f3f6c9d0e3935a4204659
Change-Id: I6d355e7037186e840a76f319886ed870419d9fc8
2022-05-24 22:59:43 +00:00
Željko Filipin 98c82d5b57 selenium: Use @wdio/spec-reporter
Dot reporter provides no information on which tests suites and tests are
executed. Spec reporter is more verbose but it also provides much more
information that is useful in general, but especially when debugging.
For example, which tests are executed and which tests are skipped.

Bug: T280331
Change-Id: Ie418ba2fe0e6c236a1990a528f9957554cc0d575
2022-05-24 14:00:05 +02:00
libraryupgrader 64f47709ef build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

npm:
* grunt-eslint: 23.0.0 → 24.0.0
* grunt-stylelint: 0.16.0 → 0.17.0
* stylelint-config-wikimedia: 0.11.1 → 0.13.0

Change-Id: I369897d2e8cc58ac00e8395f9545838e7f42be2e
2022-05-21 07:23:34 +00:00
libraryupgrader f248c00ea7 build: Updating npm dependencies
* async: 2.6.3 → 2.6.4
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* ejs: 3.1.6 → 3.1.8
  * https://github.com/advisories/GHSA-phwq-j96m-2c2q

Change-Id: Ic1bf08665a1653caf075996a621357b583a8752a
2022-05-20 07:10:42 +00:00
lens0021 cb9b94c0bc
extension.json: Fix the invalid name of $wgMathUseInternalRestbasePath
Bug: T308546

Change-Id: I63592f4cfdd4ec8f7774bf75fb847ffedfe6934d
2022-05-17 22:29:27 +09:00
lens0021 72a537e8a8 Add $wgMathUseInternalRestbasePath
Adds a new configuration variable that can be used to run RESTBase
independently from Math.

Bug: T306572
Change-Id: Ie40bd36a53fa5018364cf9268fee29533f4aa23b
2022-05-17 07:32:57 +00:00
Translation updater bot c0aeb60552 Localisation updates from https://translatewiki.net.
Change-Id: Ibc6cc07d4008062a3c77503e9d06d0384a93b820
2022-05-09 08:12:00 +02:00
Translation updater bot 6802824c78 Localisation updates from https://translatewiki.net.
Change-Id: I91f3367d1b8d98c9b904f65b6d9259ae99769317
2022-05-02 08:19:54 +02:00
libraryupgrader 389a071858 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1

npm:
* eslint-config-wikimedia: 0.21.0 → 0.22.1
* grunt: 1.4.1 → 1.5.2
* ansi-regex: 5.0.1 → 5.0.1
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
* async: 2.6.3 → 2.6.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* jake: 10.8.2 → 10.8.5
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h
* mocha: ^7.1.1 → ^7.1.1
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* nanoid: 3.1.25 → 3.3.1
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2

Additional changes:
* Set `name` in package.json.

Change-Id: Iff57ab47c1407e2eb4b523ef72bdbcecdff74a60
2022-04-27 16:28:47 +00:00
Translation updater bot 6868113ae8 Localisation updates from https://translatewiki.net.
Change-Id: I0f4c9f7e8a06c6ba0297462b8018bd238ebd0f15
2022-04-15 09:56:41 +02:00
Translation updater bot 78380406fa Localisation updates from https://translatewiki.net.
Change-Id: I99194243eec0ea2e8cdabc5db6786aa924064c1f
2022-04-14 08:26:54 +02:00
Translation updater bot fe4348f9bd Localisation updates from https://translatewiki.net.
Change-Id: I051dd406852478fad9ac5ca5bbcad3eb1e552192
2022-04-04 09:34:43 +02:00
Translation updater bot 519ba90edc Localisation updates from https://translatewiki.net.
Change-Id: I12b68cea415da81a1d243c65c6614d3cf5bb8b40
2022-03-30 08:18:21 +02:00