r36355 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r36354‎ | r36355 | r36356 >
Date:20:30, 16 June 2008
Author:demon
Status:old
Tags:
Comment:
Minor fix by Isb1009. Previous version wouldn't even work.
Modified paths:
  • /trunk/extensions/Piwik/Piwik.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Piwik/Piwik.php
@@ -14,7 +14,7 @@
1515
1616 $wgExtensionCredits['specialpage'][] = array(
1717 'name' => 'Piwik Integration',
18 - 'version' => '0.2.2rev0.5 Beta',
 18+ 'version' => '0.2.3rev0.6 Beta',
1919 'svn-date' => '$LastChangedDate$',
2020 'svn-revision' => '$LastChangedRevision$',
2121 'author' => 'isb1009',
@@ -40,7 +40,7 @@
4141 global $wgPiwikIDSite, $wgPiwikURL, $wgPiwikIgnoreSysops, $wgPiwikIgnoreBots, $wgUser, $wgScriptPath, $wgPiwikCustomJS;
4242 if (!$wgUser->isAllowed('bot') || !$wgPiwikIgnoreBots) {
4343 if (!$wgUser->isAllowed('protect') || !$wgPiwikIgnoreSysops) {
44 - if ( !empty($wgPiwikIDSite) AND !empty($wgPiwikURLpiwikjs) AND !empty($wgPiwikURLpiwikphp)) {
 44+ if ( !empty($wgPiwikIDSite) AND !empty($wgPiwikURL)) {
4545 $funcOutput = <<<PIWIK
4646 <!-- Piwik -->
4747 <a href="http://piwik.org" title="Web analytics" onclick="window.open(this.href);return(false);">

Status & tagging log