Commit graph

970 commits

Author SHA1 Message Date
Translation updater bot c71c186c2f Localisation updates from https://translatewiki.net.
Change-Id: I61d7984edae590bd3e5c516555914b46e3d2182e
2020-04-10 09:51:53 +02:00
DannyS712 f5b61126da Add tracking categories when deprecated syntax is used
When the `enclose` attribute is used `syntaxhighlight-enclose-category`
is added, and when a <source> tag is used, the
`syntaxhighlight-source-category` is used.

Parser tests verify the tracking category is added when appropriate.

Bug: T241636
Bug: T237267
Change-Id: I7a21c635de426ab024703c04acdc6fa2184daedb
2020-04-09 19:18:32 +00:00
Translation updater bot 019734aef5 Localisation updates from https://translatewiki.net.
Change-Id: I2fb07c7fb312aba9237bae8ac7d62d9ce4c27465
2020-04-07 08:50:37 +02:00
libraryupgrader af11f7ac23 build: Updating postcss-sass to 0.4.4
* https://npmjs.com/advisories/1179

Change-Id: Ib6400bb799707cd685e0cc7c91633c811d66c515
2020-04-05 10:08:23 +00:00
C. Scott Ananian 48b20d9b67 Update parserTests to v2 (tidy by default)
Tidy does a slightly more-aggressive escaping of &gt;.

Bug: T174199
Bug: T249194
Change-Id: I7d80557ae3b43b8da03cef56430e11a0f5dc5793
2020-04-02 13:44:54 -04:00
Translation updater bot 29a95df93c Localisation updates from https://translatewiki.net.
Change-Id: Ie56f3fe68c79efb6b4dcacaacc802721947f33af
2020-03-30 09:15:15 +02:00
libraryupgrader 4e96cef735 build: Updating npm dependencies
* mkdirp: 0.5.1 → 0.5.3
  * https://npmjs.com/advisories/1179
* eslint: 6.5.1 → 6.8.0
  * https://npmjs.com/advisories/1179

Change-Id: I98264a5ea93726783e1cf3d9c446dec436ea4b65
2020-03-21 07:12:10 +00:00
libraryupgrader 3b765e8b8f build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I11891909c5ec5b65540595f57cf7356a04f6369a
2020-03-19 13:10:42 +00:00
libraryupgrader 0a2b86c0b9 build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: I556c1de0f2e5c5d7c43f0e9095e226a0cd243f09
2020-03-08 13:54:42 +00:00
Umherirrender b59f43ce8e Improve param docs
Change-Id: Ifcb9ed2fbbdc38e11dfcc44951314baed81f2410
2020-02-29 22:17:22 +01:00
jenkins-bot 0b1160d0ba Merge "Syntaxhighlight: Classnames for the highlighted language" 2020-02-26 21:11:16 +00:00
Translation updater bot 8742e45155 Localisation updates from https://translatewiki.net.
Change-Id: I830ea9735bf8844ca9435b4a91e0fa9c3821760b
2020-02-25 09:37:19 +01:00
Translation updater bot 32d2f8466e Localisation updates from https://translatewiki.net.
Change-Id: I8f8ac7e49efaab13bb30503f79a68c648da4bf9c
2020-02-24 09:04:00 +01:00
libraryupgrader 847de00b3e build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: I68136c54e4ee8d41f25501d9bb0c32076ac26fd6
2020-02-21 03:07:03 +00:00
Derk-Jan Hartman c1e371b8e6 Syntaxhighlight: Classnames for the highlighted language
Bug: T189106
Change-Id: If7f678bd875dcfe581cd08a04b998970ed28d6d2
2020-02-18 20:13:53 +01:00
jenkins-bot 09df420f0f Merge "Fix for create_pygmentize_bundle Python 3 compat" 2020-02-14 22:51:30 +00:00
Ori Livneh c4ea314470 Fix for create_pygmentize_bundle Python 3 compat
We only support Python 3, but we're still looking for a Wheel file with
python_version starting with 'py2'. This is currently OK because
Pygments is released as a py2.py3 wheel, but it will break when they
remove support for Python 2, which will happen eventually.

