• World of Warcraft Addons
  • World of Warcraft
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

Wiki WoW Item Tooltip

 

Project Updated:
Files Updated: Tue, Nov 3 2009
Supports Game Version: 3.3.0
Category: Miscellaneous
Tags:

, , , , , and [Edit Tags]

Project Manager: egingell
Additional Authors: No additional authors
Current Version: v200911031439
License: Written or Edited by Eric Gingell
Development Site: CurseForge.com
Avg Daily DL (last 30 days): 3
Downloads Total: 1,688
Favorites: 5
Comments: 0
  • About Wiki WoW Item Tooltip
  •  

Description

Make <item>item name</item> into a tooltip link.

Notes

  • This is not an addon, it's a PHP script that is executed by a PHP enabled web server.
  • Requires MediaWiki
  • Requires PHP
  • Requires a web server (i.e. IIS, Apache, LiteHTTPd, etc.).
  • Could be modified to work with any Wiki implementation.
    • Don't bother asking me to do it without giving me full access to your files (for debugging).

Having Issues or have a Suggestion?

  • Please don't use the comments to post trouble tickets or suggestions. Instead post a ticket on CurseForge. Thanks.
    • Any comments containing bug reports or feature requests will be deleted on sight and any comments asking where or why (referring to said comments) will also be deleted on sight.
    • Please don't submit tickets about items that are not found until you try Allakhazam, WoWHead, and WoWArmory.

Installation

Put this line at the end of LocalSettings.php

// $WoWItem_site values
//     'allakhazam' or 'alla'                           : Use Allakhazam's database.
//     'wowhead' or 'head'                              : Use WoWHead's database.
//     'curse'                                          : Use Curse's database.
//     'wowarmory' or anything other than the above     : Use Blizzard's database.
$WoWItem_site = false;
require_once("$IP/extensions/WoWItem/wowitem.inc");

Known Issues

My bad, just needed to wrap the item name in urlencode().
  • Due to the way MediaWiki stores data returned by a hook, you may have to resave pages that have <item not found> in them.
Only a problem if:
  1. you used my botched Version 6.1 and saved a page with an item link in it.
  2. new items were added to WoW and not yet in Allakhazam's database and you tried to link to them
  3. you managed to make it work with a different website other than Allakhazam
  • The script probes Allakhazam.com or WoWArmory.com twice if it sees an item with " of " in the name only if it doesn't find it the first time. E.g. "Corpse Harvester of Power": will probe [the site] twice to find Corpse Harvester. "Helm of Desolation": will only probe once and find Helm of Desolation, which is found on the first pass.
  • 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 "<item not found>Corpse Harvester of the Bear</item not found>". 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
  • 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:
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 #
Fixed, hopefully.
  • The new user changeable item site may not work as expected.
  • The WoW Head hack is still new, please post suggestions and bugs.

Tags

<item>Item Name</item>

Results in a bracketed link colored with the appropriate rarity color that when moused over, pops up a tooltip with the same information that would pop up in-game.

<item img="true">Item Name</item>

The icon is the link instead of plain text.

<item html="true">Item Name</item>

Results in an embedded tooltip.

<item img="true" html="true">Item Name</item>

Same as above with the item's icon included.

<item site="siteid">Item Name</item>

Change the site to retrieve data from to siteid. Valid values for siteid are "wowarmory", "alla", "allakhazam", "head", "wowhead", and "curse". If left out or an invalid value is used, it defaults to "wowarmory".

Donate

See Also

  • Downloads (7)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  Wiki WoW Item Tooltip v200911031439 Release 3.3.0 9 11/3/2009
  Wiki WoW Item Tooltip v200901152011 Release 3.0.8 1,054 1/16/2009
  Wiki WoW Item Tooltip v200811271644 Release 3.0.3 205 11/27/2008
  Wiki WoW Item Tooltip v200811260110 Release 3.0.3 54 11/26/2008
  Wiki WoW Item Tooltip v200811241647 Release 3.0.3 50 11/24/2008
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • Similar Addons
  •  

Average downloads per day

  1. 1,506 Skinner Miscellaneous
  2. 1,076 FuBar 3.6 Miscellaneous
  3. 626 Talented Miscellaneous
  4. 614 FuBar_MoneyFu Miscellaneous
  5. 496 Examiner Miscellaneous