Extension:AlexaRank

Alexa Rank is a MediaWiki extension.

Get the full details at MediaWiki's extension page.

What can this extension do?
Show Alexa page rank graphs in your wiki page wherever you put the tags.

Usage

 * Replace cybersprocket.com with the main domain you wish to report on.

Examples
cybersprocket.com
 * Simple

cybersprocket.com modellocate.com remodelcharleston.com
 * Multiple Site Comparison : you can compare up to three domains

cybersprocket.com
 * Fully qualified

Parameters

 * Between the brackets: enter up to three domain names
 * height: min 30, max 300
 * width: min 40, max 400
 * type: 'r' = reach, 'n' = rank, 'p' = page views
 * range: '7d', '1m', '3m', '6m', '1y', '3y', '5y', 'max'
 * color: , i.e. e6f3fc

Alexa Buttons
You can show either a stats button or a traffic button.

Examples
cybersprocket.com cybersprocket.com cybersprocket.com cybersprocket.com

Parameters

 * type: stats or traffic
 * size:
 * for stats types: 120x95 or 120x240
 * for traffic types: 120x65 or 120x90 or 468x60

Download instructions
Download the PHP file noted in the [#Code] section below and put it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php:

Code
Get the most recent code for AlexaRank.php at Cyber Sprocket.