Translation updater bot
a2702e4510
Localisation updates from https://translatewiki.net .
...
Change-Id: I49b87798f936434d13c5e149804586b18ea9990e
2019-06-02 22:30:55 +02:00
Translation updater bot
0ed9b07e94
Localisation updates from https://translatewiki.net .
...
Change-Id: I41aca1d80f84c720c501f42def35911c2a71d588
2019-05-15 09:14:45 +02:00
Translation updater bot
8a80bf8d8a
Localisation updates from https://translatewiki.net .
...
Change-Id: I3e411695d15f3b7f059bace3680d2058f6664750
2019-04-19 09:54:15 +02: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
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
Translation updater bot
9e9bacac0f
Localisation updates from https://translatewiki.net .
...
Change-Id: I43a024fd2d365822f695440c4a40c54474eeeb49
2019-02-10 22:19:00 +01: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
Translation updater bot
b283c420a1
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie0d76b355cab57c02f664d53103c27e78468a542
2019-01-13 22:13:47 +01: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
Translation updater bot
d0e3624422
Localisation updates from https://translatewiki.net .
...
Change-Id: I336e7e58f2efd573a11944f9dc5d38cd49bdd07a
2018-11-04 22:42:43 +01: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
Translation updater bot
3283f8d26e
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic95b4fa042c896fa5cb77001752af811948ac742
2018-10-11 22:37:30 +02: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
Translation updater bot
1db9f9a2e3
Localisation updates from https://translatewiki.net .
...
Change-Id: I564a2a65e69649078bad6f3710ccf580bb07f966
2018-09-03 22:15:37 +02:00
Translation updater bot
2f68d9337d
Localisation updates from https://translatewiki.net .
...
Change-Id: I26589d3fb4f725aaae4156720a8a57ef85e7374d
2018-08-26 22:32:55 +02:00
Translation updater bot
45f43303cf
Localisation updates from https://translatewiki.net .
...
Change-Id: I7a1cf25c1c937ee53a84726516da998e802f2b4e
2018-08-21 23:38:54 +02: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
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
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
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
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
Translation updater bot
3600ef7d1b
Localisation updates from https://translatewiki.net .
...
Change-Id: I7632edeb8e0009e498726062771cbbf9217efa9e
2018-05-31 22:28:46 +02:00
Translation updater bot
c46f814b61
Localisation updates from https://translatewiki.net .
...
Change-Id: Ieee8da80d8a11fa45048b03ceefa31b83300f76f
2018-05-30 22:24:51 +02:00
Translation updater bot
f4004647e3
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic4adfa9476ae69f8db69716a67a2d2e6770c3f82
2018-05-29 22:25:15 +02:00
Brad Jorsch
d1734fbeb2
Add tracking categories for errors
...
Two tracking categories are added:
* A category to track stylesheets with errors. While it's usually not
possible to save a stylesheet with errors, it can happen if a
server-side change makes formerly-valid CSS become invalid.
* A category to track pages displaying errors from incorrect use of
the <templatestyles/> tag.
Bug: T195676
Change-Id: I123679d4bffe36cb28aca1688c052470027ea2a8
2018-05-29 14:36:03 -04:00
Translation updater bot
3acc982785
Localisation updates from https://translatewiki.net .
...
Change-Id: Iac2cf3d77b0df844e9e7b489d5957ed0a6a149a3
2018-05-05 22:15:34 +02:00
Translation updater bot
b19692b0d0
Localisation updates from https://translatewiki.net .
...
Change-Id: I57139ff512b8b511f5668efbb3a301baaf066784
2018-04-10 22:15:50 +02:00
Translation updater bot
777bf7f55a
Localisation updates from https://translatewiki.net .
...
Change-Id: I200d0de0696680cf9b9cd249a71959bc019baac1
2018-02-25 22:34:31 +01:00
Translation updater bot
7a9f16775c
Localisation updates from https://translatewiki.net .
...
Change-Id: I1d669f32edc38b101cadabbb0c1698a46522e302
2018-01-27 22:37:53 +01:00
Translation updater bot
31b7fe0683
Localisation updates from https://translatewiki.net .
...
Change-Id: I809aba618ab63947c05f3169601b5951ca90dc21
2018-01-20 14:43:12 +01:00
Translation updater bot
3ee33ce1b3
Localisation updates from https://translatewiki.net .
...
Change-Id: I63b49b82ceab9f10586b3845a86f90af1e18b131
2018-01-08 22:36:20 +01:00
Translation updater bot
34a8126c09
Localisation updates from https://translatewiki.net .
...
Change-Id: I66c06234174ef13fb2327902477d13ea247b28da
2017-12-10 22:33:29 +01:00
Translation updater bot
14a1f72acb
Localisation updates from https://translatewiki.net .
...
Change-Id: I3a5a341db6c6f93d5970e5f5bee86e3a93311e33
2017-12-05 09:41:52 +01:00
Translation updater bot
5e29310bf1
Localisation updates from https://translatewiki.net .
...
Change-Id: Iebc75633323c2e92ecf7255665bd5a4a6185bfdd
2017-11-22 22:44:26 +01:00
Translation updater bot
e03f781a4e
Localisation updates from https://translatewiki.net .
...
Change-Id: I5c72f130a7093a28c899daf2c970d165a95124cc
2017-10-31 22:44:34 +01:00
Translation updater bot
c9f3d1cc0c
Localisation updates from https://translatewiki.net .
...
Change-Id: I9dad0f21bb3235a7d87c2920de67055b4a264c53
2017-10-30 22:52:17 +01:00
Translation updater bot
95d4d152b9
Localisation updates from https://translatewiki.net .
...
Change-Id: I766cb1810675213041a2cf656a56782c0aac5075
2017-10-25 23:03:11 +02:00
Translation updater bot
fd1eb9d093
Localisation updates from https://translatewiki.net .
...
Change-Id: I54cd6512ae925cf2f5b12d64cdfc8e73a86c10f3
2017-10-23 23:43:19 +02:00
Translation updater bot
1f503df948
Localisation updates from https://translatewiki.net .
...
Change-Id: I44f3f2376af0b8dc5dabde398e29097ec1932de1
2017-10-18 22:50:38 +02:00
Translation updater bot
5a91044817
Localisation updates from https://translatewiki.net .
...
Change-Id: I197aa1732b7255050366e80adc561d346fa11dfc
2017-09-26 22:52:37 +02:00
Translation updater bot
ee44d485e3
Localisation updates from https://translatewiki.net .
...
Change-Id: I5f152984857be7174c33e948e361fb6f7b4973d1
2017-09-25 22:51:25 +02:00
Translation updater bot
0a8bcdf64b
Localisation updates from https://translatewiki.net .
...
Change-Id: I2a159ea024357ad7da0b5069e94c596530c1f73b
2017-09-23 22:55:05 +02:00
Translation updater bot
d0c9499ee2
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifd174aa3ea23f843c617bb7541d95232c5ebb84e
2017-09-22 23:26:39 +02:00
Translation updater bot
e54dea53bc
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifb52201706b9acb0662d18e9837e0755ba3a96fd
2017-09-19 23:14:45 +02:00
Translation updater bot
b1e11d9462
Localisation updates from https://translatewiki.net .
...
Change-Id: I5932794d5df164adcf4727ac6f5f9a67172b432a
2017-09-03 22:38:22 +02:00
Translation updater bot
166c7befc9
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic92ec4f2d6dc80a47a899087ac43d28d4dcc4bbd
2017-08-25 10:01:32 +02:00
Translation updater bot
a9a0d47666
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifdee30394460825a13dbff25f86932cb9ceb1dc3
2017-08-24 09:44:18 +02:00
Translation updater bot
7eeac284f3
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie525c6eba0b57cd246ccd683b507418693378648
2017-08-23 09:39:36 +02:00
Translation updater bot
4fe3d3103a
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie83583fdc8cc4500058b83bfe23b55ae2819d1e4
2017-08-01 23:02:44 +02:00
Translation updater bot
1ca9082a64
Localisation updates from https://translatewiki.net .
...
Change-Id: Ieddc7d73c5f4f8445fd24e1fe2df95df342fe333
2017-07-24 23:17:00 +02:00
Translation updater bot
c224cc3f8a
Localisation updates from https://translatewiki.net .
...
Change-Id: I5135a393bb6c23664439ae848abef4108d91f3ee
2017-07-14 22:53:36 +02:00
Translation updater bot
5f3534d8de
Localisation updates from https://translatewiki.net .
...
Change-Id: Iabafc5ee08786b957f3083f80278389e290032f4
2017-07-13 22:58:27 +02:00
Translation updater bot
4a17994d3d
Localisation updates from https://translatewiki.net .
...
Change-Id: I741326bb395ae13cb51f0ee782e221e0c53627e2
2017-06-28 23:13:56 +02:00
Translation updater bot
0731af89df
Localisation updates from https://translatewiki.net .
...
Change-Id: I3a52380abf2fb3ba3cbccf156c208853e5beda83
2017-06-16 22:58:03 +02:00
jenkins-bot
fd29884a23
Merge "SECURITY: Reject stylesheets containing "</style""
2017-06-13 21:09:40 +00:00
Translation updater bot
74b471c97f
Localisation updates from https://translatewiki.net .
...
Change-Id: I8c956bb797fd10c1593dfa145f31fd352226d2ee
2017-06-13 22:48:29 +02:00
Brad Jorsch
b04bd96f58
SECURITY: Reject stylesheets containing "</style"
...
Premature closing of the style block === HTML injection vector.
Bug: T167812
Change-Id: I34c5f200c689a56d340bce70ffebbf58d27b499e
2017-06-13 11:52:07 -04:00
Translation updater bot
31515af0c2
Localisation updates from https://translatewiki.net .
...
Change-Id: I60da77752dcffb26bade66305df5dc5cccaae8db
2017-06-12 22:49:41 +02:00
Translation updater bot
2c436aa977
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia9a9f6e484982ee83550d11a72bad90b2fe7f88e
2017-06-11 22:44:54 +02:00
Translation updater bot
1cef13e3d7
Localisation updates from https://translatewiki.net .
...
Change-Id: I219a5a4c5fa9889fc02ae8c7c8b01d49da297d7a
2017-06-11 00:36:24 +02:00
Translation updater bot
190acf1fcf
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib0f38b8854aa343bb59c8d0999f5150252cfe756
2017-06-09 23:01:14 +02:00
Translation updater bot
a48d893d00
Localisation updates from https://translatewiki.net .
...
Change-Id: I3a170e4c6b9f8013ac953fa4592589222e80dca8
2017-06-08 23:13:50 +02:00
Translation updater bot
949b5f9190
Localisation updates from https://translatewiki.net .
...
Change-Id: I373dafb21c9b5363840086c27052815903ae70fc
2017-06-07 22:53:59 +02:00
Brad Jorsch
b301a30abf
Use wikimedia/css-sanitizer, and rewrite the hooking
...
wikimedia/css-sanitizer provides a real CSS parser, which should be
safer than poking at things with regular expressions.
Instead of the strange hybrid model that tried to both process inline
CSS and save CSS when the template is saved, it now looks for
<templatestyles src="Title" /> during the parse to do all the
transclusion of styles.
The output method is "<style> tags in the body", pending someone
implementing T160563.
It now also registers a "sanitized-css" content model, which should pick
up the CSS syntax highlighting and will validate the submitted CSS on
submit and prevent a save if it's not valid.
This patch also takes advantage of LGPL-2.x § 3 to relicense the
extension as GPL-2.0+, although at this point none of the LGPL code
remains anyway.
Bug: T133408
Bug: T136054
Bug: T135788
Bug: T135789
Change-Id: I993e6f18d32a43aac8398743133d227b05133bbd
Depends-On: If4eb5bf71f94fa366ec4eddb6964e8f4df6b824a
2017-06-07 15:14:09 +00:00
Translation updater bot
3191102c54
Localisation updates from https://translatewiki.net .
...
Change-Id: I2c99d7934b23d80a1a151705e54979c09f41e9f8
2017-01-01 10:13:14 +01:00
Translation updater bot
9ab859863c
Localisation updates from https://translatewiki.net .
...
Change-Id: I994cfaf919031c04aae3b8081062d67c3612193c
2016-12-12 22:41:07 +01:00
Translation updater bot
da0633a51f
Localisation updates from https://translatewiki.net .
...
Change-Id: I72b75671491612b1f4be8878df2397fb112f9a98
2016-12-02 22:20:22 +01:00
Translation updater bot
d8225445b7
Localisation updates from https://translatewiki.net .
...
Change-Id: I3cea41c41af9e1fa69907ff736e2245232da232d
2016-11-28 22:32:12 +01:00
Translation updater bot
2e96666b74
Localisation updates from https://translatewiki.net .
...
Change-Id: I2e754dd3da2633249591fc6b79f847ec9e869924
2016-08-19 22:42:51 +02:00
Translation updater bot
2543c32ac5
Localisation updates from https://translatewiki.net .
...
Change-Id: I30bb64bc1ac5ac472af015c1b88ea20317b02488
2016-08-07 22:42:06 +02:00
Translation updater bot
e877b526fc
Localisation updates from https://translatewiki.net .
...
Change-Id: Id14970c364acfb1c1c15f242440dd7b990b12b21
2016-07-21 23:01:21 +02:00
Translation updater bot
6626d3396b
Localisation updates from https://translatewiki.net .
...
Change-Id: I55a6847b35c8fdbc68aff9b6fa66a209d0a95209
2016-04-22 22:24:41 +02:00
Translation updater bot
37fbd09da5
Localisation updates from https://translatewiki.net .
...
Change-Id: Icddf99a2ee6ff79e948cd6c7e87cdf006003111f
2016-04-18 22:23:03 +02:00
Translation updater bot
eea413648d
Localisation updates from https://translatewiki.net .
...
Change-Id: Iafa8819d1c65d668c03577197f671026732deff9
2016-04-17 22:19:35 +02:00
Translation updater bot
a4cea66515
Localisation updates from https://translatewiki.net .
...
Change-Id: I9981d2cc70a6b6f76fef44f5ae902cccd504b595
2016-04-16 23:15:42 +02:00
Translation updater bot
9ebf227e4e
Localisation updates from https://translatewiki.net .
...
Change-Id: Iecb0616ed66cb6a6dceae5d2fd30626f3b9385de
2016-04-15 22:21:06 +02:00
Coren
dfa7e27b5a
Linting and slight tweak to parser
...
- add a tweak to the parser (keep the value tokens in a declaration
separate in the parsed tree to ease matching at render time
- add error checking to encoding/decoding the templatestyles property
- pick some lint suggested by Brion and Bryan
Change-Id: If60b91e119102c0f0f559fe7e5a4c421c94b7ff4
2016-04-12 15:42:23 +00:00
Raymond
b35763edbf
Consisteny tweaks: Use lower case chars for message key only
...
In preparation for adding extension to translatewiki.net
Change-Id: I64fe725ceac7ec1b4d0da9c05e8285cc06278088
2016-04-10 22:49:25 +02:00
Coren
31743445bd
TemplateStyles extension prototype
...
This extension adds a <templatestyles> tag that, when placed
on a template, allows specifying CSS for pages where that
template is transcluded.
Unlike inline styles, the per-template CSS supports rules
with proper selectors, and @media blocks.
THIS VERSION DOES NOT CURRENTLY FILTER DECLARATIONS and is
therefore unsuitable for wikis where unprivileged users should
not be allowed to influcence the pagewide CSS in unrestricted
ways!
Bug: T483
Change-Id: Ibc1cae3079d164f7ac7bcc7c4ded3f02bb048614
2016-04-08 11:08:59 -04:00