Commit graph

178 commits

Author SHA1 Message Date
Kunal Mehta 2729a661c3 Unbreak tests
Use an anonymous class to implement QuickTemplate instead of relying on a
specific implementation that no longer exists.

Change-Id: Ifbd47e6fa3aff8c1969e8510edbfd16507025ed2
2020-07-13 12:54:21 -07:00
Nikerabbit ab49b3b403 Revert "Localisation updates from https://translatewiki.net."
This reverts commit b76215c65b.

Reason for revert: Broken export

Change-Id: I5a534f67057acbf67e781a3d06e9cd1043717338
2020-07-13 11:40:24 +00:00
Translation updater bot b76215c65b Localisation updates from https://translatewiki.net.
Change-Id: I8a48759e9f0fcac3983b8fd1645c85adb5a1fd6b
2020-07-13 08:41:42 +02:00
Umherirrender 1412b7c5ba Fix type on @param doc
Change-Id: I9caf576cd3c18b2af8313581d85608becfdacdf7
2020-07-12 01:39:52 +02:00
libraryupgrader 88578c57e8 build: Updating mediawiki/minus-x to 1.1.0
Change-Id: Ie65e0200bd0b0980bb9a954181637214dd419f00
2020-06-08 08:08:35 +00:00
libraryupgrader 831fa0f0f3 build: Updating composer dependencies
* php-parallel-lint/php-console-highlighter: 0.4.0 → 0.5.0
* php-parallel-lint/php-parallel-lint: 1.0.0 → 1.2.0

Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: Ia30b89773ddb5263b2d1dd682db9326b7472e0dc
2020-05-31 02:17:17 +00:00
libraryupgrader 097ddf35ce build: Updating mediawiki/mediawiki-codesniffer to 31.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.NoParamType

The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag

Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: Ia29758a25f3aee903130481495071fcdf6e5033d
2020-05-29 11:57:16 +00:00
libraryupgrader 88fcd9f22a build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

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: Ieafd5f4228fd416aecda7ccc9456e7cb7fa50a80
2020-04-22 07:51:31 +00:00
libraryupgrader 1881f08a1e build: Updating grunt-banana-checker to 0.9.0
Change-Id: Icadf434809614a7b4f8ae31c7ce22d8578f1754d
2020-04-19 02:52:35 +00:00
Translation updater bot 34f99672b7 Localisation updates from https://translatewiki.net.
Change-Id: I46df8f0ac278787e1363ac8f9081b658befea357
2020-04-15 08:23:33 +02:00
Translation updater bot e65d8686ac Localisation updates from https://translatewiki.net.
Change-Id: Ice48277337b770a7bce7423922363909bf094b2b
2020-04-07 08:38:41 +02:00
libraryupgrader 002c8ef4fd build: Updating postcss-sass to 0.4.4
* https://npmjs.com/advisories/1179

Change-Id: Ic6b65ea995be8ed0972af82d08165171e7ed5359
2020-04-05 15:28:44 +00:00
libraryupgrader a364a158a1 build: Updating mkdirp to 0.5.3
* https://npmjs.com/advisories/1179

Change-Id: I5123a3aaaea00d8fac097afdfc6233cb67d19f8d
2020-03-20 21:53:35 +00:00
libraryupgrader d6fbac5523 build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I25545e5f33105d7bbd9afdad6c2070dd5f6e7bf0
2020-03-18 05:43:15 +00:00
ankit 95f25aa2ed Bump MW version, remove deprecated IP class, update .gitignore
Bug: T247155
Change-Id: Idef39fd39dd8a9f3483ea30e4a01422923c16e05
2020-03-14 14:34:41 +05:30
libraryupgrader fe0e56c5c0 build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: I755802876dd51fe335fe30ccbb92a591e0b88fe8
2020-03-08 00:13:39 +00:00
libraryupgrader 01b0937ae2 build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: I74f1e169e26c86fd1b5b3e5a0035047cc9e6deeb
2020-02-20 20:46:31 +00:00
libraryupgrader e35eef9026 build: Updating mediawiki/minus-x to 1.0.0
Change-Id: I19fe43e049ee9e6aef38b792ea196b1e50ba075e
2020-01-29 02:59:52 +00:00
libraryupgrader fbdd6661d3 build: Updating jakub-onderka/php-console-highlighter to 0.4.0
Change-Id: I784586a6c4f8fcbc890768132fe53e20928f3e8b
2020-01-28 08:12:27 +00:00
Translation updater bot 3062b30678 Localisation updates from https://translatewiki.net.
Change-Id: I092cc82baa0ea91442bdbb3009d0cd7176634a0e
2020-01-28 08:25:06 +01:00
libraryupgrader a25bb81f73 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag

Change-Id: I2bf1056772f560b6f4ead4d1794c6f7c50eec59d
2020-01-14 04:37:44 +00:00
libraryupgrader 4f092b042c build: Updating npm dependencies
* eslint-config-wikimedia: 0.5.0 → 0.15.0
  The following rules are failing and were disabled:
  * no-prototype-builtins

* grunt-eslint: 20.1.0 → 22.0.0
* grunt-stylelint: 0.10.1 → 0.13.0
* stylelint-config-wikimedia: 0.4.3 → 0.8.0
  The following rules are failing and were disabled:
  * rule-empty-line-before

Additional changes:
* Remove direct "stylelint" dependency in favor of "grunt-stylelint".
* Also sorted "composer fix" command to run phpcbf last.
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I5218ef05353b85925bff7fdd4d5eeae0a71ccac2
2020-01-10 13:51:34 +00:00
libraryupgrader 6407ae6590 build: Updating dependencies
composer:
* mediawiki/minus-x: 0.3.1 → 0.3.2

npm:
* grunt-banana-checker: 0.4.0 → 0.8.1

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Iddcd9c7c05c5310cde88df64eaea9f625ffa7b3f
2019-12-16 03:43:04 +00:00
Translation updater bot 2e24becdd3 Localisation updates from https://translatewiki.net.
Change-Id: I8485a44ddefd549e809da2f66bedc47253150a61
2019-12-02 09:20:41 +01:00
Florian Schmidt 6634e8c829 Enable GeoLocation service being replaced by other providers
Making GeoLocation an interface makes it easier to replace the underlying implementation
from the current Http backed method.

Change-Id: I2beb97772fd74ab08b2214c08d82dbc1ebfcdcd2
2019-11-21 17:31:23 +01:00
jenkins-bot 1a0e198b80 Merge "Fix tests to be compatible with master again" 2019-11-19 08:34:14 +00:00
Paladox 6ecc3fd4fc Fix tests to be compatible with master again
Also fix tests relying on MessageCache. MessageCache is enabled in setup,
however, as setMwGlobals is resetting services, it gets disabled again.
Instead of setting the configuration to enable the use of database
messages, let's enable the message cache after the last reset of services.

Change-Id: Iff670def50ab15054099f7a1ca3adc119bd877ce
2019-11-19 00:40:51 +01:00
Translation updater bot 850f05225b Localisation updates from https://translatewiki.net.
Change-Id: I08e49e45bdf9ed757f8fcae0ce7a78592397e962
2019-11-18 09:21:54 +01:00
Translation updater bot 58654cf11a Localisation updates from https://translatewiki.net.
Change-Id: I9ce74f458c6b279d7a3d1022f6f687a194488534
2019-09-10 09:36:42 +02:00
Translation updater bot 71bcc9c340 Localisation updates from https://translatewiki.net.
Change-Id: Ie47d173788133f9cdcf034dc3ed6a6c5a52bc6db
2019-08-12 09:06:17 +02:00
libraryupgrader c8fc6e7268 build: Updating npm dependencies
* 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
* lodash: 4.17.11 → 4.17.15
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744

Additional changes:
* Enable eslint caching.
* Enable eslint's reportUnusedDisableDirectives.

Change-Id: I482262ac0eee54fefab8d5f9523a711d9c5e154d
2019-08-01 23:21:14 +00:00
Translation updater bot d2889e7cfb Localisation updates from https://translatewiki.net.
Change-Id: Ib1a1658a16479dc27007c684aa305e2c4f477a19
2019-07-29 09:14:16 +02:00
Translation updater bot 38fb5dc477 Localisation updates from https://translatewiki.net.
Change-Id: I7438b09bd59c946ad77bb1adf98bc86849046017
2019-07-22 22:40:41 +02:00
libraryupgrader 257b7eb190 build: Updating mediawiki/mediawiki-codesniffer to 26.0.0
Change-Id: I14e560c8721383d2425ecea3c3266c0e06f2e8fc
2019-07-14 10:26:40 +00:00
libraryupgrader 1287a6eaad build: Updating npm dependencies for security issues
* Updated grunt to 1.0.4, addressing:
  * https://npmjs.com/advisories/788
  * https://npmjs.com/advisories/813

Committed package-lock.json (T179229) too.

Change-Id: Ia6c32e7cfeaf69f0cdbc1cc47e53eee487df5818
2019-06-08 03:40:48 +00:00
Ananth subray fd7394435f Empty PHP entry points where JSON entry points exist
Bug: T140007
Change-Id: I16e5cf01cd33322a73bdc9ad5fc3802799d720bf
2019-06-02 17:38:50 +00:00
Translation updater bot 10af3fedcb Localisation updates from https://translatewiki.net.
Change-Id: I2c3944417ef3f8716fd488394e1ce17ba9cca9df
2019-05-12 22:33:19 +02:00
Translation updater bot ff4312e634 Localisation updates from https://translatewiki.net.
Change-Id: I0dd47abdaed73aca2715684d3912cceb1cce5e51
2019-04-29 22:15:40 +02:00
libraryupgrader 38081062f3 build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: Iaba2b62e6552e11e4e7b5c19fc6d8f04b1c62d1a
2019-02-06 12:32:46 +00:00
Kunal Mehta 4c52bdcfdf 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: I154827ec97a7d379a42e3fbb04d562b1a844975c
2018-12-17 18:54:41 -08:00
Translation updater bot a9330a9591 Localisation updates from https://translatewiki.net.
Change-Id: I129a1d160c1414c9d5bd0753dd577c2b3f471a41
2018-12-14 22:21:44 +01:00
Umherirrender 05b2a68a46 Use json extension for .stylelintrc
Bug: T173516
Change-Id: Ia77dcac0fe03b7db3771d09a01084044a52e7a68
2018-12-07 20:58:20 +01:00
takidelfin e0d100ca60 Replaced CSSLint with StyleLint
Removed old csslint package and added grunt-stylelint and stylelint
config for Wikimedia. Fixed the violations caused by this change.

Bug: T206506
Change-Id: Ieb1f087de859f5321c4f1fe65c0e3bf7b655ca15
2018-11-25 23:53:51 +00:00
libraryupgrader 25d5cccbd3 build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I0d5b51ea16149801ff4551253e777bf1a7a9e648
2018-11-14 10:52:56 +00:00
Translation updater bot 69c810119c Localisation updates from https://translatewiki.net.
Change-Id: Id5b6f7b6633dcff20b10bc5c27efac5d854fcedd
2018-11-07 22:22:03 +01:00
Translation updater bot 214f5cbb8f Localisation updates from https://translatewiki.net.
Change-Id: Ib5957cff5604246cd1cd9772b5b0c2d3bf494b96
2018-10-14 22:25:17 +02:00
libraryupgrader 376f6670f7 build: Updating npm dependencies for security issues
* Updated grunt to 1.0.3, addressing:
  * https://npmjs.com/advisories/577
  * CVE-2018-3721

Change-Id: I0411c6cd8da7b7c45cc980b0d19822da407fef0e
2018-10-13 18:06:45 +00:00
Translation updater bot 0bdac7f33c Localisation updates from https://translatewiki.net.
Change-Id: I63e7db9829d25b61e862c88a6aff1b3f68f6b523
2018-09-22 10:03:23 +02:00
libraryupgrader 4e32240a94 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: Id26150dd4807a752acb6e60a3281812cdfe59636
2018-09-03 00:33:49 +00:00
jenkins-bot 7ad7213628 Merge "Use mw.config instead of window.mw.config in JavaScript" 2018-08-27 20:43:42 +00:00