Change-Id: Ib1a56e6c179af3831446d3234276cfde55fffdcc
2020-02-14 10:12:35 -05:00
Ori Livneh 269cc7c536 Update pygments to 2.5.2
Changes:
  <https://github.com/pygments/pygments/blob/f456d23496/CHANGES#L41-L253>

The most significant change is that lang='python' will now use the
Python 3 lexer by default. To get the Python 2 lexer, 'python2' must be used.
This seems like a sensible change, given the state of Python 3 adoption,
and the final version of Python 2 hitting EOL status last month. The
syntactic differences between Python 2 and 3 are minor.

Change-Id: I8a80a410b67035b97f03aacc6d8d71a97723fee8
2020-02-13 15:28:32 -05:00
Translation updater bot 090f027b36 Localisation updates from https://translatewiki.net.
Change-Id: I84b91dc959d6fe37863a08c56b4b5e5155957f58
2020-02-10 08:35:46 +01:00
Derk-Jan Hartman 0c4e7b21ac Syntaxhighlight: avoid double background
Bug: T126010
Bug: T237190
Change-Id: Ia7adb168aa5fbd006a524e91bcb85cd6fbe5a1da
2020-02-09 20:18:50 +01:00
libraryupgrader fe600fc69e build: Updating composer dependencies
* jakub-onderka/php-console-highlighter: 0.3.2 → 0.4.0
* mediawiki/minus-x: 0.3.2 → 1.0.0
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.1

Change-Id: I2fe616ddfcb232bb3a7c62b681705b82d86aa102
2020-01-30 06:48:31 +00:00
libraryupgrader 4f7ed16f87 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingReturn

Change-Id: I6576c262bf717aa9b3b0577caa27c05cff0cb44b
2020-01-14 12:44:57 +00:00
libraryupgrader b5f6be3ca9 build: Updating npm dependencies
* eslint-config-wikimedia: 0.14.3 → 0.15.0
* grunt-stylelint: 0.11.1 → 0.13.0
* stylelint-config-wikimedia: 0.6.0 → 0.8.0

