Extension:ClickCounter

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
Check usage and version matrix.

What can this extension do?Edit

UsageEdit

Download instructionsEdit

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

InstallationEdit

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
require_once("extensions/ClickCounter/includes/CC_Setup.php");

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

RequirementsEdit

  • MediaWiki version 1.11+
  • MySQL 5+

FunctionalitiesEdit

Two new parser functions are provided by this extension:

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

to register the user's link, and

{{#getcount:<link>|}}

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.