PDA

View Full Version : Equipment lists currently not sortable?


Quextal
11-05-2018, 05:56 PM
Anyone else have the up/down sort arrows disappear today?

bigjeff100
11-05-2018, 06:10 PM
Yup!

loramin
11-05-2018, 06:23 PM
Could you point me towards a specific page? https://wiki.project1999.com/Special:ClassSlotEquip/Bard/Arms/AllItems (for instance) works fine for me.

bigjeff100
11-05-2018, 06:28 PM
Mmmm like here.. I don't see any sorting arrows..

https://wiki.project1999.com/Sleeper%27s_Tomb

bigjeff100
11-05-2018, 06:28 PM
I don't see any way of sorting on your link either Loramin.

loramin
11-05-2018, 06:33 PM
EDIT: Please check again; it should be fixed now.

Also my apologies: this was a side effect of my recent checkbox improvement. I tested in Chrome, but didn't think to check Firefox (99.9% of the time if something works in Chrome it works in Firefox) ... but clearly I should have :(

bigjeff100
11-05-2018, 06:39 PM
Boom, fixed! Nicely played Lor.

Quextal
11-05-2018, 08:34 PM
Thanks Loramin!

Velius2
11-05-2018, 09:14 PM
any way to make it so wehn you page back you dont lose your sort order Loramin?

loramin
11-05-2018, 09:59 PM
any way to make it so wehn you page back you dont lose your sort order Loramin?

Possibly ...

The problem is that the sorting code is a separate library (jQuery UI from the look of it). All of the code is sort of "wrapped up" in a way that makes it hard for me to work with it, but I'll take a look.

Wonkie
11-05-2018, 10:17 PM
learn to code they said

d3r14k
11-06-2018, 02:27 PM
"See the Wiki" they said

Darguth
11-06-2018, 03:07 PM
I noticed too on the 1h Slashing page for Ranger equipment that Earthcaller doesn't show up with any stats. I tried to fix the underlying wiki pages, but couldn't find the bug causing that.

loramin
11-06-2018, 04:50 PM
"See the Wiki" they said

Only the sorting functionality was down, and only for like half an hour, if that. Don't malign the wiki! ;)

I noticed too on the 1h Slashing page for Ranger equipment that Earthcaller doesn't show up with any stats. I tried to fix the underlying wiki pages, but couldn't find the bug causing that.

Unfortunately that is a question for Ravhin: he wrote that code, and while he no longer plays here anymore there is a chance that he might be able to help.

If not, the other option is for anyone who knows PHP to debug it. This page (http://wiki.project1999.com/utils/wikiUtils.php) has a link to "Custom Extensions Source", which is the source code for all of Ravhin's wiki additions (including the class equipment lists; that code is in the "ClassSlotEquip" folder).

It's possible the problem is with the code for Earthcaller's page itself (eg. someone used a weird special character that Ravhin's code doesn't like). If so, all you'll have to do is fix that problem. If the problem is with Ravhin's code itself, then someone will need to write a fix, PM it to Ravhin, and beg him to apply it to the wiki.

But personally I have enough on my plate that I don't want to spend hours debugging one of my least favorite programming languages (PHP), so I'll leave the above to someone else more motivated.