Guild Wars 2 Wiki talk:Requests for technical administration

From Guild Wars 2 Wiki
Jump to: navigation, search

Adding the Popups Extension[edit]


So some of you may know of it, but a while back wikipedia added support for a popup module ( which creates a small overlayed box with the first few sentences of that page.

Now I bring this up, because in my opinions one of the most frequent issues I see on this wiki is people coming here, landing on a page, and feeling like they have to click on multiple pages to get whatever information they want for something minor like "Is this a sword or a dagger", "which event is the one I am looking for", etc. Now since we simply can't put all the information for everything everywhere, I think a good solution (or at least partial solution) would be to implement the module I described above.

Currently, one can reproduce the behavior on this wiki by adding a line in their common.js file (as done for example here)

Now at the moment, implementing it this way works pretty well for area pages, generic info pages, events, and some item pages. The extension also works wonderfully for the `hist` and `diff` on the Recent Changes page.

At the moment, it does "fail" (i.e give pointless info) for item pages with no sentences at the start of the page (like most ingredient items). It also really messes up when hovering over a custom user page (say a custom.js page).

I did take a few screenshots which are in this album if you want to see here

From a first glance, it would seem ideal to either take this extension and modify it to show all (most?) pages properly with a few extra conditions, or to build an extra module upon this extension (perhaps a more stable option?)

Now Chieftain Alex tells me that this extension depends also on a 2nd extension which we do not have ( Due to this there may be a need to maintain these extensions if mw updates break things, and misc tweaks may need to happen.

So at this point I've been going on long enough, I'm not 100% sure what the next step is, so I'll end my rambling and leave it at that.

p.s Inc here's another link to the Prezi you forced me to make. -Darqam 08:33, 29 October 2018 (UTC)

I think we should roll this out as an opt-in beta. It'll give us a chance to debug it for our wiki and check for any unforeseen issues. It'll also allow us to break the feature as we try to adapt or expand it, without bothering our larger user base. G R E E N E R 17:26, 6 November 2018 (UTC)
would you have to click or hover for these pop-ups? I feel like it might make certain pages annoying if everywhere you hovered you got a tool-tip pop-up. That said, as long as we can limit the amount of text displayed and what links actually display the tool-tip pop up, I'm game to try a beta of it.--Rain Spell (talk) 01:21, 7 November 2018 (UTC)
If it's similar to what Wikipedia uses, the hover box would only appear over links, which to be honest, I quite love. - Doodleplex 02:27, 7 November 2018 (UTC)
The pop-ups are on hover, however you do need to be hovering over a link for ~1 second, it doesn't appear instantly so you aren't spammed with them as you move your cursor. They also seem to take between 1-2 seconds (I think it's 1s and my pc is just slow today) for it to go away after you move your cursor off the link or outside the pop-up. You can also click elsewhere on the page for it to vanish right away.
So far I've been running this for a while, and there have been a few cases where it blocked me a little due to not realizing I put my cursor at rest on a link, but in my opinion the benefits of it outweigh the few minor annoyances.
I wouldn't be opposed to increasing the the timeout a tiny bit before the boxes popup, but anything more than 2 seconds would just feel too long. 1.25s or 1.5s still feels acceptable for me. -Darqam 08:49, 7 November 2018 (UTC)

Sorting pages with numbers[edit]

$wgCategoryCollation controls the algorithm used for sorting categories and $smwgEntityCollation controls sorting queries. I'm guessing both are still using the default setting uppercase. I propose to change them to numeric. The reason for this change is that articles with numbers in their names aren't being sorted appropriately right now. For example, Category: Infusions sorts 10-19 before 2. The nav in Hunter's Journal also sorts like this. Changing the settings would make them sort correctly. --BuffsEverywhere (talk) 10:07, 25 February 2019 (UTC)