Extension:ClickCounter

From MediaWiki.org
Jump to: navigation, search


MediaWiki extensions manual - list
Crystal Clear action run.png
Click Counter

Release status: beta

Description Add some functions for counting user's clicks on predefined links
Author(s) EnricoDagaTalk
Last version 0.1 (May 20, 2009)
MediaWiki 1.11+
License No license specified
Download see below

Check usage (experimental)

Contents

[edit] What can this extension do?

[edit] Usage

[edit] Download instructions

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

[edit] Installation

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

[edit] Requirements

  • MediaWiki version 1.11+
  • MySQL 5+

[edit] Functionalities

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.

Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox