MediaWiki extensions manual
OOjs UI icon advanced.svg
Click Counter
Release status: beta
Description Add some functions for counting user's clicks on predefined links
Author(s) EnricoDagatalk
Latest version 0.1 (2009-05-20)
MediaWiki 1.11+
License No license specified
Download see below
Translate the ClickCounter extension if it is available at translatewiki.net
Check usage and version matrix.

What can this extension do?Edit


Download instructionsEdit

You can download the zp file here: http://www.ontologydesignpatterns.org/clickcounter/clickcounter-0.1.tar.gz


To install this extension, Uncompress the tarball first launch the SQL in the /db/createtable.sql file to create the table for hosting the click logs, then add the following to LocalSettings.php :

#add configuration parameters here
#setup user rights here

and copy directory "ClickCounter" from the tarball to "extensions/ClickCounter" of your Mediawiki installation


  • MediaWiki version 1.11+
  • MySQL 5+


Two new parser functions are provided by this extension:

{{#countit:<link> |<message>}}

to register the user's link, and


to retrieve the number of clicks for a certain link.

Administrator can see a complete list of click counts (link+number) from the Special page Special:CountSummary.