Commit graph

1288 commits

Author SHA1 Message Date
Translation updater bot 0a2f128e33 Localisation updates from https://translatewiki.net.
Change-Id: Iedea634dbb3641c0752632b073e1e73f9e0afae9
2022-02-11 08:42:21 +01:00
Translation updater bot 6b6001c5f9 Localisation updates from https://translatewiki.net.
Change-Id: Iacf4ee294ce7f3b977fba5fab7f54d7b76dacb73
2022-02-01 08:27:33 +01:00
Translation updater bot f48d370935 Localisation updates from https://translatewiki.net.
Change-Id: Ifb851275b8261ecac761277e8c2d2171e8bc24c6
2022-01-19 08:24:27 +01:00
Ori Livneh a4273571da Update Pygments to 2.11.2
New lexers: BDD, Elpi, LilyPond, Maxima, Rita, Savi, Sed, Sophia, Spice, .SRCINFO.

Full upstream changelogs:

* https://github.com/pygments/pygments/releases/tag/2.11.0
* https://github.com/pygments/pygments/releases/tag/2.11.1
* https://github.com/pygments/pygments/releases/tag/2.11.2

Bug: T298399
Change-Id: I1177cb8a5c697852856b676c857939e73acb3f6c
2022-01-17 23:51:19 +00:00
Translation updater bot b473a940a6 Localisation updates from https://translatewiki.net.
Change-Id: Ieb87bacabc7a0cfd384d706b2f3121b2cc160833
2022-01-17 08:13:04 +01:00
C. Scott Ananian e0cece9bc6 Passing a string to ParserOutput::addModules()/addModuleStyles() is deprecated
Bug: T296123
Change-Id: If14866f76703aa62d33e197bb18a5eacde7a55c0
2022-01-11 17:01:22 -05:00
Translation updater bot fa5151d287 Localisation updates from https://translatewiki.net.
Change-Id: I575438492515a6531e399e83409d848da2bb2d6b
2021-12-06 08:20:17 +01:00
Translation updater bot 656194431c Localisation updates from https://translatewiki.net.
Change-Id: I105cd2e3774e8d5a009d76483a7d3e4e04199518
2021-11-03 08:21:19 +01:00
Translation updater bot de4cf4b8d7 Localisation updates from https://translatewiki.net.
Change-Id: I585a576a8153596ba75de95d7b6fe7d5596c7683
2021-11-02 08:07:34 +01:00
libraryupgrader 85efa47b3b build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: I9debc456a0c7508da4679d67659fbc0ebddce885
2021-10-24 13:45:35 +00:00
Derk-Jan Hartman 34c936a8d3 Include generated styles before Mediawiki overrides
The order of style inclusion matters, some of our overrides were no
longer in effect.

Follow-up to: I2e82e5aa2a71604b87ffb4936204201d06678341
Bug: T292736
Change-Id: If202c26d2c29994cb3680eb76a86bb7efacc3ff9
2021-10-10 22:30:13 +02:00
libraryupgrader a88fc2af71 build: Updating ansi-regex to 5.0.1
* https://npmjs.com/advisories/1002401 (CVE-2021-3807)

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I70d872844d7594b57f20774692217efe61eeb172
2021-10-08 13:51:51 +00:00
Ed Sanders e2a95de1ce Move var delcarations inline
Change-Id: I4546e0bd18845fa21b7aaca2b50d11e16e637229
2021-10-07 14:34:55 +01:00
Translation updater bot bb70daaf44 Localisation updates from https://translatewiki.net.
Change-Id: I638d9c49384b126c6e0934435e63fd882c86234b
2021-10-07 09:03:30 +02:00
jenkins-bot 5274a69824 Merge "Bump required MediaWiki version to 1.36" 2021-10-05 14:54:57 +00:00
Func 81e24e26df Bump required MediaWiki version to 1.36
After change I2e82e5aa, this extension no longer supports 1.35
and earlier.

Change-Id: I51c318f77a03f0f72611f039e139b4869b80f8ba
2021-10-05 14:51:20 +00:00
Translation updater bot 4bb283858b Localisation updates from https://translatewiki.net.
Change-Id: Icebdafe9e750dd4bb3f117ecb9c0e7ac96c48abc
2021-10-01 09:30:21 +02:00
Subramanya Sastry 360ec88ec1 Get rid of +tidy, +untidy references from parser tests
Bug: T198214
Change-Id: I4b3346b167d13a1e4361ba78a44f6922e1828b55
2021-09-30 13:45:21 -05:00
Translation updater bot 3fe68d4f0e Localisation updates from https://translatewiki.net.
Change-Id: I2fc45ac84b88156566318ef6000ee1d37772772a
2021-09-23 12:28:02 +02:00
jenkins-bot a5be55b248 Merge "Expose Pygments version on Special:Version" 2021-09-10 19:28:13 +00:00
jenkins-bot de87bfcee0 Merge "Port to BoxedCommand" 2021-09-10 19:27:01 +00:00
Kunal Mehta af6654e5f9 Port to BoxedCommand
All of the interactions with `pygmentize` have been refactored into a
new class, conviently called Pygmentize. It is responsible for getting

* pygments version (cached in APCu for 1 hour)
* generated CSS (cached in WAN by version for 1 week)
* lexer list (cached in APCu by version for 1 day)

and actually highlighting stuff! Most code paths differentiate whether
we're using a bundled version of pygments or one that has been
explicitly configured. If using the bundled one, we take shortcuts since
we already know the lexer list, have the CSS generated, etc.

ResourceLoaderPygmentsModule is added to switch between loading
generated CSS from the bundled file or Shellboxing out to get it from
pygments.

Bug: T289227
Change-Id: I2e82e5aa2a71604b87ffb4936204201d06678341
2021-09-10 11:47:28 -07:00
Kunal Mehta b8a5dd08ee Expose Pygments version on Special:Version
Change-Id: Ia4eccc4f16873b16e106c8196d7582ca5b27b365
2021-09-10 11:47:28 -07:00
libraryupgrader 580ce3425f build: Updating composer dependencies
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Change-Id: I2930dc6c8e44bb306711c3770a695a9d201b1b65
2021-09-09 07:49:55 +00:00
libraryupgrader 96fe42fd33 build: Updating stylelint-config-wikimedia to 0.11.1
Change-Id: I49950c0b15a4be915259952811bfd2432da3062a
2021-09-04 22:54:14 +00:00
Kunal Mehta c8bd606cab Remove dead Shell::isDisabled() check
With "ability-shell" set in extension.json's requirements as of
commit b5a904e2ec this extension will refuse to load if shelling
out is disabled.

Change-Id: Ie8f446fbb33e585ffcc7d0adda1894a5497f2dad
2021-09-02 21:42:13 +00:00
Kunal Mehta b4f53c7ad1 Update Pygments to 2.10.0
New lexers include ansys, apdl, asc, gcode, gsql, jslt, julia-repl,
kuin, meson, nestedtext, nodejsrepl, nt, omg-idl, output, pem, procfile,
pwsh, smithy, teal, thingsdb, ti, wast, wat.

Also "golang" is now an accepted alias for go.

The output lexer is a generic lexer that just makes everything look like
output, see <https://github.com/pygments/pygments/issues/1835>.

Full upstream changelogs:
* https://github.com/pygments/pygments/releases/tag/2.10.0
* https://github.com/pygments/pygments/releases/tag/2.9.0
* https://github.com/pygments/pygments/releases/tag/2.8.1

Bug: T280117
Change-Id: I162dff1e3f3eb6f01e87dc09509b508f52aff46c
2021-08-27 13:34:05 -07:00
libraryupgrader 2e6487bb26 build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I0a42bcad63d6b9999461f6175e14676fe9f8bb11
2021-08-12 11:49:46 +00:00
Translation updater bot 5399b2b093 Localisation updates from https://translatewiki.net.
Change-Id: Ia070ba7d03c91f1095d3038b3933138f4c4011af
2021-08-11 08:19:36 +02:00
Translation updater bot d2df466fca Localisation updates from https://translatewiki.net.
Change-Id: I84e9fd319f49b5b5cae0ee97d250ce9a9687afc2
2021-08-06 08:13:57 +02:00
libraryupgrader d6176eb862 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0

npm:
* postcss: 7.0.35 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* glob-parent: 5.1.0 → 5.1.2
  * https://npmjs.com/advisories/1751 (CVE-2020-28469)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)

