User talk:Bellezzasolo/Scripts/arb

Issue with GS logging
Hi, been having an issue with ARB not logging General Sanctions warnings. I select GS and the topic area, hit submit, click through the warning, re-select and re-submit. The message "Adding Discretionary Sanctions Notice: Retrieving page..." comes up but doesn't go any further. The user gets the warning on their talk page, but the sanction isn't logged. Here's an error dump from my browser's console log (Firefox 73.0.1, in case that's relevant):

I think the "talkpage.append is undefined" warning isn't relevant to this particular issue - I tested by giving myself DS notifications and those errors appeared there too (but the DS finished successfully, so presumably the issue here is with the logging function). Guessing the root issue is "params is null" at the end. I doubt I'll be of much help actually fixing the bug (JS isn't really one of my languages), but if I can do any testing to help you track this down further, please let me know. creffett (talk) 01:40, 29 February 2020 (UTC)

WP:DS versus WP:AC/DS
Hi, and thanks for developing this useful script. I noticed that the edit summaries produced by this script link to WP:DS (which redirects to WikiProject Deletion sorting) instead of WP:AC/DS (which redirects to Arbitration Committee/Discretionary sanctions). There are two lines in the script that refer to WP:DS:

Could you please change the above lines to use WP:AC/DS instead? —  Newslinger  talk   17:52, 14 March 2020 (UTC)

GS likely broken
Wanted to let you know that I think GS support will be broken due to changes to that template, meaning the current method of parsing won't work. To fix, it would need to be able to parse the syntax at Module:Sanctions/data. ProcrastinatingReader (talk) 17:12, 27 September 2020 (UTC)

Two potential issues
I haven't looked too closely into this but I've found two potential areas of improvement: Let me know what I can do to help on these. Best, Kevin ( alt of L235 · t · c) 07:38, 22 November 2020 (UTC)
 * Ds/aware isn't yet supported, and the current system relies on lua code that's called from the edit filter warning. Is there any way that we can either check for ds/aware or we can show the actual message of the edit filter warning (which would show the existence of ds/aware with a It is not necessary to notify this user of sanctions for the following topic area(s): message)?
 * It seems that when alerts are given for multiple topic areas in one edit, the parser doesn't work. Take, as a random example, ; this user was notified for IPA and for BLPs but when you try to leave an alert for either one, ARB says This user has not been notified of these sanctions.

Problem with checking talk pages for past alerts
Anyone else having problems checking talk pages when you give someone an alert? The check alert box says "A system filter has identified that you are trying to alert Badtitle/ApiErrorFormatter::getDummyTitle (contribs · logs · block log) to the existence of discretionary sanctions." and when you click on check talk page you go to User talk:Badtitle/ApiErrorFormatter::getDummyTitle: Revision history. -- Doug Weller talk 17:54, 23 December 2020 (UTC)

Bugs when leaving GS COVID notice on user talk pages
On the first attempt to leave the notice, it displays the edit filter warning, but with no button to continue anyway. On the second attempt to leave the notice (after refreshing the page), it posts the notice, but it does not inform the user of this. Instead it appears to hang and get stuck. A second refresh lets the user see that the notice was indeed placed. If you have time, consider taking a look. Thank you. – Novem Linguae (talk) 10:58, 8 May 2021 (UTC)

Leaving gs table instead of alert.
See. Doug Weller talk 19:15, 4 January 2022 (UTC)


 * I am also experiencing this problem when I try to leave a General Sanction alert for COVID-19. –– FormalDude  talk  03:41, 10 January 2022 (UTC)
 * sadly Bellezzasolo hasn't edited for 2 months. Took this to Village pump (technical) Doug Weller talk 08:45, 10 January 2022 (UTC)
 * – Novem Linguae (talk) 11:07, 10 January 2022 (UTC)

Update for new templates?
I believe the script is no longer working because of the new contentious topics templates. ––FormalDude (talk)  01:08, 1 February 2023 (UTC)