Commit graph

1133 commits

Author SHA1 Message Date
Translation updater bot 4756c75dc6 Localisation updates from https://translatewiki.net.
Change-Id: Iea360e472b5af7ee54252589eb7529051eb09ff8
2020-04-22 08:57:04 +02:00
Translation updater bot eaca20aa3c Localisation updates from https://translatewiki.net.
Change-Id: I87402b334fba08e67f07508c919f7f7f284c9a4a
2020-04-21 08:46:13 +02:00
Translation updater bot e011dee694 Localisation updates from https://translatewiki.net.
Change-Id: I11ca04792868707f6949429378783172740287ca
2020-04-20 08:43:05 +02:00
jenkins-bot 48de90bf09 Merge "Also remove GeSHi class" 2020-04-19 20:43:38 +00:00
jenkins-bot 89919c9c20 Merge "Kill SyntaxHighlight_GeSHi alias" 2020-04-19 20:43:38 +00:00
libraryupgrader b865f59614 build: Updating grunt-banana-checker to 0.9.0
Change-Id: Ibe0fc7f99fc0022970fd2ef73629c429f44a1874
2020-04-19 20:14:00 +00:00
Reedy 16243d424f Also remove GeSHi class
I think two years is more than long enough for this one too

Change-Id: I6dd34c3fd60d6ade0206bc3d62759d87359c0b7a
2020-04-19 00:52:50 +01:00
Reedy 2d2119801a Kill SyntaxHighlight_GeSHi alias
I think 3 years is more than long enough

Change-Id: I03563e45be48f03622cbeda09a20b2f6ffe2b998
2020-04-19 00:48:44 +01:00
Translation updater bot 4ab4c1df3a Localisation updates from https://translatewiki.net.
Change-Id: I34f2a1e53e5f60889c8a21db8eef20214f303740
2020-04-17 09:07:39 +02:00
Translation updater bot 8bd920e619 Localisation updates from https://translatewiki.net.
Change-Id: I949cc02702620d1ea15b466a403e9fcea17fc8da
2020-04-16 09:34:08 +02:00
Translation updater bot b0b9877471 Localisation updates from https://translatewiki.net.
Change-Id: I9490af3d3757020eeafced3792fec2c607464f07
2020-04-15 08:25:03 +02:00
Translation updater bot 76a947e882 Localisation updates from https://translatewiki.net.
Change-Id: I4c9ad631be4f18a0e042cc0a2d0e1aa99a2569cf
2020-04-14 08:25:22 +02:00
Translation updater bot 8f58455186 Localisation updates from https://translatewiki.net.
Change-Id: Ie40787e30c2dcef9d81215ebe825f27a70d3cd0a
2020-04-13 09:02:40 +02:00
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