Commit graph

2331 commits

Author SHA1 Message Date
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
Translation updater bot 772c798c67 Localisation updates from https://translatewiki.net.
Change-Id: I6eb4a85bbe3036f7d198e51375c72ea80c1746af
2022-03-28 08:21:24 +02:00
Translation updater bot b6b05faae3 Localisation updates from https://translatewiki.net.
Change-Id: Icdd125c84d20f80956d101072bb45a59ff36ab26
2022-03-15 08:25:28 +01:00
Translation updater bot ae1187882b Localisation updates from https://translatewiki.net.
Change-Id: I2ccde63ffbcc7c502f137d1e8d1d7913310959dd
2022-03-14 08:14:18 +01:00
Ed Sanders 94d6b81d2f tests: Use ve.test.utils.newMwEnvironment()
Depends-On: Ib20c1f5277c5d5a99f5117c82b7cbdeab75d3279
Change-Id: Id551b4c8ae3a857f1318d4b7f5e5518c889bc9d2
2022-03-04 13:52:59 +00:00
Translation updater bot 3bc83aa25f Localisation updates from https://translatewiki.net.
Change-Id: Id7b187ed6f2a8ca8f96df6196edae4a54aadf641
2022-03-04 08:29:43 +01:00
Translation updater bot 268d87cc54 Localisation updates from https://translatewiki.net.
Change-Id: I5a3844970fd6d7015e8709c0e30f2609ac737fde
2022-03-03 08:22:52 +01:00
Translation updater bot 04f5decc61 Localisation updates from https://translatewiki.net.
Change-Id: I748a998ef3d149c71ad159c3ae57df63aad7219d
2022-02-25 09:44:32 +01:00
Translation updater bot 556c3de316 Localisation updates from https://translatewiki.net.
Change-Id: Idad341161500d5a7ac655ced443661ec112447ce
2022-02-21 08:16:10 +01:00
Translation updater bot 19560b6bbb Localisation updates from https://translatewiki.net.
Change-Id: Id0ce4e1e5f6cb6af3e278cc6a3980457e1c062e9
2022-02-16 08:13:14 +01:00
Translation updater bot 6b1c3d7e47 Localisation updates from https://translatewiki.net.
Change-Id: If7c759928ef2a223e095f7326b24c156ba6d9ddd
2022-02-14 08:14:41 +01:00
Translation updater bot c04849e590 Localisation updates from https://translatewiki.net.
Change-Id: I6c1d54ad3d860fcd4f1f763e6e8975004d80811d
2022-02-11 08:41:55 +01:00
Ed Sanders 73cbed9cd1 eslint: Lint Gruntile.js using server rules
Change-Id: I87efd77d71d8787300539813da04d8679dca764b
2022-02-07 16:35:42 +00:00
jenkins-bot 0c5b32c270 Merge "selenium: Refactor WebdriverIO tests from sync to async mode" 2022-02-07 14:47:16 +00:00
Translation updater bot a27b595616 Localisation updates from https://translatewiki.net.
Change-Id: Id2eb492946bdf9ea7406ee98e133aa51ded5c767
2022-02-07 08:22:24 +01:00
Translation updater bot 8e3bee350f Localisation updates from https://translatewiki.net.
Change-Id: Ic3ec39f7bbdf132bd94650c4193f9848226c2a96
2022-02-03 08:44:18 +01:00
Translation updater bot 5a4a4757fb Localisation updates from https://translatewiki.net.
Change-Id: Icd1eb1fb40a4a9017ed9bc7bcb9cecd98e9fb622
2022-02-01 08:27:13 +01:00
osamaahmed17 099e327cc6 selenium: Refactor WebdriverIO tests from sync to async mode
WebdriverIO has dropped support of sync mode due to breaking changes in Chromium, hence all tests have been changed to async.

Update npm packages: @wdio/*, wdio-mediawiki and webdriverio because async mode needs at least webdriverio v7.9.

Remove npm package: @wdio/sync.

Bug: T293076
Change-Id: I35b3b29c09e80306d14a12c5194efeead22a9804
2022-02-01 01:24:19 +11:00
Translation updater bot 984acafb23 Localisation updates from https://translatewiki.net.
Change-Id: I39275e47ce1d332a32a8b0790d241a43ae9d4303
2022-01-31 08:22:19 +01:00
Translation updater bot 4912e4a89c Localisation updates from https://translatewiki.net.
Change-Id: Ic29cb8bb1b1acf0b29a66569599f1e9c7227e0c3
2022-01-27 08:39:00 +01:00
Translation updater bot e720c89802 Localisation updates from https://translatewiki.net.
Change-Id: Id33a4926ec5eb3cf654cc4db94be86ddbfa4b7c7
2022-01-25 08:32:56 +01:00
Translation updater bot 8fb24c9731 Localisation updates from https://translatewiki.net.
Change-Id: I56acc10790fca59ae2431039368c4b824a336cad
2022-01-24 08:27:29 +01:00
Translation updater bot b519c1072d Localisation updates from https://translatewiki.net.
Change-Id: Ib69b5d84f98923cab533221238ea3b88b396eded
2022-01-20 09:17:53 +01:00
Translation updater bot 7530a0f484 Localisation updates from https://translatewiki.net.
Change-Id: I1553fc4e10f4fdcb3c1e0bfacb48e8f2134d70c7
2022-01-17 08:12:28 +01:00
Translation updater bot 1829187b69 Localisation updates from https://translatewiki.net.
Change-Id: Ia2326d16a5086f38fbe88e6971af49a9d3d879be
2022-01-04 08:28:02 +01:00
Alexander Vorwerk 1f8553bc3a Replace usage of deprecated global function wfReadOnly()
The global function wfReadOnly() has been deprecated in favor of the
new ReadOnlyMode service. Its usages should be replaced.

Bug: T283978
Change-Id: I8f7c026961a6b65e2e45a675c54f0481ccdf09e0
2021-12-26 00:03:40 +01:00
Umherirrender e2e4f1cb6b Use ParserOptions::newFromAnon instead of ParserOptions::newCanonical
ParserOptions::newCanonical is deprecated.

Change-Id: I8e709cd4e1b2dbf86f10176a3bbc5854d463ede0
2021-12-18 20:10:48 +01:00
Translation updater bot 3487168224 Localisation updates from https://translatewiki.net.
Change-Id: I2f4db19aa636e517365994c1ced3ac210e38063f
2021-12-16 08:29:46 +01:00
Translation updater bot 3aaa69d3d3 Localisation updates from https://translatewiki.net.
Change-Id: Ia45318cf00ca637011a3ad5d2696eb323e47a3c1
2021-12-09 08:22:34 +01:00
Translation updater bot 6979cb88f5 Localisation updates from https://translatewiki.net.
Change-Id: I741ff1ba8706c8e631e342ba1e088ae77a4c4baf
2021-11-30 08:21:49 +01:00
Translation updater bot c9fbfe3064 Localisation updates from https://translatewiki.net.
Change-Id: I5fdbf3b0bbef116e020e0a90abd0f9c73605420e
2021-11-29 08:12:05 +01:00
Translation updater bot 36ab3abe5b Localisation updates from https://translatewiki.net.
Change-Id: Ic65d31cf503400a0f99a278371abcd7e6b36a79a
2021-11-24 08:22:08 +01:00