User:Ale jrb/Scripts/SkillCheck

From Guild Wars Wiki
Jump to navigationJump to search
   General        Guild Wars        Scripts        Talk      

SkillCheck

SkillCheck is a JavaScript application that displays an up-to-date pop-up when you put your mouse over a skill image or link. This data is taken directly from the GWW page for that skill, so always reflects the current status of the skill (or at least, it updates as fast as the wiki does!) and does not require a database or database manager to work. It automatically recognises all skill links; no special code has to be added to the links for it to work.

It runs when you are previewing a page, or viewing a page in any namespace. What's more, it can usually grab and parse this data within about half a second, and produces no noticeable slow down when loading or viewing pages.

Install

This script is complete. To install it, follow the installation instructions below.

Screenshots

User Ale jrb skillcheck scrn1.png

FAQ

Q. How does it work?

A. SkillCheck utilises AJAX and JavaScript to retrieve and parse skill data into pop-ups. JavaScript is perfectly safe, and if the SkillCheck malfunctions at any time, can be disabled so the script can be removed.

Q. The script has been installed, but nothing happens. What's wrong?

A. It is likely that you have not cleared your cache since installing the script. As with all Wiki-based JavaScript programs, this must be done after every change to your monobook.js file.

Q. It isn't correctly retrieving ________ skill. Why not?

A. It is possible that there is a problem with the skill page, that prevents SkillCheck from being able to access it. Please report the skill in question, and the details of the error, on my talk page.

Q. Nothing happens when I mouse-over a PVP/Monster skill link. Why not?

A. SkillCheck does not currently support PVP skills, monster skills and most mission based skills. I intend to add support for these in the future.

Latest Update

1.1.1d - 15/06/2009

  • Fixed a bug that prevented the skill display showing up when viewing images.

1.1.1c - 17/12/2008

  • Fixed a bug that prevented the displaying of skill images when retrieving from API.

1.1.1b - 16/12/2008

  • Removed annoying pop-up message, that was displayed when clicking too rapidly on a skill link.

Read more...

Installation

To install SkillCheck, add the following line to your monobook.js page:

{{subst:User:Ale_jrb/Scripts/SkillCheck/install.js}}

You should then bypass your browser's cache. To do this:

  • In Firefox, hold shift and click reload.
  • In Internet Explorer, hold ctrl and click refresh.