Commit graph

272 commits

Author SHA1 Message Date
Translation updater bot 86ed176f2b Localisation updates from https://translatewiki.net.
Change-Id: I4d2d65779fb46f242a4f62b94afb854f8b2a3fb5
2016-09-20 22:38:03 +02:00
Translation updater bot ce367f23fc Localisation updates from https://translatewiki.net.
Change-Id: I74aeafbb15ff901c0aa13ec2fb1016bc38eb1855
2016-09-19 22:53:21 +02:00
Florian Schmidt c0f1942eca build: Update to mediawiki-codesniffer 0.7.2
Change-Id: Iec8125948390b1bea87d25a4975450e8ba84fa0d
2016-09-17 22:42:15 +00:00
Florian Schmidt 12137c66d8 Use short array syntax instead of array()
Change-Id: I22f24bf047ff8bb476000bfbf879cc7612c10c27
2016-09-18 00:36:56 +02:00
jenkins-bot 45d70926ed Merge "Use the short hooks definition in extension.json" 2016-09-17 22:27:47 +00:00
jenkins-bot 5dfb430f40 Merge "i18n: Make the OK button label translateable" 2016-09-17 22:25:29 +00:00
Florian Schmidt ca00379814 Use the short hooks definition in extension.json
Change-Id: I53415a93290cd3fc973e384bfd66364b4dcf8206
2016-09-17 22:25:25 +00:00
Florian Schmidt a6d1e1f11a i18n: Make the OK button label translateable
Change-Id: Idb7cb249b582f0bf15f1ea6ec1d0aece5c9efdc5
2016-09-18 00:24:17 +02:00
Paladox 828d31625c Fix tests
Change-Id: I761c8eea6c0ecc55f02ce86259c5afc83d6a96a9
2016-09-18 00:18:56 +02:00
Florian Schmidt b8686223e5 Allow non-JS users to dismiss the CookieWarning bar
This commit change sthe "OK"-link to dismiss the cookiewarning bar
from a link to a POST-based form, so that non-JS users are able to
click it, too. If clicked, the dismiss is saved int he user prefs
(if the user is logged in) or in a cookie.

The JS version still works without reloading the page.

Bug: T145647
Change-Id: I711413abcbc131aaba34e8b285630ef1a1c9bda1
2016-09-18 00:00:14 +02:00
Florianschmidtwelzow 2b7bd1be97 Merge "Add the possibility to edit the more information link on-wiki" 2016-09-17 21:53:45 +00:00
Translation updater bot 3e266d9fe1 Localisation updates from https://translatewiki.net.
Change-Id: I78e7668e82f3e72c160a3a22792b5db741cde0a3
2016-09-17 23:17:58 +02:00
Florian Schmidt dcebb9bb04 Add the possibility to edit the more information link on-wiki
Instead of just the configuration variable $wgCookieWarningMoreUrl,
CookirWarning now allows also to set the link on-wiki using the interface
message MediaWiki:Cookiewarning-more-link. It also "listens" for the
MediaWiki:Cookie-policy-link interface message, which is introduced by
Cookie Policy as a first step for merging these both extensions.

Bug: T145781
Change-Id: I818008b2da6d9acd4295857e2916cd1b4637bee9
2016-09-15 23:53:27 +02:00
Translation updater bot cee786b695 Localisation updates from https://translatewiki.net.
Change-Id: I7eb180767e804657973fefc9d1d87f66c524f5e5
2016-09-15 22:59:01 +02:00
Christian Aistleitner 48260f3b53 Add .gitreview 2016-08-25 02:54:14 +02:00
Petr Urbanec db218cbf78 Added a Czech localization
Imported from https://github.com/droidwiki/droidwiki-extensions-CookieWarning/pull/1

Change-Id: Ibb19f450afb2a68573681bd9a2c7568d7e2bb5fd
Signed-off-by: Florian Schmidt <florian.schmidt.stargatewissen@gmail.com>
2016-08-22 22:48:21 +02:00
Florian 97c134e397 Improve documentation of code and add test features (npm, composer)
Also: Add license (MIT).

Change-Id: Ia184b396b648ecb4ef30b40d13618e2ecf72294a
2016-01-10 19:31:07 +01:00
Florian e37bbc73cc Change de-Message, adjust mobile less and add url config option
de i18n message now represents the en translation. The mobile opacity
is now 1, instead of 0.85 from desktop (it covers text in mobile, which
makes it harder to read with the opacity).

The URL isn't hardcoded anymore, it now can be configured with a config
option.

Change-Id: I9a4e3eb40675496e9467ecee4307298d0542633e
2015-08-16 12:00:33 +02:00
Florian bc100e294d Show CookieWarning for mobile users and save setting to user
Enable the CookieWarning to be visible on a mobile device (bottom, instead of top).

Instead of only rely on cookies to save, that a user accepted that we use cookies,
save it as a user preference, too.

Change-Id: Ib03d5eafd4392d14315115c158b547b9e26a173c
2015-08-16 11:49:05 +02:00
Florian 0b265c90c7 Change default value of Enabled to false
Change-Id: I89daf9676cb10ff5b42a437dfbf51adf3493c69a
2015-07-27 19:33:20 +02:00
Florian b60d6e857a Initial commit
Change-Id: I75ba290d33d981c1c3789868f4ac21916faabde0
2015-07-27 19:19:29 +02:00
Florian Schmidt 7b7d5dd508 Initial empty repository 2015-07-27 17:03:47 +02:00