Commit graph

2 commits

Author SHA1 Message Date
Florian Schmidt 7afcc5bfd7 Show cookiewarning banner if IP could not be located
If any error occured during locating the IP address, the extension should
assume, that the user is in a configured region and show the cookie warning,
if not already dismissed.

Bug: T200077
Change-Id: Ib7f0dd0a135071924281a576ab24887d5e226435
2018-07-20 14:22:47 +02:00
Florian Schmidt 90d2e58096 Move classes into CookieWarning namespace
This should make the code a bit more structured and easier to navigate
through. It also removes some lines from extension.json as the autoload
classes list is replaced by an autoload namespaces property.

This also changes the minimum requirement of MediaWiki to 1.31 for this
extension to work.

Change-Id: I249ccc3035297c99202a5f83fcc8d3fda68b682c
2018-07-19 12:57:52 +02:00
Renamed from includes/CookieWarningDecisions.php (Browse further)