Topic on Extension talk:SiteMetrics

Does SiteMetrics require Extension:SocialProfile?

2
John Ericson (talkcontribs)

I'm mainly interested in statistics for:

  1. total edits
  2. edits/user & anonymous users
  3. total views
  4. views/user & anonymous users
  5. edits/page
  6. edits/category
  7. views/page
  8. views/category

Can SiteMetrics provide this and if so does it require Extension:SocialProfile?

Jack Phoenix (talkcontribs)

See the screenshot for what stats SiteMetrics provides by default. It sounds like hacking it to provide support for such stats wouldn't be too difficult, I think, but I might be mistaken.

As for it requiring SocialProfile, the short answer is yes. The long answer is a bit more complicated. You can see a subsection called "User and Social Statistics" in the screenshot. If SocialProfile isn't installed and you try to see "Friendships" or "Foeships" statistics, for example, you will get an error about a missing database table (user_relationship in this case, as the underlying code will try to perform an SQL query against that table, but it can't do so when the table doesn't exist).

It should be relatively easy to change the code of the special page so that the dependency on SocialProfile can be removed. However, it isn't a high-priority task for me. If you want it done, I suggest filing a bug ticket on our Bugzilla.

Reply to "Does SiteMetrics require Extension:SocialProfile?"