Commit graph

1028 commits

Author SHA1 Message Date
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
Translation updater bot 17f3094f62 Localisation updates from https://translatewiki.net.
Change-Id: Icff22a2ba36bfb6270777fd7cd201a56586beb63
2019-02-17 22:14:42 +01:00
Ed Sanders 89bc1b5a76 build: Update devDependencies
Change-Id: I6307ac4cfb4ea7e9d86a0d576192aa6085218787
2019-02-10 16:56:10 +00:00
libraryupgrader b4de1b2264 build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: I5378bf277e8bbe91e81d6a5bcf2701b1b770660f
2019-02-07 05:11:57 +00:00
jenkins-bot 71eaaa3639 Merge "Fix create_pygmentize_bundle" 2019-02-07 02:47:37 +00:00
Translation updater bot 154f050c54 Localisation updates from https://translatewiki.net.
Change-Id: I75de66dd0427f140a77c8b8e5f02265ed67f82c2
2019-02-05 22:37:57 +01:00
Translation updater bot 8465d68635 Localisation updates from https://translatewiki.net.
Change-Id: Ieeee0f35e13996ecf8231c7ce18cd63725571102
2019-01-30 22:14:34 +01:00
Translation updater bot b00d826f7c Localisation updates from https://translatewiki.net.
Change-Id: Icef558c475640ede78627edebcec4102ebd00940
2019-01-25 22:29:25 +01:00
Volker E a3acdc0ef6 build: Update 'stylelint-config-wikimedia' to v0.5.0
Change-Id: I458f974f6062d35511b6cf59f66df75a1f8be7be
2019-01-10 10:17:17 -08:00
Kunal Mehta 4bd5a881ff Fix create_pygmentize_bundle
If the bdist_wheel release was not first, then it would throw an
exception without looking at the other packages.

Change-Id: Iac1f94f1401c4a6a8ec8691a558024800b0e7269
2019-01-09 14:43:22 -08:00
Kunal Mehta b4a80cd365 build: Set "root": true, in .eslintrc.json
This ensures that each repository's "npm test" command is fully
independent of wherever it might be in the filesystem.

Bug: T206485
Change-Id: Ic147b240405f698c7ec86a21f0187d140f187e30
2018-12-17 18:58:34 -08:00
Translation updater bot 6473fb31e3 Localisation updates from https://translatewiki.net.
Change-Id: I9d3d14c8fcf2c83d53eb55065dcc1b21880a08f0
2018-12-14 22:22:22 +01:00
Translation updater bot 868a24677e Localisation updates from https://translatewiki.net.
Change-Id: I84421be1b64e27dd451da264efb61359ba5c9d4d
2018-11-29 22:27:43 +01:00
James D. Forrester 0b9bae43d6 eslint: Drop 'dot-notation' rule
Bug: T210552
Change-Id: Ibf31143c8f9a446e9f25691c8a9f1fccd6ecea53
2018-11-28 11:12:25 -08:00
Timo Tijhof 10d0a248bf Override supportsURLLoading() instead of getScriptURLsForDebug()
This is more semantically correct and avoid duplicating the
url logic in an extension.

This was the only FileModule subclasses I found that overrode
getScriptURLsForDebug for this purpose.

Change-Id: Id940067437be190760559ec452583347c6b94901
2018-11-28 00:57:37 +00:00
Ed Sanders 8d1c397b63 Update eslint-config-wikimedia to 0.9.0
Change-Id: Ifded26af687dd409b01554df68e83c32a6844317
2018-11-27 21:59:16 +00:00
Ed Sanders 50eb18fb74 Remove unused jQuery global alias
Change-Id: Ibcc8a54f0df1d08d3d8b6dee87e8fc8ebe642162
2018-11-16 16:40:15 +00:00
libraryupgrader 7edbf54aff build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I0cdf6aef32f5c82d22406987efa4faed2436d92a
2018-11-16 13:38:25 +00:00
Translation updater bot c1fb316e00 Localisation updates from https://translatewiki.net.
Change-Id: Id0d797a7df06dccf87928eddc15c107a8e15db2c
2018-11-12 22:12:56 +01:00
Ed Sanders 394762af49 build: Update devDependencies
eslint-config-wikimedia      0.5.0  →   0.8.1
 grunt-eslint                20.1.0  →  21.0.0
 grunt-stylelint              0.9.0  →  0.10.1
 stylelint                    8.2.0  →   9.2.0
 stylelint-config-wikimedia   0.4.2  →   0.4.3

Change-Id: I5f784054b6d6d1abb157bca97ddad73266c3c5bc
2018-10-31 12:55:23 +00:00
Ed Sanders c546bf5348 Replace jQuery.map with Array.map
Change-Id: I4bc7e347fe12038bdcadd62a023b6e0041d105c0
2018-10-31 12:51:24 +00:00
Ed Sanders b485d4c6fa Remove unused window.static.icon
Change-Id: I0d79af60052554a5a6c3f79139688d14e5351ab4
2018-10-31 12:51:02 +00:00
Ed Sanders e25603a1b6 Follow-up I3daca6fb: Fix exception thrown when inserting new code block
Change-Id: Ie5f93ace8a81c5053dbadb99dd447b37d2d07316
2018-10-31 12:45:50 +00:00
Umherirrender 24c880f2e2 Start showing warning for deprecated PHP entry point
Change-Id: I62e4d564fb5ae8b439d292a2b93f7e5c039c56cb
2018-10-26 22:23:56 +02:00
Bjornskjald ad372167bc Make VE language checking case-insensitive
Bug: T125231
Change-Id: I3daca6fbfce1c2fe4bd901b8912089aa820fb022
2018-10-24 18:01:46 +00:00
Translation updater bot 51cf5641f8 Localisation updates from https://translatewiki.net.
Change-Id: Ic5c81ce5517e47df5c75a0f34631530adbba0fd2
2018-10-23 22:09:06 +02:00
libraryupgrader 715c3e07be build: Updating npm dependencies for security issues
* Updated grunt-contrib-watch to 1.1.0, addressing:
  * https://npmjs.com/advisories/534
  * CVE-2017-16137
  * https://npmjs.com/advisories/577
  * CVE-2018-3721
* Updated grunt to 1.0.3, addressing:
  * https://npmjs.com/advisories/577
  * CVE-2018-3721

Change-Id: I9110ae1f05f7900ca260b06e96faf2c580155f75
2018-10-11 11:13:38 +00:00
Thalia dbd6afcfab Update syntax highlight dialog actions consistently
Require that the node is modified and the language input is
valid before enabling the "done" action. Otherwise disable it.

Bug: T206481
Change-Id: Ie9d2907358ea585ba72628887c46af69f942772f
2018-10-09 12:19:38 +01:00
Translation updater bot e73c22146a Localisation updates from https://translatewiki.net.
Change-Id: I82bd028c1eee0197e853ca3474e6370afcefa707
2018-09-26 13:46:19 +02:00
Thalia 118dcdb405 Separate node classes into individual files
Bug: T205231
Change-Id: Id175f839f0ac8714c44407c52145d4140cd8e343
2018-09-24 18:48:22 +01:00