Commit graph

159 commits

Author SHA1 Message Date
James D. Forrester 4f603ac8d2 build: Bump mediawiki-codesniffer to 0.10.1
Change-Id: Ia9b79a81d7e7d2b47467c743745bb13f611af17f
2017-07-31 18:13:35 -07:00
Kunal Mehta 865da72225 build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: Ibdf7502e02b972691499fbb7c65e64bc894ff1a7
2017-07-23 00:17:27 -07:00
Kunal Mehta f03e4bdd49 build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: I95c330cc2ed52869075ec0c3577962b23cbec028
2017-07-01 00:57:30 -07:00
Kunal Mehta 4242d63304 build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch

Change-Id: Ibe364df6dc58c2bfb04fc6ac267e1a9fa89bc2f9
2017-06-19 19:40:07 -07:00
Amir Sarabadani ee62984248 Add CODE_OF_CONDUCT.md
Bug: T165540
Change-Id: I48e642f5b57733db703cb96ba86105db082d1a2c
2017-06-07 13:13:02 +04:30
Antoine Musso bbf2296ee1 build: add jakub-onderka/php-console-highlighter
Highlight PHP code when parallel-lint fails

Change-Id: Ie7582baa805457a0445a119bfd5fb859f693e51f
2017-05-05 21:40:01 +02:00
Translation updater bot 18e8e1c371 Localisation updates from https://translatewiki.net.
Change-Id: I779a9bf791dc74bf83341aa633608c70befdb715
2017-05-04 22:44:48 +02:00
Umherirrender 100da38e8f Add fix phpcbf command to composer.json
This allows to use the phpcbf easily

Change-Id: I159e3d6c0cb4d767d86036754e4943e59591d410
2017-04-29 13:09:14 +02:00
Translation updater bot b228828a3e Localisation updates from https://translatewiki.net.
Change-Id: Iea1b1fb8e466fb92900839aa3e2739d351cbbfdd
2017-04-27 22:34:50 +02:00
Umherirrender 1ee08cb2fe Fix bad newlines
Removed \r from files

Change-Id: Ic6b14cf06d2932ddf9d21093985aadd0d699c2f5
2017-04-22 18:44:51 +02:00
Translation updater bot 3a2551727d Localisation updates from https://translatewiki.net.
Change-Id: I985e91d1946cc32a139949fcd87f91b2ee451d8c
2017-04-15 10:45:34 +02:00
Translation updater bot 05cc856664 Localisation updates from https://translatewiki.net.
Change-Id: I103bbe4344bfc08c17fe8a018c1bb5c717f14aff
2017-04-10 22:46:20 +02:00
Translation updater bot 2457554529 Localisation updates from https://translatewiki.net.
Change-Id: Ie6d1a7043561bca9fe41e38086211d61ceeaea96
2017-03-29 22:27:46 +02:00
Umherirrender 168ea72d60 Use tabs to indent in json
Change-Id: I0a2056a0e1e1073a45752f1894f64c893126ff3e
2017-03-22 22:15:04 +01:00
Translation updater bot d04f141188 Localisation updates from https://translatewiki.net.
Change-Id: Ia6bda3cd5e25d58d66f8525cdf7c8960ec5875ed
2017-03-14 22:32:19 +01:00
Translation updater bot 565ef6684b Localisation updates from https://translatewiki.net.
Change-Id: I280ab867125a3a82eeb0478390d9cc73f816370e
2017-03-13 22:41:27 +01:00
Translation updater bot f0add690d4 Localisation updates from https://translatewiki.net.
Change-Id: I47e46731ab2b474e041d3446a80ef85f82ab11ec
2017-03-12 22:37:04 +01:00
Translation updater bot e3f486f727 Localisation updates from https://translatewiki.net.
Change-Id: Ia8312830f40b1465d7b88950e0d5f5d9a47141a0
2017-02-24 22:24:35 +01:00
Florian Schmidt 4a15a7fb83 Remove explicit font selection
We want to use the font of the page, not some different one.

Change-Id: Iaf8d6ce5e7422a4515fc9e8ab4f067e213609560
2017-01-12 01:42:26 +01:00
jenkins-bot 4b1a13d288 Merge "Redesign mobile CookieWarning banner" 2017-01-11 22:48:06 +00:00
Florian Schmidt 9b342e875b Redesign mobile CookieWarning banner
Based on design input from Reading web team (Nirzar).

