Commit graph

370 commits

Author SHA1 Message Date
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
Translation updater bot 86571e95ca Localisation updates from https://translatewiki.net.
Change-Id: Ib4ba8d1148ef8c7f311e6f1b128aab4905298e0d
2018-07-21 22:12:04 +02:00
Translation updater bot df29ffa093 Localisation updates from https://translatewiki.net.
Change-Id: I7eac73a455ac7dca7fca50e076718d3c5d4b76c9
2018-07-19 22:31:06 +02:00
Brad Jorsch 435e06e2f5 Replace deprecated ContentHandler::makeParserOptions()
Having a different ParserOptions for each content model isn't feasible
in an MCR world. And the only thing using this was Wikibase, which has
been fixed to do what it needs in a different way.

Bug: T194263
Change-Id: Ia95f3e2c1ea944366ff9a478c3c86f8565023394
Depends-On: I01373b29ee25fa9346c6b0317155be4ccdc8c515
2018-07-11 12:34:25 -04:00
Translation updater bot 5c147f2709 Localisation updates from https://translatewiki.net.
Change-Id: I5fdb366fa2fcd78be57991e875317d9e32d89639
2018-07-09 22:11:21 +02:00
Translation updater bot 47af24dac1 Localisation updates from https://translatewiki.net.
Change-Id: I03307a8189bf3feb56234ea0912a1e91cdc3e8ad
2018-06-27 22:20:29 +02:00
Translation updater bot 3c7846be7a Localisation updates from https://translatewiki.net.
Change-Id: I5fafbae348a23f0110bc72b15078a44be8a1f134
2018-06-24 22:26:01 +02:00
Translation updater bot af8c08bf02 Localisation updates from https://translatewiki.net.
Change-Id: I49815364a3180f61fbb8b62dabe42570e662092f
2018-06-20 23:11:50 +02:00
Translation updater bot f4e03b5426 Localisation updates from https://translatewiki.net.
Change-Id: I36015ebfac8c190e1317d7d2fdfd8c0a8a272260
2018-06-14 22:44:45 +02:00
Translation updater bot 7d6461797f Localisation updates from https://translatewiki.net.
Change-Id: I83b398f39547418323363ab18ea7a4966f408756
2018-06-13 22:23:22 +02:00
Translation updater bot b89b93fda7 Localisation updates from https://translatewiki.net.
Change-Id: If2b5f67debba23a16e083b2bec9957385ffba6c5
2018-06-05 22:17:04 +02:00
Translation updater bot d71ad68825 Localisation updates from https://translatewiki.net.
Change-Id: I87dce0368e59d8f150b568d7b836893c9c6d6e8b
2018-06-01 22:27:47 +02:00