Wikipedia talk:Ultraviolet/2021/June

Encoding error
https://en.wikipedia.org/w/index.php?title=User_talk:Jack786yk&oldid=1025101352 ~ ToBeFree (talk) 18:49, 25 May 2021 (UTC)


 * issue filed in Gitlab -- Asartea   Talk  undefined  Contribs  19:02, 25 May 2021 (UTC)
 * Thanks :) ~ ToBeFree (talk) 19:30, 25 May 2021 (UTC)
 * I was so confused when that happened  TigerScientist  Chat > contribs 19:19, 25 May 2021 (UTC)
 * No worries. It's an issue with RedWarn, something encoding-related, I guess. ~ ToBeFree (talk) 19:33, 25 May 2021 (UTC)
 * Looking into this. Chlod ( RW • say hi!) 22:12, 25 May 2021 (UTC)
 * This is strange, I will try to reproduce this and see what will happen. Something similar has happened before, where "-" (the en dash) is rendered as if it was in Windows-1252. User3749 (talk) 17:07, 1 June 2021 (UTC)

User:RedWarn/.js error: Error: Invalid argument provided to upgrade MDL element.
Hi there! I'm writing to let you know, that there are a significant amount of errors being logged from this script coming from diff pages and edit URLs. Is this script meant to run on these URLs?

Example URLS include:


 * https://en.wikipedia.org/w/index.php?title=List_of_Activision_games:_2010%E2%80%932019&diff=prev&oldid=1024775004&diffmode=source
 * https://en.wikipedia.org/w/index.php?title=Waffen-SS_foreign_volunteers_and_conscripts&action=submit
 * https://en.wikipedia.org/w/index.php?title=Aespa&action=edit&section=8

Stack trace: at a https://redwarn.toolforge.org/cdn/js/mdl.js:8:2395 at register https://en.wikipedia.org/w/index.php?title=User:RedWarn/.js&action=raw&ctype=text/javascript:381:30 at loadIcons/< https://en.wikipedia.org/w/index.php?title=User:RedWarn/.js&action=raw&ctype=text/javascript:2843:24 Would be happy to help fix this if the code was unminified, but am not sure what the update process is for this script. Jon (WMF) (talk) 16:28, 1 June 2021 (UTC)


 * Posted to https://gitlab.com/redwarn/redwarn-web/-/issues/76 as well Jon (WMF) (talk) 16:30, 1 June 2021 (UTC)

Rollback
Would be possible to have rollback-like reverting enables for non-rollbackers, and rollback enabled for rollback - I see no reason why a user with rollback rights wouldn't enable their use. &#8213; Qwerfjkl  &#124; 𝕋𝔸𝕃𝕂 (please use&#32; on reply) 21:56, 6 June 2021 (UTC)
 * There already is a rollback option for rollbackers, you just need rollback permissions to enable the option. ―sportzpikachu  my talk contribs  01:20, 7 June 2021 (UTC)
 * @Sportzpikachu I know, but it seems pointless to have it as an option as opposed to RedWarn detecting your user rights (if that is possible). &#8213; Qwerfjkl  &#124; 𝕋𝔸𝕃𝕂 (please use&#32; on reply) 06:43, 7 June 2021 (UTC)
 * It does detect it, if you have not touched the setting and have rollback, it will prompt you to change it. It only shows for rollbackers though. ―sportzpikachu  my talk contribs  08:44, 7 June 2021 (UTC)

RedWarn On Mobile?
Can we use RedWarn in mobile devices? If so, how? I would like to know if there is a way to do that. Thank you.  Ken Tony  Shall we discuss? 16:20, 4 June 2021 (UTC)


 * , RedWarn is usable on mobile by viewing Wikipedia from the desktop site, however there is currently no support for the theme used on m.wikipedia, Minerva Neue. — Berrely  • Talk∕Contribs 16:22, 4 June 2021 (UTC)


 * Oh I see. Thank you for the information.  Ken Tony  Shall we discuss? 16:26, 4 June 2021 (UTC)
 * @Ken Tony @Berrely I use RedWarn on a mobile device, using the Vector skin alongside User:TheDJ/mobileVector.css; however, most of the buttons aren't clickable, though quick rollback still works. &#8213; Qwerfjkl  &#124; 𝕋𝔸𝕃𝕂 (please use&#32; on reply) 21:48, 6 June 2021 (UTC)


 * Thanks for the information.  Ken Tony  Shall we discuss? 07:11, 7 June 2021 (UTC)
 * @Ken Tony See also above. &#8213;  Qwerfjkl  &#124; 𝕋𝔸𝕃𝕂 (please use&#32; on reply) 17:38, 7 June 2021 (UTC)

