Re: FBR: Remove piwik from websites

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2017-06-08 17:16 GMT+02:00 Paul W. Frields <stickster@xxxxxxxxx>:
> On Thu, Jun 08, 2017 at 11:09:29AM -0400, Stephen John Smoogen wrote:
>> I would like to remove Piwik from the wiki and other websites which
>> use it. Currently the main change would be in the files:
>>
>>
>> roles/mediawiki/files/skins/Fedora.php
>> roles/mediawiki123/files/skins/Fedora.php
>>
>> diff --git a/roles/mediawiki123/files/skins/Fedora.php
>> b/roles/mediawiki123/files/skins/Fedora.php
>> index fda1a78..1956819 100644
>> --- a/roles/mediawiki123/files/skins/Fedora.php
>> +++ b/roles/mediawiki123/files/skins/Fedora.php
>> @@ -91,22 +91,6 @@ class FedoraTemplate extends QuickTemplate {
>>                 if($this->data['trackbackhtml']) print
>> $this->data['trackbackhtml']; ?>
>>                 <!-- Head Scripts -->
>>  <?php $this->html('headscripts') ?>
>> -                <!-- Piwik -->
>> -                <script type="text/javascript">
>> -                  var _paq = _paq || [];
>> -                  _paq.push(["setDomains", ["*.fedoraproject.org"]]);
>> -                  _paq.push(['trackPageView']);
>> -                  _paq.push(['enableLinkTracking']);
>> -                  (function() {
>> -                    var u="//piwik.fedorainfracloud.org/piwik/";
>> -                    _paq.push(['setTrackerUrl', u+'piwik.php']);
>> -                    _paq.push(['setSiteId', 12]);
>> -                    var d=document, g=d.createElement('script'),
>> s=d.getElementsByTagName('script')[0];
>> -                    g.type='text/javascript'; g.async=true;
>> g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
>> -                  })();
>> -                </script>
>> -                <noscript><p><img
>> src="//piwik.fedorainfracloud.org/piwik/piwik.php?idsite=12"
>> style="border:0;" alt="" /></p></noscript>
>> -                <!-- End Piwik Code -->
>>         </head>
>>  <body <?php if($this->data['body_ondblclick']) { ?>ondblclick="<?php
>> $this->text('body_ondblclick') ?>"<?php } ?>
>>  <?php if($this->data['body_onload'    ]) { ?>onload="<?php
>> $this->text('body_onload')     ?>"<?php } ?>
>>
>> This will then necessitate a rerun of the associated playbook
>
> FWIW, as long as the relevant stakeholders have been consulted
> (e.g. robyduck, mattdm) and are OK with the change, +1 here.  (Not
> sure I really get a vote here, but noting I agree with the change as
> one of the earlier Piwik stakeholders.)
>
> --
> Paul W. Frields                                http://paul.frields.org/
>   gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
>   http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
>     The open source story continues to grow: http://opensource.com

Thank you Paul, I was aware of it and I'm happy Ricky already went ahead.
We got a lot of timeouts during the website build from the fedorainfracloud.
Thanks to all.

-- 
Robert Mayr
(robyduck)
_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux