Commit graph

957 commits

Author SHA1 Message Date
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
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
Translation updater bot 05062f562c Localisation updates from https://translatewiki.net.
Change-Id: Idf2e1d46135a2ccfb9d566e2bb80d04bd14542b0
2019-06-02 22:30:55 +02:00
James D. Forrester 1d1ea0a929 build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: Ifa3fe1a205f7b19a74c2ddb8ba29a9bd6902693f
2019-05-19 13:34:45 +02:00
James D. Forrester 28ad9d7b05 build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Change-Id: I67aee67060910d73c1d315b9efe6385d3afc0760
2019-05-07 10:47:46 -07:00
Ed Sanders 6f1c7c88e5 VE: Add read-only support
Change-Id: Ib39d6247385affed7ef46316903db97795407f32
2019-04-16 12:13:18 +01:00
Kunal Mehta b5a904e2ec Require the ability to shell out in extension.json
This extension is useless if you can't shell out to pygments.

Depends-On: Iff8512530b08ef509e7ac0b6ed8fe9578ef3e2a1
Change-Id: I3ea7d82ab44516f5e202b6e6b86c1d7ec9a3b642
2019-04-13 19:25:33 +00:00
James D. Forrester 6f6dc2397c build: Relax MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgParser for now
Change-Id: I06b40ca28335d1f2d9f71c8ab7aaa7d13e61ff22
2019-04-13 12:24:57 -07:00
Translation updater bot 9b53efbeab Localisation updates from https://translatewiki.net.
Change-Id: I9faacff576401efdc5f31cade5303598052aa008
2019-04-04 14:54:55 +02:00
James D. Forrester 4a22815562 build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0
Change-Id: I691326c8fc35e0ccc7b7d0b19b586e68611baf88
2019-04-03 16:26:40 -07:00
Arlo Breault e6acaf8f5f Update tests to match parser changes
Bug: T208070
Bug: T218702
Change-Id: I8b6a8c8241a8766fdccdcac45553298fa23a5046
2019-03-19 13:38:21 -04:00
libraryupgrader 207172de43 build: Updating mediawiki/mediawiki-phan-config to 0.5.0
Change-Id: If6f3dd1c6c4cec6880c196d29278feba6e3169d9
2019-03-10 22:30:03 -07:00
Translation updater bot a51a6d46b9 Localisation updates from https://translatewiki.net.
Change-Id: Iab6947da2445391f8744cdc18813d3d94cbaa0ac
2019-03-08 22:29:32 +01:00
Umherirrender b271b15664 Use ::class for class name resolution
Available since php5.5

Change-Id: I5ede65cd7ba1e476d74f64126c6a78989c0c3e99
2019-03-03 02:22:47 +01:00
Daimona Eaytoy 66c56f5c86 Migrate to new Phan
Bug: T216944
Change-Id: I5278ea60a17283dca6b0aee843ff60bf5c4103e2
2019-03-02 13:43:16 +01:00