Commit graph

1291 commits

Author SHA1 Message Date
Translation updater bot c5a1c502cf Localisation updates from https://translatewiki.net.
Change-Id: I0d126c3802946ffe968528be55b109a192625136
2020-05-28 08:41:12 +02:00
Translation updater bot 9f86096b1a Localisation updates from https://translatewiki.net.
Change-Id: I493eae14391081a0c3f5c2106cdc1fdd83af4b96
2020-05-25 08:41:02 +02:00
Reedy 7b266265a8 Move SyntaxHighlightModels from config to attributes
Change-Id: I6b98dbde365125cc2a5d336865080f67941403db
2020-05-12 19:27:56 +01:00
jenkins-bot 0b42632a52 Merge "Convert to manifest_version 2" 2020-05-12 16:36:03 +00:00
Reedy 3023aa4e2e Convert to manifest_version 2
Bug: T252470
Change-Id: I37b01df452d625e7c739726217f1e72c0b093d64
2020-05-12 02:39:12 +00:00
Translation updater bot e1a75c50e4 Localisation updates from https://translatewiki.net.
Change-Id: If36d1e38dfe76523fde7162fe731123f28b1d766
2020-05-05 08:31:20 +02:00
Translation updater bot d1650ba612 Localisation updates from https://translatewiki.net.
Change-Id: Icf81007906fbbfd093d7031e9729576e79d847b4
2020-04-24 08:23:28 +02:00
libraryupgrader 54ac61e723 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0
  The following sniffs now pass and were enabled:
  * MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName

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

Change-Id: I24796acf9a26c27c783b2e88f2598183d2d60651
2020-04-22 20:20:00 +00:00
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