}
/**
- * Plugin to use Piwik Analytics (based on the Google Analytics plugin by Evan)
+ * Plugin to use Piwik Analytics (based on the Analytics plugin by Evan)
*
* This plugin will spoot out the correct JavaScript spell to invoke
* Piwik Analytics on a page.
*/
class PiwikAnalyticsPlugin extends Plugin
{
+ const PLUGIN_VERSION = '2.0.0';
+
/** the base of your Piwik installation */
public $piwikroot = null;
/** the Piwik Id of your statusnet installation */
return true;
}
- function onPluginVersion(&$versions)
+ function onPluginVersion(array &$versions)
{
$versions[] = array('name' => 'PiwikAnalytics',
- 'version' => STATUSNET_VERSION,
+ 'version' => self::PLUGIN_VERSION,
'author' => 'Tobias Diekershoff, Evan Prodromou',
- 'homepage' => 'http://status.net/wiki/Plugin:Piwik',
+ 'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Piwik',
'rawdescription' =>
+ // TRANS: Plugin description.
_m('Use <a href="http://piwik.org/">Piwik</a> Open Source web analytics software.'));
return true;
}