Commit graph

2960 commits

Author SHA1 Message Date
libraryupgrader eb73dedbc4 build: Updating eslint-config-wikimedia to 0.16.2
Change-Id: Icc8a07bc85108487154499fdf32d7e6b063186e0
2020-07-16 00:59:37 +00:00
Translation updater bot 7daf60497f Localisation updates from https://translatewiki.net.
Change-Id: I79d4e75909d5d20441c5cf62e38f892fd5dc2325
2020-07-15 09:04:32 +02:00
Nikerabbit b5a8f57b98 Revert "Localisation updates from https://translatewiki.net."
This reverts commit de55a6cc69.

Reason for revert: Broken export

Change-Id: Ica69d3aa4ec24b4d4a4b6bf5095304ab6c5f99de
2020-07-13 11:52:15 +00:00
Translation updater bot de55a6cc69 Localisation updates from https://translatewiki.net.
Change-Id: Ic119d73250d5cab8955391af5299f7b1fe8713e9
2020-07-13 08:44:05 +02:00
libraryupgrader c1b4aaabf6 build: Updating lodash to 4.17.19
* https://npmjs.com/advisories/1523
* CVE-2019-10744

Change-Id: I49819212856fbf3cdb3d6871b625bf678908bd69
2020-07-10 05:14:52 +00:00
Translation updater bot 0b317e2d78 Localisation updates from https://translatewiki.net.
Change-Id: Id77a62ea9cdab23db55b4194cae86fc2672e801f
2020-07-02 08:41:38 +02:00
Translation updater bot 70d2596e41 Localisation updates from https://translatewiki.net.
Change-Id: I48352b3147dad73af90d45b2166c202357bfa282
2020-06-25 08:57:30 +02:00
Ed Sanders 74561b1db6 Fix script to exclude duplicate classes and regenerate math symbols
Change-Id: Iac62e385f54f3f75812c31ab4792d88cb5f31331
2020-06-16 16:01:27 +01:00
Ed Sanders e489beac5b build: Update eslint-config-wikimedia to 0.16.1
Change-Id: I9c2de727e1a4c7657ccca4dd22a175bfad06a852
2020-06-16 15:59:33 +01:00
Reedy 939fcce084 Bump required MW version to >= 1.35
Change-Id: Idb720c4c82bc0589426c3bda7c10ecbb1a128323
Follows-Up: I1c3d96720709253ad15bb8528cdd132571de2e4e
2020-06-15 21:53:21 +01:00
Translation updater bot 3f81409ae9 Localisation updates from https://translatewiki.net.
Change-Id: Ie92a9060b40a380b5360e6c6775d45097afd2305
2020-06-15 08:40:04 +02:00
Lucas Werkmeister 8e0655eb55 Update for namespace moves
Change-Id: Ib22c0d6fae533c1adc63bc0954292c8349e97de0
Depends-On: I2d94d99da811581e76830ae3533c836b22d990c2
2020-06-11 16:43:44 +02:00
libraryupgrader 8d6a4fe432 build: Updating mediawiki/minus-x to 1.1.0
Change-Id: Ie6ee66b753b3989a849bfdb5e2531a30e70fe49d
2020-06-09 05:49:01 +00:00
Translation updater bot d25ecaca86 Localisation updates from https://translatewiki.net.
Change-Id: If9e9064747be3880245f809f3595e9a1b7ecbe4a
2020-06-08 08:51:18 +02:00
jenkins-bot c2000b98d0 Merge "Pass function name to HttpRequestFactory::create" 2020-06-07 14:24:44 +00:00
Umherirrender 8ee257c4e9 Pass function name to HttpRequestFactory::create
Useful for logging
Replace deprecated MWHttpRequest::factory with service (since 1.32)