Change-Id: I63d2cc4c790d9b7d89187b72fed8ed11e89712a2
2021-07-24 02:37:26 +00:00
Translation updater bot c2344332cd Localisation updates from https://translatewiki.net.
Change-Id: If0f0c0201bb8ba89d8837bc63563bc45c6428026
2021-06-24 08:27:19 +02:00
Translation updater bot 95d2619de3 Localisation updates from https://translatewiki.net.
Change-Id: I91c9e768d23301de715be277cc083f2f2b469c98
2021-06-04 08:37:25 +02:00
Translation updater bot 413216a1ee Localisation updates from https://translatewiki.net.
Change-Id: I9cee809f1f0d4d0d1dc8a78d905b1274a77b00f1
2021-06-02 14:35:57 +02:00
Translation updater bot d3267c48de Localisation updates from https://translatewiki.net.
Change-Id: I0d56a058cf17d611bf2cf2fad1a25db4d950bb2c
2021-05-27 14:07:37 +02:00
Translation updater bot d93a5e383b Localisation updates from https://translatewiki.net.
Change-Id: I45d06d4d01839e79b308d280b3c1875e4d4c6d5b
2021-05-27 12:06:23 +02:00
libraryupgrader ffe27db508 build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I57c9ad14a8681ff4803c3a6a7788cf6aca0e508e
2021-05-26 05:05:44 +00:00
Translation updater bot 819b2a7322 Localisation updates from https://translatewiki.net.
Change-Id: Iccac06e8808aaf92329900b00a9f3a4068ed8a0a
2021-05-25 08:54:16 +02:00
Translation updater bot 78641cb785 Localisation updates from https://translatewiki.net.
Change-Id: I14b1a0b5001a9f0d977b06e031f40912d01f8f33
2021-05-24 09:55:31 +02:00
jenkins-bot 8facfc8945 Merge "build: Use HTTPS for all dependencies" 2021-05-21 05:37:39 +00:00
Alexander Vorwerk 47a18809ef Avoid using ContentHandler::getContentText()
ContentHandler::getContentText() is deprecated and should be
replaced with Content::getText() for TextContent instances.

Change-Id: I8767a925148c31b3a64761f1173a2a85bd28dfe0
2021-05-20 01:01:43 +00:00
Kunal Mehta 109323d1da build: Use HTTPS for all dependencies
Change-Id: I644519bf82495d92e8f4f70d011ec785afbcb5ba
2021-05-19 09:24:09 -07:00
Translation updater bot 59c86c4ef5 Localisation updates from https://translatewiki.net.
Change-Id: I573e8be6ea3652e87fcaa11c19d9f1f94bd73b93
2021-05-17 08:43:46 +02:00
libraryupgrader c6e7317bd6 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

npm:
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)
* hosted-git-info: 3.0.7 → 3.0.8
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)
* postcss: 7.0.35 → 8.2.15
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* websocket-extensions: 0.1.3 → 0.1.4
  * https://npmjs.com/advisories/1710 (CVE-2020-7662)

Change-Id: Ibb7da231b399652d6ad6857cac0e4831e7cfa12b
2021-05-14 04:34:12 +00:00
jenkins-bot 9497613160 Merge "Localisation updates from https://translatewiki.net." 2021-04-26 07:16:19 +00:00
Translation updater bot 4398ee85dd Localisation updates from https://translatewiki.net.
Change-Id: I65000f003e474ec7add4b87b167e0dade77a6046
2021-04-26 09:10:56 +02:00
Translation updater bot 0885282871 Localisation updates from https://translatewiki.net.
Change-Id: I929984659820be9d0fb9546c1d803139509ae207
2021-04-26 08:57:56 +02:00
Translation updater bot 94eabf374b Localisation updates from https://translatewiki.net.
Change-Id: I02514453de24f3003fb9b29e27f597ce62442178
2021-04-20 08:48:24 +02:00
libraryupgrader dc2c27f9fa build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: I875ad34c50f6e745701eeb0724ee6995c17f2a10
2021-04-14 08:20:46 +00:00
Translation updater bot 37379a2e32 Localisation updates from https://translatewiki.net.
Change-Id: I190c8feba34963ca2700ce07d979bba8dd25f79f
2021-03-30 08:33:50 +02:00