From Encyclopedia of Buddhism
Jump to: navigation, search

This page is for discussion of site Admin issues.

General reference

Good reference here:

Project pages

Help pages

Note: if you set up a new help page, please add the appropriate template (either "how to" or "information") to top of page; just look at existing examples.

Editorial guidelines

Articles needing attention

Recently imported articles



This is why the key search phrases are not showing in AWstates: https://support.plesk.com/hc/en-us/articles/213923345-Why-AWStats-do-not-show-Search-Keyphrases-and-Keywords

Google analytics

We are now using Google search console which gives just about everything we would have got from Google analytics of interest to us with zero issues with cookies consent questions. Leaving the material about Google Analytics that we found out in a collapsed section in case it is needed some day for some reason

Extended content
Okay - is the main issue for the cookie notice that it is permanently visible? If that is the issue - I think the DismissableSiteNotice might be an alternative approach.
As for installing the google analytics code, I think YellowDog's advice may help:
"instead, simply copy the relevant Google Analytics Tracking Code snippet into MediaWiki:Common.js and MediaWiki:Mobile.js"
That should work. Then, I think that the user provides consent by continuing to browse the site or by dismissing the warning. That is how it is done in EU cookie compliance for Drupal.
It would be possible to check consent and disable ga if consent is not supplied and they go away:
This is how it is done in Drupal, one way
if (!Drupal.eu_cookie_compliance.hasAgreed()){
  window['ga-disable-UA-xxxx-1'] = true;
The only thing is, they have already set a cookie just by arriving at the site. If we disable ga by default until consent is supplied, how do we track search phrases? Because by the time they arrive on the site, they have already used the search phrase to get here. I may be missing something.
Robert Walker (talk) 19:57, 2 July 2018 (UTC)


Just been checking. The cookie law is not such a big deal for small websites. If you break it then they have the powers to ask for information and also to serve an enforcement notice.

If you get the enforcement notice it is then a criminal offence not to comply.

They only give financial penalties in extreme cases where you cause significant harm. As an example, installing spyware on the visitor's computer. Maximum penalty £500,000

Details here

UK Cookie Law

Also it says there

"The information Commissioner’s Office (ICO) has stated it is acceptable for websites to infer that visitors have given their implied consent to the use of cookies, by their use of the site. However, sites still need to have a clear and prominent Cookies Policy in place. "

So - e.g. if we experimentally added ga site stats and a dismissable site notice, then I think that would be good enough myself. Even though the site notice doesn't do anything except alert the user. The button would just say "dismiss". We could also have a non dismissable site notice.

Robert Walker (talk) 03:30, 3 July 2018 (UTC)

BTW there are many other extensions that could be good to add. I did a project page for them here


One of the neat ones is the one for embedding YouTube videos which could be good for embedding video teachings into web pages. That would be a distinctive feature Wikipedia doesn't have.

Sadly I ran into errors trying to add those extensions. Need to go through Mediawiki support probably to find out what went wrong. If you try to install an extension - if the site stops working with an error message, just undoing the changes to LocalSettings.php will get it back the way it was before.

Robert Walker (talk) 03:33, 3 July 2018 (UTC)