Is it possible for a user of the extension to add explicit user consent for cookies of services like Google Analytics or AdSense, as required by the GDPR?
Topic on Extension talk:CookieWarning
What exactly do you mean? There's a task for making some adjustments to the extension (https://phabricator.wikimedia.org/T249248). Is that, what you mean?
Yes. I'm the one who created the task you mentioned.
This post was hidden by Costas Athan (history)
Then there's nothing more to say here, isn't it? :D
No, there isn't. Actually, I had made this post here before starting the task on Phabricator. Since there is a task there, any developments can be mentioned in the relative task.
I think the Extension:Privacy is a bit closer to what you are referring to. I am not sure that it will load all scripts in non-GDPR countries, but it seems to have the logic to turn some cookies on or off depending on consent from the user. And integration with Matomo.
It also adds some additional GDPR functionality such as tools for anonymization and data retreival.
The problem with the extension is that you need to install a bunch of additional BlueSpice extensions, which may not be desirable. It is not in my case.
At some point I want like to look into whether it is easy to modify the Extension:Privacy so that it can be used on its own.
That thing does not work outside of the BlueSpice variant of MW.
An ideal implementation would be one similar to the example's I mention in Phabricator: https://phabricator.wikimedia.org/T249248