Nomination for deletion of Template:Uw-accessdate2
Template:Uw-accessdate2 has been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. Schierbecker (talk) 07:17, 8 June 2021 (UTC)

Nomination for deletion of Template:Uw-paid4
Template:Uw-paid4 has been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. Schierbecker (talk) 08:34, 8 June 2021 (UTC)

Conflict
This script conflicts with User:SD0001/Making user scripts load faster, can this be resolved? &#8213; Qwerfjkl  &#124; 𝕋𝔸𝕃𝕂 (please use&#32; on reply) 19:35, 13 June 2021 (UTC)


 * , we don't provide support for scripts or mods with low usage. You might want to ask the maintainer of that script for support. Thanks, ✨ Ed  talk!  ✨ 19:41, 13 June 2021 (UTC)
 * it's an upstream issue from SD0001's snippet caused by all of our assets being appended into the head instead of loaded through MediaWiki helper functions. We're the ones that need to act on this one., I'll see what I can do with this and get back to you if I find a fix. Chlod ( RW • say hi!) 23:08, 13 June 2021 (UTC)
 * Hi, ! I've found the cause of the problem, fixed it with this commit, and applied that to the code repository. We now just need to apply the changes to User:RedWarn/.js. As a side note, great job on implementing a better way to load userscripts, . This is a genius idea.  Chlod ( RW • say hi!) 23:26, 13 June 2021 (UTC)
 * Thanks . Really large scripts like RedWarn are what I had in mind to use this with. Given its size, on my system RedWarn still takes ~65ms to load from the disk cache -- but certainly that's a lot better than the 500–1100 ms it takes via normal web requests. – SD0001  (talk) 17:00, 15 June 2021 (UTC)
 * @SD0001 Out of curiosity, how can you measure this? &#8213; Qwerfjkl  &#124; 𝕋𝔸𝕃𝕂 (please use&#32; on reply) 20:19, 15 June 2021 (UTC)
 * @Qwerfjkl: using the network tab of browser dev tools (ref: ) – SD0001  (talk) 08:55, 16 June 2021 (UTC)
 * This may be nitpicky but I'm not sure if you need to use mw.loader.getScript rather than mw.loader.load. The former uses jQuery.ajax and returns a promise to allow asynchronous actions whereas the latter just adds a  tag, which is closer to the status quo. Nardog (talk) 20:30, 15 June 2021 (UTC)

Feature request: I shouldn't be able to report myself to WMF Trust and Safety
Hey there! I don't think I should be able to report myself to Trust and Safety. I get why self-reporting to OS is a thing, but T and S... 🐶 EpicPupper (he/him 02:49, 25 June 2021 (UTC)
 * To do in RedWarn 17. Chlod ( RW • say hi!) 02:50, 25 June 2021 (UTC)

Warned the wrong user
Hello! I don't know why, but when I tried to leave a warning on User talk:Luke Chuck "Danger" Malloy after reverting an edit by that user, RedWarn left the warning on User talk:Luke Chuck. Tol &#124; talk &#124; contribs 23:09, 21 June 2021 (UTC)
 * I'm currently working on a solution for this. I'll update you when the problem has been fixed. Chlod ( RW • say hi!) 01:55, 24 June 2021 (UTC)
 * Thank you! Tol  &#124; talk &#124; contribs 02:24, 24 June 2021 (UTC)
 * @ and @ (from off-wiki query): The problems relating to quotes in both the user and related page fields have been resolved. Thank you for bringing this to our attention, and apologies for the delayed response. Chlod ( RW • say hi!) 14:57, 30 June 2021 (UTC)
 * @Chlod: No problem; thank you! Tol  &#124; talk &#124; contribs 17:39, 30 June 2021 (UTC)