Extension:WoWItem

What can this extension do?
This extension will convert an item number or item name from the popular game, World of Warcraft (WoW), into a WoW style popup.

Usage
&lt;item&gt;{item name or item id}&lt;/item&gt; &lt;item img="true"&gt;{item name or item id}&lt;/item&gt; &lt;item img="{image URL}"&gt;{item name or item id}&lt;/item&gt; &lt;item html="true"&gt;{item name or item id}&lt;/item&gt;
 * To show a WoW style popup for an item.
 * To show a WoW style popup for an item using the icon instead of text.
 * 1) or ##
 * To show a block of HTML instead of a popup.

&lt;item img="true" html="true"&gt;{item name or item id}&lt;/item&gt; &lt;item img="{image URL}" html="true"&gt;{item name or item id}&lt;/item&gt;
 * To show a block of HTML with an icon included.
 * 1) or ##

Installation
Unzip the ZIP archive into the extensions folder and add the require_once line to LocalSettings.php

Changes
Put this line at the end of LocalSettings.php require_once("$IP/extensions//.inc");

Contents
Contains a modified version of PHP WoW Item Mouseover by rodeojones which I modified to make work with my installation of MediaWiki

Known Issues

 * The script probes Allakhazam.com twice if it sees an item with " of " in the name if it doesn't find it the first time. E.g. "Corpse Harvester of Power": will probe Allakhazam.com twice to find "Corpse Harvester". "Helm of Desolation": will only probe once, since that item is found on the first probe.
 * Due to the way World of Warcraft handles items, it is not possible to link to items with sub names such as, "Corpse Harvester of the Bear". Attempting to link to such items will result in "&lt;item not found&gt;Corpse Harvester of the Bear&lt;/item not found&gt;". I'm working on a way to make the script ignore sub names.
 * Fixed (ugly)


 * Seems to break custom style sheets. I'm working on a fix.
 * Fixed

''' Warning: Cannot modify header information - headers already sent by (output started at {$IP}/extensions/WoWItem/includes/overlibmws/overlibmws.php:3) in {$IP}/includes/WebResponse.php on line # Warning: Cannot modify header information - headers already sent by (output started at {$IP}/extensions/WoWItem/includes/overlibmws/overlibmws.php:3) in {$IP}/includes/WebResponse.php on line # '''
 * If you don't put the require_once line at the end of LocalSettings.php (or after the headers have been sent), you will receive the following error:
 * Fixed (hopefully)