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

Release status:Extension status stable

ImplementationTemplate:Extension#type Special page
DescriptionTemplate:Extension#description Displays statistics about social tools for privileged users
Author(s)Template:Extension#username Aaron Wright, David Pean, Jack Phoenix
Latest versionTemplate:Extension#version 1.4.0 (November 20, 2015; 12 months ago (2015-11-20))
MediaWikiTemplate:Extension#mediawiki 1.28+
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
#Version history
ExampleTemplate:Extension#example Development/Testing wiki on Wikimedia Labs
Added rightsTemplate:Extension#rights


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

Check usage and version matrix.


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.


  • 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:
wfLoadExtension( 'SiteMetrics' );
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Version history[edit]

Version VCS revision Release date Comments
1.4 gerrit:254382 20 November 2015 Extension registration support
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)