Commit graph

331 commits

Author SHA1 Message Date
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
libraryupgrader 0d2290c08e build: Updating npm dependencies for security issues
* Updated grunt to 1.0.3, addressing:
  * https://npmjs.com/advisories/577
  * CVE-2018-3721

Change-Id: If63afb1c665d0e1876fdd18af0c42598d3092bbd
2018-10-11 11:16:08 +00:00
Kunal Mehta da954dd045 Don't use stashMwGlobals()
Being deprecated in I23d77398e4.

Change-Id: I9315111c86599472887c616658ac25ba7979d340
2018-10-07 22:02:48 -07:00
Translation updater bot e8676a2bdd Localisation updates from https://translatewiki.net.
Change-Id: I08dd176576ee0bfb2b75c4c2a7a4472866e593df
2018-10-03 18:53:52 +02:00
Translation updater bot d403871c10 Localisation updates from https://translatewiki.net.
Change-Id: Ica3de34f53b45e5bb4bb8694f7adce1766051bfa
2018-09-26 13:46:19 +02:00
Translation updater bot 517bf8d5b9 Localisation updates from https://translatewiki.net.
Change-Id: Iad220b26f86ec4017c644c8f52af7ccb794b8aba
2018-09-08 10:40:06 +02:00
libraryupgrader c7e759afc1 build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
Change-Id: Iefd16b6f04eafda6a1a15e6dafea59b3af8fa85f
2018-09-08 06:09:47 +00:00
Translation updater bot 1db9f9a2e3 Localisation updates from https://translatewiki.net.
Change-Id: I564a2a65e69649078bad6f3710ccf580bb07f966
2018-09-03 22:15:37 +02:00
libraryupgrader 8fc7762e14 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
Change-Id: Ib65124f53a023499f349a9ccbc764cbb26965fca
2018-09-03 19:54:14 +00:00
libraryupgrader e79c22bec5 build: Updating mediawiki/phan-taint-check-plugin to 1.4.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: I3ea35a3373332c56fb7c7eb7b6d8b93054445867
2018-09-01 14:41:18 +00:00
jenkins-bot cbad0f06ba Merge "Hoist selectors for html and body element" 2018-08-27 13:04:53 +00:00
Translation updater bot 2f68d9337d Localisation updates from https://translatewiki.net.
Change-Id: I26589d3fb4f725aaae4156720a8a57ef85e7374d
2018-08-26 22:32:55 +02:00
Gergő Tisza 17756c44b2
Hoist selectors for html and body element
Bug: T197617
Depends-On: Iac00198495cf08dec034f45100937df0f6cb1590
Change-Id: I5dd85d12eb77c70c1632974561c4cad8636fad1d
2018-08-24 22:16:17 +02:00
Translation updater bot 45f43303cf Localisation updates from https://translatewiki.net.
Change-Id: I7a1cf25c1c937ee53a84726516da998e802f2b4e
2018-08-21 23:38:54 +02:00
jenkins-bot 19933c59e3 Merge "Add phan-taint-check-plugin" 2018-08-20 02:58:17 +00:00
Umherirrender d9b730de44 Add phan-taint-check-plugin
Change-Id: Id410e41889bc6e4920c15c56d507c2f59601ec88
2018-08-19 19:14:00 -07:00
Translation updater bot 53e1a6b361 Localisation updates from https://translatewiki.net.
Change-Id: I0d6f42b3e038f69b4aca28e1b67d1a3b4a8253fa
2018-08-16 22:28:54 +02:00
Translation updater bot 5745d8c85d Localisation updates from https://translatewiki.net.
Change-Id: I8f51f677bf8c4b9acdc5a1bd979a5dc40405ccb2
2018-08-15 22:18:50 +02:00
jenkins-bot 56de6c706c Merge "Avoid variable reuse under same name" 2018-08-12 22:21:18 +00:00
Translation updater bot f261a6b22e Localisation updates from https://translatewiki.net.
Change-Id: Ia8701d41a75b8f237e6568647560415efe5769a4
2018-08-12 22:17:59 +02:00
Translation updater bot 576f794b41 Localisation updates from https://translatewiki.net.
Change-Id: I38812ae94861c39799999efe16fd0f470a89e63a
2018-08-11 22:18:29 +02:00
Umherirrender c2083e7455 Avoid variable reuse under same name
It makes the code easier to read when using different variable names

Change-Id: Ia65e8b7ebdc0692e8dac29c605c13092cef9b0ad
2018-08-11 00:16:25 +02:00
Translation updater bot 23378fbb50 Localisation updates from https://translatewiki.net.
Change-Id: I1316d1bb67c8210f01c82cfdea131534a54a47c5
2018-08-10 22:19:04 +02:00
Translation updater bot ef8dc9b5d2 Localisation updates from https://translatewiki.net.
Change-Id: Ib452f72c4f5bc4ee1cee9976ef12cf0834d6ae02
2018-08-09 22:24:13 +02:00
Translation updater bot af18a27e2a Localisation updates from https://translatewiki.net.
Change-Id: Ib44176708cc8f516ed2bf2c3e6e0de7dc105471b
2018-08-07 22:32:10 +02:00
Translation updater bot b929604657 Localisation updates from https://translatewiki.net.
Change-Id: Icf1e102da7b46a2644b1eb4ea8f2d7b910da96a3
2018-08-02 22:19:34 +02:00
libraryupgrader 3960d9eca0 build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
Change-Id: I073424017959cc6f5e60c5d1945acb88126d3f71
2018-07-27 20:00:54 +00:00
Translation updater bot 7ea6d665d0 Localisation updates from https://translatewiki.net.
Change-Id: I6baf43c4a64b5f8e59520285207b9a28fe839f70
2018-07-24 22:10:07 +02:00