User:Diploid/ATS (Article Tagging System)

Introduction
Welcome to the Article Tagging System (ATS) Extension. ATS allows users to embed cloud tags in any page's wikitext. The Tags of the the page's tag cloud represent categories to which the page is added after it is tagged. The more people who tag the article as a specific tag the larger it will be displayed relative to the other tags. It should be noted that this extension is very much so a work in progress, is not properly optimized for very large wikis (read: do not install on wikipedia) and requires a high level of media wiki knowledge to install.

'''More Info on this extension will become available once I'm not half asleep. It should be working in most cases now, please report glitches in my talk page so I can fix em'''--Diploid 07:36, 13 August 2007 (UTC)

Usage
This extenion adds a few functions to mediawiki for the purpose of rendering tag clouds for articles in which each tag represents a category which the article is automatically added to:
 * - creates a tag cloud for the article
 * - can be added to categories to add a dynamic ranking of articles tagged as the category

Requirements

 * MySQL 5.0 or greater
 * MediaWiki 1.10 or greater
 * Meta Keywords Tag is optional but automatically adds
 * meta tags for each ATS tag

1) Download the latest version of ATS
available below

2) insert the following line into your LocalSettings.php:
require_once( "$IP/extensions/ATS/ATS.php" );

3) and move all files to:
(Your Media Wiki Directory)\extensions\ATS

4) then go to ATS_Body.php and change:

 * $dbuser - change to a mysql user with create, write, and read access to your mediawiki database
 * $dbpassword - change to the mysql user's password
 * $dbserver - make this your database server's domain name or IP
 * $dbname - make this your mediawiki database's name

Latest Version (v 0.1.1)

 * User:Diploid/ATS (Article Tagging System)/ATS.php
 * User:Diploid/ATS (Article Tagging System)/ATS_Body.php
 * User:Diploid/ATS (Article Tagging System)/ATS_HTML_Update.php
 * User:Diploid/ATS (Article Tagging System)/ATS(dot)css

Known Problems

 * Page names containing certain characters will display log: error in red and not be editable (Overly strict anti-php injection character filter)
 * Some pages do not list in the categories they are tagged as and need to be tagged again before they appear (unknown cause)

To Do

 * Clean Up the Code
 * Comment the Code
 * Make a Tag Management Special Page