Bug: T146077
Change-Id: I99aa74842486c4c397462dd51f55c272ae17ad07
2017-01-11 23:06:25 +01:00
Translation updater bot e0d823e293 Localisation updates from https://translatewiki.net.
Change-Id: I12177fc7487fbb27edafa2c12645e2d3f8b12574
2017-01-01 09:54:35 +01:00
Translation updater bot 0939066298 Localisation updates from https://translatewiki.net.
Change-Id: I8cee6f3b60b5a8b3ccb948c063d35a261310b244
2016-11-12 22:50:14 +01:00
Florian Schmidt 1143f1e20d Bump version number to 0.2.0
Bug: T145723
Change-Id: I4a3f57e7666bdca635dcd0603df9cef03011b7e4
2016-10-29 22:13:02 +02:00
jenkins-bot 7d0b29509e Merge "Add option to limit the cookie warning to specific regions" 2016-10-29 17:33:27 +00:00
Translation updater bot 595d03f687 Localisation updates from https://translatewiki.net.
Change-Id: Ie49dc8b191b8fcb3f1cea94dcf20e181161d7254
2016-10-28 22:39:00 +02:00
Chad Horohoe 1c824c4f09 Whoops, track not trace 2016-10-24 17:02:22 -07:00
Chad Horohoe 8e979282ea Swapping defaultbranch for trace
The former is a maintenance nightmare when branching.

Bug:T146293
2016-10-24 16:37:20 -07:00
Translation updater bot 150c9c9189 Localisation updates from https://translatewiki.net.
Change-Id: I38b9d0f008ff0c434171f32f4e6bd4e57b4e6b71
2016-10-19 23:25:11 +02:00
Translation updater bot 9e11cfeb92 Localisation updates from https://translatewiki.net.
Change-Id: I12ebd5e2a05ea61f751d3033cc9ee3e0027a1e78
2016-10-17 22:31:37 +02:00
Translation updater bot 2bcfb7389f Localisation updates from https://translatewiki.net.
Change-Id: I0b40c8faa679c2bf3d123645dd1b91ad851b2637
2016-10-15 23:01:20 +02:00
Translation updater bot 7fa4f6f2c4 Localisation updates from https://translatewiki.net.
Change-Id: I29eec9185d6dd30f4a3135c86b37d700ccd4c884
2016-10-13 22:47:18 +02:00
Florian Schmidt c35b78fae8 Add option to limit the cookie warning to specific regions
With this change, CookieWarning gets two new ways to limit the warning
bar to users of specific (configurable) regions. Based on the geo location
service (which can be configured, too, defaults to freegeoip.net), the
extension will try to get the region of the user (based on the IP address)
and checks it against the configured regions.

With the configuration variable $wgCookieWarningGeoIPLookup, the wiki sysadmin
can configure, if the lookup should be done with PHP (the timeout for the
request is hardcoded to 2 sedonds max), which will save the paylod sent to
the user, or with JavaScript, which will be asynchronous.

Deactivating this feature is easily done by simply setting the configured regions
to false, instead of an object.

Bug: T145780
Change-Id: I4d9371b8608ef270c11c42bdb3a773675977ab3a
2016-10-07 23:51:18 +02:00
Translation updater bot 24d975ae79 Localisation updates from https://translatewiki.net.
Change-Id: Ic183f0a93ae83fcb9721684c25b82335b43ea98f
2016-10-02 10:36:54 +02:00
Translation updater bot 4c7a81639f Localisation updates from https://translatewiki.net.
Change-Id: I944da338f83b501b1ebd66ac1cd71aa055e71a8e
2016-09-27 22:35:58 +02:00
Translation updater bot 854e8ae43f Localisation updates from https://translatewiki.net.
Change-Id: Ia3ca0d7cd9a07fd1a344890ec22ce8e311c03b6b
2016-09-26 22:37:46 +02:00
Translation updater bot 02b5dd1a88 Localisation updates from https://translatewiki.net.
Change-Id: I8d0594f8d83513d63b87377b02b0c80ae91dddb7
2016-09-22 23:36:38 +02:00
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