Change-Id: I1d952ee807970ab4ffb18db94314c4aa6a7a3ce4
2020-06-07 12:22:10 +02:00
DannyS712 4c4e02a7a9 Remove unneeded ::setUp and ::tearDown methods that only call parent
Change-Id: I3877917e9b23ce0e064ca751e415d9f1b84e1a8c
2020-06-07 03:09:08 +00:00
Reedy 2c220ddabc Fix PSR12.Properties.ConstantVisibility.NotFound
Bug: T253169
Change-Id: I816b6d26471527137cbddd313cd432f0a37db891
2020-06-05 00:17:18 +00:00
jenkins-bot e5d13be20c Merge "Selenium: Update to WebdriverIO v6" 2020-06-04 12:18:30 +00:00
vidhi-mody 7e6f695989 Selenium: Update to WebdriverIO v6
Update NPM packages: @wdio/* and webdriverio.

Bug: T253791
Change-Id: Iaeaa64ab85a3fcbfb12038fd1736619d1da484a6
2020-06-04 17:23:08 +05:30
Translation updater bot e8f2a1ac90 Localisation updates from https://translatewiki.net.
Change-Id: Ib5130ee374dbe7f4b57a12049f63a48acae2b4eb
2020-06-04 08:24:13 +02:00
jenkins-bot e49589935e Merge "Selenium: Update to WebdriverIO v5" 2020-06-03 07:57:36 +00:00
Translation updater bot a1f5f4a12c Localisation updates from https://translatewiki.net.
Change-Id: I04094221dfc123983b9e79e5cb94efc857814ea3
2020-06-03 08:30:31 +02:00
vidhi-mody cbd3fdbdcc Selenium: Update to WebdriverIO v5
Update NPM packages: webdriverio, wdio-mediawiki.
Update ESlint configuration.

Replace NPM packages:
- wdio-mocha-framework with @wdio/mocha-framework.
- wdio-spec-reporter with @wdio/spec-reporter.

New NPM packages: @wdio/cli, @wdio/local-runner, @wdio/sync.

Replace:
- `browser.element` with `$`.
- `chromeOptions` with `'goog:chromeOptions'`.
- `password` with `mwPwd`.
- `username` with `mwUser`.

Bug: T253791
Change-Id: Ief27154b2e10621b4dce51c634a075cd381021f8
2020-06-03 01:03:56 +05:30
jenkins-bot e88ae0b08b Merge "Add mathoid check endpoint to REST API" 2020-06-01 21:51:56 +00:00
jenkins-bot 3157a430f5 Merge "build: Bump phan to 0.10.2, remove taint-check" 2020-06-01 21:09:22 +00:00
libraryupgrader babb120d4a build: Updating composer dependencies
* php-parallel-lint/php-console-highlighter: 0.4.0 → 0.5.0
* php-parallel-lint/php-parallel-lint: 1.0.0 → 1.2.0

Change-Id: I990943b5c3d0b0183fb605b59a0542a1bd640be5
2020-06-01 20:16:28 +00:00
Moritz Schubotz (physikerwelt) 7c41bc19f8 Add mathoid check endpoint to REST API
Expose the math checking service via the REST API.

Port the behaviour of the RESTbase check endpoint to a new endpoint
that uses the MediaWiki API.

* this endpoint does not (yet) provide actual rendering (only checking)
* consequently it does not supply the x-resource-location header

Bug: T252390
Change-Id: I28bcb9a925953062b43cd3481536784431edcd8a
2020-06-01 12:11:24 -07:00
Translation updater bot 0732f846c3 Localisation updates from https://translatewiki.net.
Change-Id: I8cac3cc9a37cb8e468efd26c827cfaeb5fa6dc23
2020-06-01 10:08:14 +02:00
Umherirrender 78dace58e6 build: Bump phan to 0.10.2, remove taint-check
Change-Id: I044a8b6d32dc539911616e88f9491b3b3c382449
2020-05-31 17:47:02 +02:00
libraryupgrader 1e47916311 build: Updating mediawiki/mediawiki-codesniffer to 31.0.0
Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: I4f0e77e3ee1e8d8ade1bacdba6cf74cedc34da31
2020-05-30 02:18:14 +00:00
jenkins-bot b07aefbd36 Merge "Parse messages in string context" 2020-05-28 16:52:16 +00:00
Translation updater bot c2713cf061 Localisation updates from https://translatewiki.net.
Change-Id: Ieacc5a7e21d659f9067d4253980ff69205daa733
2020-05-28 08:40:20 +02:00
jenkins-bot 13453d7831 Merge "Add MathCheckerFactory Service" 2020-05-27 18:44:03 +00:00
Moritz Schubotz (physikerwelt) 707ad58598 Add MathCheckerFactory Service
Use WANObjectCache rather than genuine DB tables for greater
flexibility.

Note, this commit is the second step of Ifd89e2d9cb30fa15cc318f077b434207ed6b7214

Bug: T252390
Change-Id: Ifa7d943875f05088ef697a5a18ad292342a9b4ad
2020-05-27 07:29:49 +02:00
Umherirrender b0f6c21b8e Parse messages in string context
The current default for Message::__toString() is to parse, so this
keeps that behaviour unchanged.

Change-Id: Icf83608b031390126b5e8d29a5600d37589cf411
2020-05-24 17:11:57 +02:00
Tim Starling 7dff64f214 Use HttpRequestFactory::createMultiClient()
This allows it to respect the proposed limit on HTTP request timeout.

Bug: T245170
Depends-On: I8252f6c854b98059f4916d5460ea71cf4b580149
Change-Id: I1c3d96720709253ad15bb8528cdd132571de2e4e
2020-05-21 14:38:48 +10:00
Translation updater bot 315a6e8bf2 Localisation updates from https://translatewiki.net.
Change-Id: Ibfd5fa3c3793b34d96edfb07298df940c186a6bf
2020-05-18 08:30:37 +02:00
Moritz Schubotz (physikerwelt) fc0faf18c3 Move checking code to a new namespace
Introduce new namespace \MediaWiki\Extension\Math\ and move checking
code to this new namespace.

Note, this commit is the first step of Ifd89e2d9cb30fa15cc318f077b434207ed6b7214

Bug: T252390, T187154
Change-Id: I8c93f4b21d4a72ef2d52d4774d69e4ef55d037ec
2020-05-12 21:26:45 +02:00
Reedy 4c8b4deb2f Convert to manifest_version 2
Bug: T252470
Change-Id: I49e84a81a8d3d77883d925991a83c5cb29c34826
2020-05-12 01:46:30 +00:00
jenkins-bot 8e07daafea Merge "Properly restrict SpecialMathStatus to those with purge rights" 2020-05-11 16:02:16 +00:00
Translation updater bot f177ea4800 Localisation updates from https://translatewiki.net.
Change-Id: I2a655a9cea105cb0af0463369441a1aaa110e4f8
2020-05-11 08:38:14 +02:00
DannyS712 17b2ce0d2d Properly restrict SpecialMathStatus to those with purge rights
Bug: T252362
Change-Id: I98eabfbeda2fbef3c317c7bb6aaddf5595788f5c
2020-05-11 05:17:11 +00:00
Translation updater bot 72bf6644eb Localisation updates from https://translatewiki.net.
Change-Id: I820225d783aca61e3afa1f701aaa6bde086337ce
2020-05-08 09:28:33 +02:00
Translation updater bot f00a9e95e5 Localisation updates from https://translatewiki.net.
Change-Id: Idba0ec06246b4a196c190a41b862a471937ec677
2020-05-05 08:30:44 +02:00
Moritz Schubotz (physikerwelt) b2359d08a1 Suppress warning if mathoid-cli does not return PNG image
* Currently PHP issues a unspecific warning if mathoid-cli does not
return a PNG image.
* This change suppresses this warning.

Bug: T200493
Change-Id: Ice7d12ca9131d76fe233fd332e37484feaf79883
2020-05-01 19:49:25 +02:00
Translation updater bot 864340c450 Localisation updates from https://translatewiki.net.
Change-Id: I74cceda20f6c505551fead797cbd2e67b5c57bab
2020-04-30 08:39:04 +02:00
Translation updater bot f6f8ee7fac Localisation updates from https://translatewiki.net.
Change-Id: I7a762fe722f4b8be90263434169418031e967fcd
2020-04-29 08:36:23 +02:00
Translation updater bot 22390992c2 Localisation updates from https://translatewiki.net.
Change-Id: I584f0eacd8270e3d5c1a1a90e66274b267aa7b9f
2020-04-27 09:03:22 +02:00
Translation updater bot 9e510491f5 Localisation updates from https://translatewiki.net.
Change-Id: I325e1642ba69dd61b049841623d4551abd77f54e
2020-04-24 08:22:58 +02:00