PvXwiki
Register
m (→‎Sacrifice should display as percentage: 'value' => "$sacrifice%" also works, as does 'value' => $sacrifice . '%')
(47 intermediate revisions by 9 users not shown)
Line 18: Line 18:
 
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).
 
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).
   
  +
===[[Special:ListUsers|User list]]===
=== Deletion log internal error ===
 
  +
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). [[User:Toraen|Toraen]] ([[User talk:Toraen|talk]]) 16:41, 16 January 2021 (UTC)
Brought to my attention by [[User:Cyber Smoke]], if you go far back enough in the deletion log there's some entry in there which throws an internal database error. https://gwpvx.gamepedia.com/index.php?title=Special:Log/delete&offset=20190620155735&limit=1&type=delete&user= (press "older 1" after this one). Maybe Smoke can clarify if there's some other time when this bug appears or not. -[[User:Chieftainalex|<span style="font-family:Constantia;color:#D2691E">'''Chieftain '''Alex</span>]] ([[User talk:Chieftainalex|talk]]) 20:54, 14 April 2020 (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. [[User:SBEyes|SBEyes]] ([[User talk:SBEyes|talk]]) 21:06, 18 January 2021 (UTC)
:It's actually on [https://gitlab.com/hydrawiki/hydra/issues/4992 Curse's bug report list], it's caused by a page that somehow had a whitespace at the start of its name. Page itself was deleted so we could use search again, but now the deletion (and move I think) logs will throw the error. [[User:Toraen|-Toraen]] ([[User talk:Toraen|talk]]) 23:40, 14 April 2020 (UTC)
 
  +
  +
===[[News]]===
  +
This page is inaccessible. On Edge and Firefox, it just gets stuck loading forever (probably DPL related). [[User:Toraen|Toraen]] ([[User talk:Toraen|talk]]) 05:35, 14 February 2021 (UTC)
  +
  +
===Can't view user page?===
  +
Since the update to PvX layout, when I go to [[User:Xanshiz]], it redirects to [[UserProfile:Xanshiz]]. And there, clicking the "about" tab does nothing. So in essence I can't see my user page. --[[User:Xanshiz|Xanshiz]] ([[User talk:Xanshiz|talk]]) 05:00, 2 August 2021 (UTC)
  +
:Go to your preferences (accessed through that bottom left symbol), then user profile/public profile/user page type and pick use the standard user wiki page. --[[User:Krschkr|Krschkr]] ([[User talk:Krschkr|talk]]) 08:54, 2 August 2021 (UTC)
   
 
== PvX Extension issues ==
 
== PvX Extension issues ==
Line 54: Line 61:
 
=== Vote comments with headings ===
 
=== 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 <mw:sectionedit>section title</mw:sectionedit>. -[[User:Chieftainalex|<span style="font-family:Constantia;color:#D2691E">'''Chieftain '''Alex</span>]] ([[User talk:Chieftainalex|talk]]) 17:56, 20 June 2020 (UTC)
 
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 <mw:sectionedit>section title</mw:sectionedit>. -[[User:Chieftainalex|<span style="font-family:Constantia;color:#D2691E">'''Chieftain '''Alex</span>]] ([[User talk:Chieftainalex|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. [[User:Toraen|-Toraen]] ([[User talk:Toraen|talk]]) 20:15, 2 July 2020 (UTC)
 
=== Sacrifice should display as percentage ===
 
It's as simple as changing line 647 of gwbbcode.inc.php from:
 
<pre>'value' => $sacrifice</pre>
 
to:
 
<pre>'value' => $sacrifice . "%"</pre>
 
right? [[User:Toraen|-Toraen]] ([[User talk:Toraen|talk]]) 17:38, 2 July 2020 (UTC)
 
 
: Yes, I can confirm this works to add percentage signs. If you're not bothered by the "%" sign being slightly clipped by the background div image, everything is fine.
 
: If you want to avoid the clipping there are two solutions: (1) Adjust the div size, make skillbg.jpg bigger, change the box sizes and padding, and then upload a new thumbnail image for every single file because it's no longer 40px wide.
 
: OR, (2) set <code>.pvx_attributes {}</code> (line 146 in css/pvxcode.css) from 7px to 1px padding-left. Suggest we do this second option as its easier. -[[User:Chieftainalex|<span style="font-family:Constantia;color:#D2691E">'''Chieftain '''Alex</span>]] ([[User talk:Chieftainalex|talk]]) 19:50, 2 July 2020 (UTC)
 
 
<!-- new items here -->
 
 
 
<!-- uncomment this when a merge request is in -->
 
'''Solutions to all of the below issues in the green box are captured within [https://gitlab.com/hydrawiki/extensions/pvxcode/-/merge_requests/12 this merge request].'''
 
<div style="padding:1em; border:2px dashed #aaa; background-color: #cdf0d1;">
 
   
 
=== Strength and attacks with armor penetration ===
 
=== Strength and attacks with armor penetration ===
Line 89: Line 79:
 
::::::Pushed into the merge request. [[User:Toraen|-Toraen]] ([[User talk:Toraen|talk]]) 19:14, 1 July 2020 (UTC)
 
::::::Pushed into the merge request. [[User:Toraen|-Toraen]] ([[User talk:Toraen|talk]]) 19:14, 1 July 2020 (UTC)
   
  +
<pvxbig>
=== Oath Shot ===
 
  +
[build prof=warrior/any strength=12+1+3][Penetrating Blow][Penetrating Chop][Penetrating Attack][Sundering Attack][Spear of Lightning][Body Blow][Wearying Strike][/build]
Disable duration is supposed to scale 10..5..4s. PvXCode displays an unlinked 10s. [[User:Toraen|-Toraen]] ([[User talk:Toraen|talk]]) 23:01, 30 June 2020 (UTC)
 
  +
</pvxbig>
  +
 
So looks like I messed this one up. [[User:Toraen|-Toraen]] ([[User talk: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: <code>'value' => ($sacrifice . '%')</code> or <code>'value' => "$sacrifice%")</code>
 
:-[[User:Chieftainalex|<span style="font-family:Constantia;color:#D2691E">'''Chieftain '''Alex</span>]] ([[User talk:Chieftainalex|talk]]) 20:42, 14 September 2020 (UTC)
  +
 
<!-- new items here -->
  +
  +
 
<!-- uncomment this when a merge request is in
 
'''Solutions to all of the below issues in the green box are captured within [ this merge request].'''
 
<div style="padding:1em; border:2px dashed #aaa; background-color: #cdf0d1;">
  +
  +
 
</div>
 
</div>
<!-- -->
+
-->

Revision as of 08:54, 2 August 2021

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

Archive

Archives


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)

Can't view user page?

Since the update to PvX layout, when I go to User:Xanshiz, it redirects to UserProfile:Xanshiz. And there, clicking the "about" tab does nothing. So in essence I can't see my user page. --Xanshiz (talk) 05:00, 2 August 2021 (UTC)

Go to your preferences (accessed through that bottom left symbol), then user profile/public profile/user page type and pick use the standard user wiki page. --Krschkr (talk) 08:54, 2 August 2021 (UTC)

PvX Extension issues

Archive

Archives


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 <mw:sectionedit>section title</mw:sectionedit>. -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)

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)


12 + 1 + 3
Your attack skills gain 16% armor penetration.
 save
Template code

Skill Wearying Strike is not from one of the build professions


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: 'value' => ($sacrifice . '%') or 'value' => "$sacrifice%")
-Chieftain Alex (talk) 20:42, 14 September 2020 (UTC)