Jump to content

User talk:DannyS712/SRG.js

Add topic
From Meta, a Wikimedia project coordination wiki
Latest comment: 3 years ago by DannyS712 in topic Mark as not done

Mark as not done

[edit]

Hello @DannyS712:. Can you please add [Mark as not done] to this code? Thanks in advance --Alaa :)..! 09:44, 1 July 2021 (UTC)Reply

@علاء okay, I gave it a shot, let me know if it works for you - adds a second button to "Mark as not done" after the first. DannyS712 (talk) 10:30, 1 July 2021 (UTC)Reply
Thanks DannyS712. It seem works well. FYI AmandaNP, per "I should decline them (the script we have is not working)". Thanks again DannyS712 --Alaa :)..! 10:33, 1 July 2021 (UTC)Reply
@علاء glad to hear. Would it be helpful to add an option to include a comment too? That would be tricker to do, so no promises, but I realize it might be more helpful now that there is marking as not done, which is more likely to need an explanation (maybe the comment would only be for marking as not done...) --DannyS712 (talk) 10:44, 1 July 2021 (UTC)Reply
Yes ofc, this option was available at User:ASammour/test.js. Thanks in advance --Alaa :)..! 10:46, 1 July 2021 (UTC)Reply
If you could, both a general comment link and adding comment to not done, even if it's just a JS prompt like enter text would be better than nothing. It would be appreciated. -- Amanda (aka DQ) 01:08, 2 July 2021 (UTC)Reply
@AmandaNP @علاء there is now an option to add a comment (without changing the status). At some point I'll probably invest some time in a nicer interface similar to the discussion closer script on enwiki, with general options to mark as done/not done as well as leaving a comment, but for now its
  • mark as done
  • mark as not done
  • add a comment without changing status
Please let me know if this works (I don't use the script myself, so I don't have it installed to test... probably should though) DannyS712 (talk) 01:57, 2 July 2021 (UTC)Reply
@DannyS712: addComment is not a function defined in the script. -- Amanda (aka DQ) 21:00, 4 July 2021 (UTC)Reply
@AmandaNP fixed DannyS712 (talk) 23:22, 4 July 2021 (UTC)Reply