Additional changes:
* Also sorted "composer fix" command to run phpcbf last.
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I26e6206daaef4d2b7e2966ffef3a49c81b9b6f8f
2020-01-13 05:13:39 +00:00
libraryupgrader 0916348c84 build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Change-Id: Id77528732abaa59ab1e2610c2acc87cb2858b8cd
2020-01-10 10:49:20 -08:00
libraryupgrader 50c8ad3f1a build: Updating mediawiki/minus-x to 0.3.2
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Ie2e85129ebfa6bbb06d0642dd1f962ee8f161733
2019-12-18 10:53:10 +00:00
Translation updater bot 61ee6510f8 Localisation updates from https://translatewiki.net.
Change-Id: Iad1ba9220f605acab89d980ebef316dc30572b85
2019-12-09 09:37:10 +01:00
jenkins-bot 4ba73a94a5 Merge "Remove 2 unused functions deprecated 5 years ago" 2019-11-18 10:34:45 +00:00
Max Semenik b591e2cdab Remove 2 unused functions deprecated 5 years ago
Change-Id: I8dc549f3c681616a8331c0666c60972db9ff41bf
2019-11-14 21:47:18 -08:00
Max Semenik 310de5114f Stop passing objects by reference
Bug: T193950
Change-Id: I968b53ebd6ab2780c952511469cb73856f354e1a
2019-11-14 21:41:37 -08:00
Translation updater bot 49b74bff7f Localisation updates from https://translatewiki.net.
Change-Id: I63ce764bdf7219e8bda73087ffe383ff43c08dd3
2019-11-11 15:33:30 +01:00
Translation updater bot df4b07053d Localisation updates from https://translatewiki.net.
Change-Id: Id6fa667b483fb1f20cdd6fc77e757b94e5802f35
2019-11-05 09:46:47 +01:00
Umherirrender 5435c895a3 build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049
Change-Id: Id81e9b5b728d5230aa283814f6c163271da3434a
2019-11-04 20:21:10 +01:00
Translation updater bot c78cbe479f Localisation updates from https://translatewiki.net.
Change-Id: I2f035745cb9463419904a314c2ff369f95954016
2019-10-31 09:29:33 +01:00
James D. Forrester 1087f347e6 Drop use of wgParser, replaced in 1.32 and to be removed in 1.35
Bug: T160811
Change-Id: I7c40256638c4bd17d8baf568685a794147cbeabc
2019-10-28 20:13:31 +00:00
Reedy e286f3be4f Update README to match pygments version
Bug: T235808
Change-Id: Iea9a1bc566f67507414f7f2a4fdfd89c8433b7fd
Follows-Up: I4dc1782f19881ba1294308e1cdea1b2e063f438a
2019-10-18 00:59:01 +01:00
James D. Forrester e84c4b6ec2 build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I4c9bca1113dc454e4652572cb4b41f012e418460
2019-10-11 12:02:57 -07:00
Ed Sanders 310bb4405a build: Update linters
Change-Id: I95cbc1fc9c2acedb5aedc3829e84a2de07d5df50
2019-10-07 17:59:00 +01:00
Translation updater bot ed08241dd4 Localisation updates from https://translatewiki.net.
Change-Id: I65335e8ef859c5eb88412393ad6f8e852e640fe2
2019-09-24 09:59:02 +02:00
Translation updater bot e2a2b07bf0 Localisation updates from https://translatewiki.net.
Change-Id: Idd049ee4f0482db8472157551cc0d546db0ef884
2019-09-04 10:15:31 +02:00
libraryupgrader 430e15c11d build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Ie66f1b01bd56a09824d48ba078acc34cf90bdb63
2019-08-23 05:21:15 +00:00
jenkins-bot ed5d8c8a6a Merge "Use language as node description" 2019-07-31 17:28:29 +00:00
Ed Sanders 7e344532c0 build: Update devDependencies
Change-Id: I60680de345c39a365b58c016a49c0e7ea11510be
2019-07-31 16:45:14 +01:00
Ed Sanders c09c3ed190 Use language as node description
No point using body as that is already visible.

Change-Id: I3425ae4712ccc820ba736ee605524abbc35aecc4
2019-07-31 16:41:15 +01:00
Translation updater bot 6a21e64f77 Localisation updates from https://translatewiki.net.
Change-Id: Ia96d4cd34136d3e7a2c7097b37ab3c6ca3574367
2019-07-27 09:31:00 +02:00
libraryupgrader c83d43c866 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* lodash: 4.17.11 → 4.17.14
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744
* set-value: 2.0.0 → 2.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* union-value: 1.0.0 → 1.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* mixin-deep: 1.3.1 → 1.3.2
  * https://npmjs.com/advisories/1013
  * CVE-2019-10746

Change-Id: I365c3a067141cdf9785df7a22d1cbc9f0d9a38b5
2019-07-16 02:14:43 +00:00
James D. Forrester 36e03d2e9d build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I597d7cfb0e52a63f42a194d4e78c1649691005a8
2019-07-09 14:18:06 -07:00
Derick Alangi 2f0a6a0c9a Avoid usage of deprecated ObjectCache::getMainWANInstance()
Replacement with services made available in 1.28 and this extension
requires (1.33). So, the replacement is good.

Change-Id: I12bb8496ff0aa518acc6f5b4c023cb075db8e64b
2019-07-03 14:59:01 +01:00
libraryupgrader 1169cf8fa2 build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I86c2219704be18c68fb00becdbb08fa3bcefb923
2019-06-10 11:45:25 +00:00
libraryupgrader a8195c7ebf build: Updating npm dependencies for security issues
* Updated stylelint-config-wikimedia to 0.6.0, addressing:
  * https://npmjs.com/advisories/786

Committed package-lock.json (T179229) too.

Change-Id: I6edfb1e98f5f0d2739fdb2cbdc3a5d32733d313d
2019-06-09 00:17:59 +00:00
Reedy 734f35ac36 Remove PHP entry point
Bug: T140007
Change-Id: Idc7b516b24ba19790998a361c0c644a16a0c5761
2019-06-06 14:57:18 +00:00