Commit graph

258 commits

Author SHA1 Message Date
Translation updater bot 048712015b Localisation updates from https://translatewiki.net.
Change-Id: I1c0def7a098ced42ba743e15be58f5824c555224
2019-10-02 09:23:09 +02:00
Translation updater bot c4d6f25122 Localisation updates from https://translatewiki.net.
Change-Id: I4074ad8cd5f36afd615ac8ff24a920090b69d36c
2019-09-24 09:59:05 +02:00
Translation updater bot db00023c3f Localisation updates from https://translatewiki.net.
Change-Id: I1d5f315d76997d41fd1ec3e5d480b02fd1d08eb3
2019-09-19 10:00:18 +02:00
Translation updater bot 74a030f57b Localisation updates from https://translatewiki.net.
Change-Id: I17720664843e8152c33ec7b52e80b56cdf74162c
2019-09-16 09:57:20 +02:00
Translation updater bot 63823c13a7 Localisation updates from https://translatewiki.net.
Change-Id: I10fafaa8762dc84ad269b089d8ad0a57ffc135a5
2019-08-28 10:53:48 +02:00
libraryupgrader 72135b1202 build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

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

Change-Id: Id9175e29c906b3e40cbd58e13ab148bd72bcca66
2019-08-23 06:34:52 +00:00
Amir Sarabadani 84591b3505 Make unit tests follow the new structure
Change-Id: Iad546e528c2df86866afcf2f49df2c7209563bc7
2019-07-21 23:05:08 +02:00
libraryupgrader a9b68311ed 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

Change-Id: I367bde15a9de89e4b855fd8ce65a8e93cd5cd9eb
2019-07-16 02:42:51 +00:00
Translation updater bot bd067129d6 Localisation updates from https://translatewiki.net.
Change-Id: I930aa7dd8d089404143d7baa8a89ab97a37cdb19
2019-07-15 08:35:25 +02:00
James D. Forrester ba07d9c056 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I1237b4d487aa6faeaa8e9773689f7ce0dc9a5187
2019-07-09 14:18:32 -07:00
Translation updater bot 858967e560 Localisation updates from https://translatewiki.net.
Change-Id: I5cd6830f512d01b43da746a6caad2926a16c9352
2019-06-30 22:39:39 +02:00
libraryupgrader b24866c1a1 build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I966c630aeba5a75bb9d787dc34466e5af47da051
2019-06-10 11:45:51 +00:00
libraryupgrader 5e6a0b5c30 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: I2a0b9a5d68a08b20057bac70465a2f99ead85b78
2019-06-09 00:53:50 +00:00
Umherirrender 260446e122 Use json extension for .eslintrc
With the extension highlighting works better
Also every developer knowns what is in the file

Also set root: true (T206485)

Change-Id: I4ea6f346727689609e4f05a49079883544b24a39
2019-06-07 21:19:59 +02:00
Translation updater bot a2702e4510 Localisation updates from https://translatewiki.net.
Change-Id: I49b87798f936434d13c5e149804586b18ea9990e
2019-06-02 22:30:55 +02:00
James D. Forrester 08b0b6fb4b build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: Ie166f11bd62b5b7ca109fa55a294630b5b6e28e2
2019-05-19 13:35:39 +02:00
jenkins-bot fce3c1d142 Merge "Avoid using $wgContLang" 2019-05-17 12:09:43 +00:00
Translation updater bot 0ed9b07e94 Localisation updates from https://translatewiki.net.
Change-Id: I41aca1d80f84c720c501f42def35911c2a71d588
2019-05-15 09:14:45 +02:00
Umherirrender 679b3046ba Add phan
Change-Id: Ie1dec630c5f69c617020699049081a494f75b8bd
2019-05-01 16:06:46 +02:00
Translation updater bot 8a80bf8d8a Localisation updates from https://translatewiki.net.
Change-Id: I3e411695d15f3b7f059bace3680d2058f6664750
2019-04-19 09:54:15 +02:00
Max Semenik 7a6d9949e4 Avoid using $wgContLang
Change-Id: I98a60c71f08b8bf210cbcbc6a6e1b0d50c4138db
2019-04-13 18:49:39 +00:00
James D. Forrester 73d502fa68 build: Update eslint-config-wikimedia from 0.8.1 to 0.11.0
Change-Id: Iaf6ec8659228b430aafcc0953f035d29b64f1eaf
2019-04-12 21:58:46 +00:00
James D. Forrester 169e618357 tests: Remove newlines from tests to make pass(?!)
Change-Id: Ib7f4252e4b399edcd5845aa31c60df494a8d8c3e
2019-04-12 14:58:20 -07:00
Translation updater bot c76fd84441 Localisation updates from https://translatewiki.net.
Change-Id: I3ccab496e921a172bc4bd301634bf45b52cc2abd
2019-03-23 10:23:46 +01:00
Translation updater bot 614a07e2e4 Localisation updates from https://translatewiki.net.
Change-Id: Ic301179080b25bb275242fa99b757b19b5cc90ec
2019-03-12 22:29:32 +01:00
Umherirrender a2187ec403 Use php null coalesce operator ??
Change-Id: I6d3b2a1bf1510d37bdd36c1b59be3fe54fd8e43a
2019-03-11 22:04:27 +01:00
Translation updater bot 836765e115 Localisation updates from https://translatewiki.net.
Change-Id: I951d9a27a083e5398e1e9749683fb62aa88b5ce8
2019-03-05 22:42:59 +01:00
Translation updater bot b82837c08d Localisation updates from https://translatewiki.net.
Change-Id: I57d31ecf451496f6559a7379e012ec383dddda9d
2019-03-04 22:16:21 +01:00
Reedy 5108673852 Remove cssjanus dependancy
MW core has required it for quite a few versions, an extension doesn't
need to have its own requirement

