PvXwiki:Curse noticeboard

The Curse Noticeboard
This is a place where issues that only a Curse Staff member can sort out. These issues will usually pertain to coding problems, relating to our PvXCode, or even the wiki's numerous extensions and special pages.

Please remember that PvXWiki has it's own Admin Noticeboard, and if an issue can be solved by an admin, post the issue there and not here.

To post an issues, please add it to the bottom of the section which the issue belongs, give the issue a suitable heading (Using a level 3 heading (3 ='s either side of the heading) E.G. ===Special:RecentRatings=== if there's a problem with the Recent Ratings page). Underneath the heading, give a brief discription of what's wrong, and sign and date your issue with 4 ~'s.

Note that this is not a talk page and that the respective moderators of each section reserve the right to remove non-administrative comments without discussion.

User Rights issues
This section is for issues related to user rights. Archived issues for this section can be found here.

General issues
These issues are generally related to the Mediawiki software, and any extensions that are installed (please note that PvX Extensions for guild wars tooltips etc. have their own section below).

User list
The roles it allows you to filter on do not include sysops, bureaucrats or bots (non-global). It is actually impossible to filter based on any usergroups used on PvXwiki. You can't even do it through arguments in the url apparently (or that functionality is set up differently than the pre-migration user list). Toraen (talk) 16:41, 16 January 2021 (UTC)
 * It's a known platform-wide issue, but you can use the Special:ListAdmins shortcut to see sysops. This redirects to Special:ListUsers/sysop, which appears to be working for me. Hopefully the standard groups will get added to the checkboxes before too much longer. SBEyes (talk) 21:06, 18 January 2021 (UTC)

News
This page is inaccessible. On Edge and Firefox, it just gets stuck loading forever (probably DPL related). Toraen (talk) 05:35, 14 February 2021 (UTC)

PvX Extension issues
Coding issues related to PvXCode and PvXRate. For any skills with incorrect descriptions or images, add a new heading and give an example within pvxbig tags using [skill name]. Add a description of the problem under the PvXbig tags. Any issues that have fixes drafted and awaiting sync will be noted.

Occasionally tooltips don't display on page load
Kinda hard to debug this one, but sometimes the skill tooltips with "hovertooltip" class don't show the tooltips when hovering. Examination of the browser console suggests that the pvxcode.js code is loading, so I assume this is a timing issue, probably where the javascript finishes loading before the page content (i.e. it applies the tooltip code to the page, finds no elements to add the script to, then the page adds the tooltip nodes, which is too late). Probably replace the with last line on overlib.js with the following document.addEventListener("DOMContentLoaded", function(event) {  overlib2; }); - Chieftain Alex (talk) 10:57, 12 April 2020 (UTC)


 * Probably worth noting this seems to occur on firefox way more often than any of the other browsers. - Chieftain Alex (talk) 16:47, 20 June 2020 (UTC)

Rating tab
The rating tab added by Extension:PvXRate 2.0.0.0 (which I've hidden sidewide using CSS, has id #ca-rate) links to the first portion of a build pagename, and for some reason drops anything after slashes (e.g. for "Build:E/Any Stoning" it would link to "?title=Build:E&action=rate". Source seems to be line 112 of PvXRate.hooks.php. Not sure which function I need to replace it with from mw:Manual:Title.php. For the time being I've left the original tab added by the javascript Mediawiki:Hydra.js page (id #special-rate), so there's no functionality change compared with previous. - Chieftain Alex (talk) 20:12, 21 April 2020 (UTC)

Removed Ratings Display
Four votes have been removed here according to Recent Ratings, but I could only see my removed rating until I permanently deleted mine. -Toraen (talk) 13:50, 1 May 2020 (UTC)
 * As in, only the removed rating showed + there was a box to resubmit it, but none of the other votes appeared on the page for you at all? - Chieftain Alex (talk) 21:28, 1 May 2020 (UTC)
 * I think that I found the cause. I suspect line 362 of RateAction.php should be using  - currently it's just using   which will overwrite the additions from the previous loop... this probably means the number of rolledback+displayed votes depends entirely on the order we rollback the votes. - Chieftain Alex  (talk) 22:24, 1 May 2020 (UTC)

Voting pages as anon with removed votes
Viewing voting pages when anon doesn't separate removed votes from the valid votes. example link screenshot - Chieftain Alex (talk) 17:52, 20 June 2020 (UTC)

Vote comments with headings
If a voting comment uses wikicode such as "=== heading ===" more than 3x, then a table of contents is created. Additionally a section edit button is "almost" generated, it renders as section title. - Chieftain Alex (talk) 17:56, 20 June 2020 (UTC)
 * Would adding the noeditsection and notoc magic words to the special page fix that? I feel like it should if it's interpreting wikicode already. -Toraen (talk) 20:15, 2 July 2020 (UTC)

Strength and attacks with armor penetration
PvXbig will add a Strength tooltip to these skills even though its effect does not stack with those skills' inherent penetration. Could probably write an exception in for those skills easily enough. -Toraen (talk) 13:57, 23 May 2020 (UTC)
 * - 20%
 * - 20%
 * - 10%
 * - 10%
 * - 25%


 * https://gitlab.com/Chieftain_Alex/sandbox/-/blob/master/gwbbcode.inc.php
 * Added add_strength function to line 1162 and line 1231 to handle the above cases. -- Chieftain Alex (talk) 16:36, 20 June 2020 (UTC)
 * I've copied it to mine, though I will note that technically the bow attacks' penetration can be replaced by Strength's if the latter is higher (I don't think anyone's going to submit a Hambow build anytime soon though so I don't actually care). -Toraen (talk) 10:37, 21 June 2020 (UTC)
 * Changes live. Maybe someday will fix the ranger skills. -Toraen (talk) 13:54, 25 June 2020 (UTC)
 * I think I've got it. Requesting check for dumb errors. -Toraen (talk) 23:55, 30 June 2020 (UTC)
 * Looks good (took me a minute to realise the negation on the preg_match had gone). I did wonder if we need to convert the match into a number, but it seems we did similar stuff all over the gwbbcode.inc.php file anyway. - Chieftain Alex (talk) 15:39, 1 July 2020 (UTC)
 * Pushed into the merge request. -Toraen (talk) 19:14, 1 July 2020 (UTC)

[build prof=warrior/any strength=12+1+3][Penetrating Blow][Penetrating Chop][Penetrating Attack][Sundering Attack][Spear of Lightning][Body Blow][Wearying Strike][/build]

So looks like I messed this one up. -Toraen (talk) 17:01, 13 September 2020 (UTC)
 * Oof. Surprised it broke tbh, looked ok but i guess double arrow notation immediately assigns the strength value, then overwrites with the % sign.
 * Probably would work:  or
 * - Chieftain Alex (talk) 20:42, 14 September 2020 (UTC)