Extension:SiteMetrics

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png
SiteMetrics

Release status: stable

SiteMetrics.png
Implementation Special page
Description Displays statistics about social tools for privileged users
Author(s) Aaron Wright
David Pean
Jack Phoenix
Latest version 1.3.0 (September 25, 2014; 11 months ago (2014-09-25))
MediaWiki 1.25+
License GNU General Public License 2.0 or later
Download
#Version history
Example Development/Testing wiki on Wikimedia Labs
Added rights

metricsview

Translate the SiteMetrics extension if it is available at translatewiki.net

Check usage and version matrix; code metrics

Issues:

Open tasks · Report a bug

SiteMetrics extension adds a new special page, Special:SiteMetrics, for viewing statistics regarding the usage of social tools. This special page is a restricted one; the user must have metricsview user right in order to access it. By default, administrators and staff are granted this right.

SiteMetrics uses Google Charts' API to display the graphs.

Installation[edit | edit source]

  • Download and place the file(s) in a directory called SiteMetrics in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/SiteMetrics/SiteMetrics.php";
  • YesYDone - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Version history[edit | edit source]

Version VCS revision Release date Comments
1.3 gerrit:162838 25 September 2014 Modernization — added RequestContext support, got rid of old i18n file, etc.
1.2 gerrit:123084 1 April 2014 Migrated to JSON i18n
1.1 r96469 Summer 2011/7 September 2011 Initial public release; ResourceLoader support added
1.0 r1707 (ShoutWiki SVN) 29 June 2010 Initial Dutch (nl) translation
1.0 r1699 (ShoutWiki SVN) 26 June 2010 Fixed the name of the user right message (the one used in Special:ListGroupRights)
1.0 r1638 (ShoutWiki SVN) 14 May 2010 Unconditionally show "New Users" link in the sidebar. If the user_register_track DB table doesn't exist, info will be fetched from logging table (same data used for Special:Log/newusers).
1.0 r1624 (ShoutWiki SVN) 1 May 2010 Initial French (fr) translation
1.0 r1558 (ShoutWiki SVN) 27 March 2010 Commented out two unused messages ('sitemetrics-greater-5-edits' and 'sitemetrics-greater-100-edits') because these stats do not exist and were removed from the interface in r1554 + fixed a typo in Finnish (fi) localization
1.0 r1554 (ShoutWiki SVN) 26 March 2010
  • fix for multi-part links (i.e. [[Special:SiteMetrics/Wall Messages]])
  • disabled two statistics because there's no SQL for them
  • fix some fatals caused by a stupid typo (typoed tableExists as tableExist)
  • and finally, proper page title i18n
1.0 r1553 (ShoutWiki SVN) 26 March 2010 One missing Database::tableName() call added
1.0 r1547 (ShoutWiki SVN) 24 March 2010 More existence checks for the presence of various classes and database tables
1.0 r1538 (ShoutWiki SVN) 14 March 2010 Initial Finnish (fi) translation
1.0 r1431 (ShoutWiki SVN) 11 February 2010 Initial version


Social toolsSocial tools
SocialProfileExtension:SocialProfile OverviewExtension:SocialProfileRoadmapExtension:SocialProfile/RoadmapDeveloper infoExtension:SocialProfile/For developersScreenshotsExtension:SocialProfile/ScreenshotsHistorySocial tools
Other social extensions Automatic Board WelcomeExtension:Automatic Board WelcomeBlogPageExtension:BlogPageChallengeExtension:ChallengeFanBoxesExtension:FanBoxesMiniInviteExtension:MiniInviteNewUsersListExtension:NewUsersListPictureGameExtension:PictureGamePollNYExtension:PollNYQuizGameExtension:QuizGameRandomFeaturedUserExtension:RandomFeaturedUserRandomGameUnitExtension:RandomGameUnitRandomUsersWithAvatarsExtension:RandomUsersWithAvatarsSiteMetricsExtension:SiteMetricsSiteScoutExtension:SiteScoutSportsTeamsExtension:SportsTeamsUserStatusExtension:UserStatusUserWelcomeExtension:UserWelcome
Other related extensions
(which do not depend on SocialProfile)
AnswersExtension:AnswersCommentsExtension:CommentsLinkFilterExtension:LinkFilterMediaWikiChatExtension:MediaWikiChatNewSignupPageExtension:NewSignupPageVideoExtension:VideoVoteNYExtension:VoteNYWikiForumExtension:WikiForumWikiTextLoggedInOutExtension:WikiTextLoggedInOut