MediaWiki talk:SkillTools.js

Oh no, whats he done now :P &mdash; Skuld 09:56, 29 March 2007 (CDT)

This looks great, Pan. Nice one. :) --Dirigible 12:09, 29 March 2007 (CDT)

known issues

 * The spacing of the parameters are weird!
 * It's functionally the same, and usually a pipe-terminated argument is safer in general. I'm probably not going to do anything about it. - 10:11, 29 March 2007 (CDT)


 * The interface is FUGLY!!!
 * Go bug another admin to prettify it. I'm no art major. - 09:59, 29 March 2007 (CDT)


 * Redundant set of closing "}}" when doing "Template -> Form" then "Form -> Template".
 * I'll work on it tomorrow. - 10:05, 29 March 2007 (CDT)


 * Does not work with Internet Explorer.
 * Looking into the issue. In the meantime, perhaps consider trying Firefox or Opera. - 17:04, 29 March 2007 (CDT)


 * Erases everything but the template if injection is used on a non-empty page.&mdash;[[Image:BlastThatT.jpg]]Blastedt 17:05, 29 March 2007 (CDT)

Selecting a profession
I chose Warrior on the drop-down menu and none of the attributes would come up on the drop-down menu. &mdash; Ebany Salmonderiel (Talk) [ Leave a note] 11:42, 29 March 2007 (CDT)
 * What browser are you using? - 11:48, 29 March 2007 (CDT)
 * IE7 &mdash;[[Image:Alert.PNG]] Ebany Salmonderiel (Talk) [ Leave a note] 13:23, 29 March 2007 (CDT)

<---

Is that box supposed to happen? -Auron  16:41, 29 March 2007 (CDT)
 * Yes. - 16:58, 29 March 2007 (CDT)

Stuff
First, while this is spiffy, it probably came a little late. The info this tries to make more user friendly is exactly the info no one is editing. It only ever changes in balance patches and a single editor can easily handle all but the largest alone (and ANet is allegedly not doing huge balances anymore). The info people do edit is the stuff for the QR pages, which this doesn't handle.

Second, if you had broken the wiki, I would have killed you. Or maybe just accidentally made it redirect you to the goatse.cx image every page out of a hundred.

Third, use wgNamespaceNumber or wgCanonicalNamespace to see if the user is editing a template or not so it doesn't show up everywhere. (View the source for any wiki page and you can see some helpful JS variables that get set.) Add a button to the JS toolbar as a toggle, with the default being off even if the user is editing a template. --Fyren 17:50, 29 March 2007 (CDT)


 * There is a reason why I spent 30 hours on this code before deploying it globally on GuildWiki q-: Anyways, I was doing this for another wiki, and only took 6 hours or so to make it specifically work with GuildWiki (half that time really was making it work with the English language...) and debug it (though 6 ended up still being longer than I originally expected).  As for namespace checking, unfortunately only the skill articles reside in the template namespace, so I see it as kinda pointless.  A second module for location box, beastinfo, armor, or weapon will immediately kill the point of namespace checking.  Either location box or beastinfo is probably the next on the list I think... it kinda depends on the relative needs of the other wiki (things just trickle over to here).  Finally, the default mode IS off.  It doesn't turn "on" unless you load up the skill template tool by clicking on "Skill template tool", or manually click on the "Auto-detect template" link ("button") when editing an article containing a supported template (currently only skill box template is being supported). - 18:33, 29 March 2007 (CDT)


 * What I meant by "off" is not having those links there at all. --Fyren 18:45, 29 March 2007 (CDT)
 * I see. I'll work on it after a second module is created.  Making one new button to replace two links is kinda overkill IMHO, 1 for 3 is a much better deal.  You are of course welcome to modify the code and add the button first if you are so inclined (-: - 20:24, 29 March 2007 (CDT)