User talk:Ale jrb/Scripts/SkillCheck

From Guild Wars Wiki
Jump to navigationJump to search

Great idea[edit]

Very nice idea, Ale jrb! It works very well but sometimes the attribute (for example Restoration Magic) is too long for the small cell, maybe you can resize them. And maybe it is easier (and faster) to receive the information about the skill if you use the MediaWiki code (as you only need to match | parameter = value pairs in the infobox). You can receive the code by simply opening the page with the parameter action=raw, for example Resurrection Signet.
Also for your installation code, you can simply use the addScript method which is implemented in MediaWiki:Common.js. Just use it like this: addScript( 'User:Ale jrb/Scripts/SkillCheck/skillcheck.js' );. poke | talk 17:18, 4 February 2008 (UTC)

Oops - forgot to watch this page. Tbh, I totally forgot about action=raw... I might have to look about changing that; you're right, it would probably be easier. I'll fix the installation thing now :). Cheers, Ale_Jrb (talk) 18:30, 7 February 2008 (UTC)

Slowdown[edit]

I've been noticing a bigger slowdown over the last days I've used it. It seems to happen on any page so far, and I've also been getting errors when it's loading exceptionally slow. It's not consistent :P

Firefox gives me these errors (Swedish, my try for translation in paratheses):

Varning: Väntade sig (Expected) ”:”, men fann (but found) ”;”. Ignorerad deklaration. (Ignored declaration)
Källkodsfil (Source file): http://wiki.guildwars.com/wiki/User:Ale_jrb/Scripts/SkillCheck
Rad (Row): 0
Varning: Fel vid tolkningen av värdet för egenskapen (errors when reading the value of the property) ”min-width”. Ignorerad deklaration.
Källkodsfil: http://wiki.guildwars.com/wiki/User:Ale_jrb/Scripts/SkillCheck
Rad: 0

I have no idea if those help you in any way, just thought I'd include them since they involve this script. - anja talk 19:18, 8 February 2008 (UTC)

There are multiple errors, especially when the loading is aborted or there is no result. For example:
[Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: http://wiki.guildwars.com/index.php?title=User:Ale_jrb/Scripts/SkillCheck/skillcheck.js&action=raw&ctype=text/javascript :: anonymous :: line 1343" data: no]
or
imgurl has no properties (Line 1520)
Anja, can you reproduce that error in any way? poke | talk 19:43, 8 February 2008 (UTC)


Eek - only just saw this. I fixed (I think) the imgurl is null error, but I haven't been able to reproduce the others. When do you get them? Also, Anja, it should reference a line in its error message... do you know which one it is? Thanks, Ale_Jrb (talk) 15:07, 17 February 2008 (UTC)
Also, what browser are you using Anja? Ale_Jrb (talk) 15:08, 17 February 2008 (UTC)
I'm using Firefox. I have uninstalled again, since my connection has been weird over the last few weeks, this one slowing more didn't really help :) I'll install and check whether I still get these errors, and where. - anja talk 15:10, 17 February 2008 (UTC)
The errors appear rather randomly but maybe you can get them by hovering over many links and then click a link to another page while ajax still tries to get the information. Then stop the browser and you may be able to read the error messages :P poke | talk 21:02, 17 February 2008 (UTC)

Watchlist[edit]

I noticed a dramatic slowdown of the loading of my watchlist the moment I installed this. Is there a way to have it disregard anything in the "Special:"-namespace? -- CoRrRan (CoRrRan / talk) 11:54, 19 February 2008 (UTC)

Hmmm... I'll look into it. Ale_Jrb (talk) 14:06, 25 February 2008 (UTC)