Commit graph

2242 commits

Author SHA1 Message Date
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
libraryupgrader 9653854b1c build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3
  The following rules are failing and were disabled:
  * mediawiki/class-doc

* grunt-stylelint: 0.14.0 → 0.15.0
* stylelint-config-wikimedia: 0.9.0 → 0.10.1

Change-Id: I41574c72228ff6e1aea2a62fee8a0e2929190abd
2020-04-22 14:16:21 +00:00
Translation updater bot b967ce37e2 Localisation updates from https://translatewiki.net.
Change-Id: I2f2f27692003514f8ae8940ea36652a35bf9dca6
2020-04-20 08:42:10 +02:00
libraryupgrader ad1fb25476 build: Updating grunt-banana-checker to 0.9.0
Change-Id: Iefd12e3cd3eb738cc663b7450a658efd0566cdfe
2020-04-19 11:58:32 +00:00
Translation updater bot 102b07d24f Localisation updates from https://translatewiki.net.
Change-Id: Ifd9e35a65d3d8c2716226fb388c1f7654b9fc8a8
2020-04-17 09:07:07 +02:00
Translation updater bot 4023353364 Localisation updates from https://translatewiki.net.
Change-Id: I9ccdbf9e4b748bc87e89461ae56943a77c343c0f
2020-04-15 08:24:13 +02:00
Translation updater bot cddb15e99b Localisation updates from https://translatewiki.net.
Change-Id: I56e2d05ea1d97e2d59474e42ddc1810f2bdc8e99
2020-04-14 08:24:25 +02:00
Translation updater bot 3ca1d25b5a Localisation updates from https://translatewiki.net.
Change-Id: I2c9ab14867d3edbc3a2a83cb16e004e938c6dc0c
2020-04-13 09:01:31 +02:00
Translation updater bot a18974731d Localisation updates from https://translatewiki.net.
Change-Id: Ie374c19bf1b7e6f37c6f44cd448a529cac269792
2020-04-09 08:39:20 +02:00
Translation updater bot 0a560f69d0 Localisation updates from https://translatewiki.net.
Change-Id: I817220f93bfa500623eae141858d2e5fa8591b7e
2020-04-08 09:04:48 +02:00
Translation updater bot bc7fde9cff Localisation updates from https://translatewiki.net.
Change-Id: I99b7d85486c9a2bb4ca4914e8b06fdcb68e2d86b
2020-04-07 08:44:30 +02:00
Translation updater bot 984aaf140c Localisation updates from https://translatewiki.net.
Change-Id: Ie19f1f5411d5e85308bf420f4f53c4648b0dd469
2020-04-06 09:02:18 +02:00
Moritz Schubotz (physikerwelt) c57ee06598 Change default for wgMathLaTeXMLUrl
The xsede project was terminated. Thus a new sane default is needed.
This value is picked up by extension MathSearch.

Bug: T117659
Change-Id: I7845484a603ef008c9373b76202705c818184dc1
2020-04-05 16:35:25 +00:00
jenkins-bot 29d7bf8363 Merge "Use assertStringContainsString in unit tests" 2020-04-05 13:50:07 +00:00
Umherirrender e599afa6db Use assertStringContainsString in unit tests
Using assertContains() with string haystacks is deprecated and will not
be supported in PHPUnit 9. Refactor your test to use
assertStringContainsString() or assertStringContainsStringIgnoringCase()
instead.

Change-Id: Ic35f3c60a7f49dfe244b87192d7f161c117b37e1
2020-04-05 13:46:04 +02:00
libraryupgrader 474df5bd3d build: Updating postcss-sass to 0.4.4
* https://npmjs.com/advisories/1179

Change-Id: Ib37f2192127f0821c65f7eeda30252a478be17af
2020-04-05 07:51:27 +00:00
Translation updater bot f0a67751d0 Localisation updates from https://translatewiki.net.
Change-Id: Id5f420fbd69eefc5a6bebaf929006331beee70ae
2020-04-03 08:28:41 +02:00
C. Scott Ananian 6a9299a2da Update to parserTests v2 (tidy by default)
Bug: T174199
Change-Id: I5e6bb7fa3c36023ba70a24dfef8ea409aad55453
2020-04-02 14:19:46 -04:00
jenkins-bot b9dcb9525e Merge "Add tracking category for pages that use a deprecated LaTeX syntax" 2020-04-02 10:24:00 +00:00