Index: trunk/extensions/Piwik/Piwik_specialpage.php |
— | — | @@ -29,11 +29,13 @@ |
30 | 30 | // checking |
31 | 31 | $piwikpage = <<<PIWIK |
32 | 32 | <h2>{$lastvisits}</h2> |
33 | | - <iframe src="{$wgPiwikURL}/index.php?module=Widgetize&action=iframe&moduleToWidgetize=VisitsSummary&actionToWidgetize=getLastVisitsGraph&idSite={$wgPiwikIDSite}&period=day&date=previous30" marginheight="0" marginwidth="0" frameborder="0" height="150" scrolling="no" width="100%"></iframe> |
| 33 | + <iframe src="http://{$wgPiwikURL}/index.php?module=Widgetize&action=iframe&columns[]=nb_visits&moduleToWidgetize=VisitsSummary&actionToWidgetize=getEvolutionGraph&idSite={$wgPiwikIDSite}&period=day&date=last30&disableLink=1" marginheight="0" marginwidth="0" frameborder="0" height="250" scrolling="no" width="100%"></iframe> |
| 34 | + |
34 | 35 | <h2>{$countries}</h2> |
35 | | - <iframe src="{$wgPiwikURL}/index.php?module=Widgetize&action=iframe&moduleToWidgetize=UserCountry&actionToWidgetize=getCountry&idSite={$wgPiwikIDSite}&period=day&date=yesterday" marginheight="0" marginwidth="0" frameborder="0" scrolling="no" height="400" width="100%"></iframe> |
| 36 | + <iframe src="http://{$wgPiwikURL}/index.php?module=Widgetize&action=iframe&moduleToWidgetize=UserCountry&actionToWidgetize=getCountry&idSite={$wgPiwikIDSite}&period=day&date=yesterday&disableLink=1" marginheight="0" marginwidth="0" frameborder="0" scrolling="no" height="400" width="100%"></iframe> |
| 37 | + |
36 | 38 | <h2>{$browsers}</h2> |
37 | | - <iframe src="{$wgPiwikURL}/index.php?module=Widgetize&action=iframe&moduleToWidgetize=UserSettings&actionToWidgetize=getBrowser&idSite={$wgPiwikIDSite}&period=day&date=yesterday" marginheight="0" marginwidth="0" frameborder="0" scrolling="no" height="400" width="100%"></iframe> |
| 39 | + <iframe src="http://{$wgPiwikURL}/index.php?module=Widgetize&action=iframe&moduleToWidgetize=UserSettings&actionToWidgetize=getBrowser&idSite={$wgPiwikIDSite}&period=day&date=yesterday&disableLink=1" marginheight="0" marginwidth="0" frameborder="0" scrolling="no" height="400" width="100%"></iframe> |
38 | 40 | |
39 | 41 | PIWIK; |
40 | 42 | |
Index: trunk/extensions/Piwik/Piwik.php |
— | — | @@ -15,7 +15,7 @@ |
16 | 16 | $wgExtensionCredits['specialpage'][] = array( |
17 | 17 | 'path' => __FILE__, |
18 | 18 | 'name' => 'Piwik Integration', |
19 | | - 'version' => '1.5-piwik0.4.2', |
| 19 | + 'version' => '1.5.1-piwik0.4.3', |
20 | 20 | 'author' => 'Isb1009', |
21 | 21 | 'description' => 'Inserts Piwik script into MediaWiki pages for tracking and adds [[Special:Piwik|some stats]]. Based on Google Analytics Integration by Tim Laqua.', |
22 | 22 | 'descriptionmsg' => 'piwik-desc', |