Change-Id: Ibe2672de40306d20a4d08bb53b90ce42843e3e09
2019-02-11 04:11:29 +00:00
Translation updater bot 9e9bacac0f Localisation updates from https://translatewiki.net.
Change-Id: I43a024fd2d365822f695440c4a40c54474eeeb49
2019-02-10 22:19:00 +01:00
libraryupgrader 738785c148 build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: I30549f3fe0352ff411a6ce0207198f295d29f975
2019-02-07 05:14:31 +00:00
Translation updater bot 02160df4e4 Localisation updates from https://translatewiki.net.
Change-Id: I5c2d6fcdee67ec1b4ba0efd3df3ecc0be1b47ddf
2019-01-28 22:27:20 +01:00
Translation updater bot 2d7fed5d01 Localisation updates from https://translatewiki.net.
Change-Id: I1128357e589e0237b5ee4c740948253802c39688
2019-01-17 09:12:59 +01:00
jenkins-bot 99705da7b4 Merge "Allow extensions to register additional namespaces in extension.json" 2019-01-14 22:12:28 +00:00
Translation updater bot b283c420a1 Localisation updates from https://translatewiki.net.
Change-Id: Ie0d76b355cab57c02f664d53103c27e78468a542
2019-01-13 22:13:47 +01:00
MGChecker f121c39613 Allow extensions to register additional namespaces in extension.json
Extensions can register additional namespaces by setting the
"TemplateStylesNamespaces" attribte in their extension.json. This change is
analogous to Ia5d34cb78fa6af.

There isn't really a simpler way to do this here, as the config setting uses
namespaces as keys, while the attribute is using them as values. Furthermore,
keys with falsey values are ignored in the config setting, and attributes can't
use the same setting architecture, as array_merge_recursive doesn't maintain
numeric keys.

Bug: T200914
Depends-On: I9e62a02ed2044c847e9ab2dcdfab094001f88986
Change-Id: I2fa9b822ee39bcc5f95a293c8c4aad4d53ede30a
2019-01-12 11:40:58 -08:00
Translation updater bot c3b4da5cd1 Localisation updates from https://translatewiki.net.
Change-Id: If0eb09909666c2f8f4d0c36757f33037f024918b
2019-01-09 22:18:58 +01:00
Translation updater bot 04fbe5e60c Localisation updates from https://translatewiki.net.
Change-Id: I99397389dfa8b1fccca6a34390d529b0b403d46b
2019-01-08 22:30:12 +01:00
jenkins-bot cc9b178414 Merge "Add "wrapper" attribute to <templatestyles/>" 2019-01-06 22:31:14 +00:00
Translation updater bot 64078391b9 Localisation updates from https://translatewiki.net.
Change-Id: Iee85f645626b6a5e148bfc5c1c8df21161af71c4
2018-12-18 22:48:33 +01:00
Translation updater bot b564ed4ab2 Localisation updates from https://translatewiki.net.
Change-Id: I074cb49e50670eae8741c59b3f3e86713ab2dd5c
2018-12-03 22:35:33 +01:00
libraryupgrader c15c693fe0 build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: Idbebb7c7acdbd8abeed7b19f3c99a028c9bff3ab
2018-11-16 14:38:33 +00:00
jenkins-bot 96c16731a6 Merge "build: Update devDependencies" 2018-11-05 19:10:32 +00:00
Translation updater bot d0e3624422 Localisation updates from https://translatewiki.net.
Change-Id: I336e7e58f2efd573a11944f9dc5d38cd49bdd07a
2018-11-04 22:42:43 +01:00
Ed Sanders e2be4d8771 build: Update devDependencies
eslint-config-wikimedia   0.5.0  →   0.8.1
 grunt-eslint             20.0.0  →  21.0.0

Change-Id: If0c71e22aaeb9db6c1fc4cbfb19934ab829febee
2018-11-03 12:37:28 +00:00
Brad Jorsch f7bf5a4e23 Add "wrapper" attribute to <templatestyles/>
The wrapper attribute may contain an extra CSS simple selector to
include when prefixing. For example, including a template as
<templatestyles src="..." wrapper="div.my-template"/> would transform

 .foo .bar { color:red; }

into

 .mw-parser-output div.my-template .foo .bar{color:red}

This can allow particular templates to opt in to the "styles are scoped
to the template itself" model that was desired by some when
TemplateStyles was being designed; the driving use case in the linked
task is doing so for the benefit of side-by-side comparisons of the
current and sandboxed versions of a template.

Bug: T200441
Change-Id: If49d4c5be31feca95abd21452238fd10ab1916b1
2018-10-17 14:17:59 -04:00
jenkins-bot c3410aeaf8 Merge "Upgrade extension.json to version 2 and add merge strategy for $wgTemplateStylesNamespaces" 2018-10-16 16:10:28 +00:00
Brad Jorsch 7e1afddc3d Upgrade extension.json to version 2 and add merge strategy for $wgTemplateStylesNamespaces
Bug: T207186
Change-Id: Iea8dda238e74a0a2a2649c5e341bc0b97a4ff107
2018-10-16 11:25:52 -04:00
jenkins-bot 38a989e3dc Merge "build: Updating npm dependencies for security issues" 2018-10-12 03:49:08 +00:00
Translation updater bot 3283f8d26e Localisation updates from https://translatewiki.net.
Change-Id: Ic95b4fa042c896fa5cb77001752af811948ac742
2018-10-11 22:37:30 +02:00