User talk:Awesome Aasim/xfdvote/Archive 1

XFD Voting tool
Love it. If you're accepting feature requests, here are a few: I appreciate you placing it on the article and not on the AfD nomination. Sorry to bombard you with requests, I'm sure you're busy, but I really like this script and plan to mention it to others at AfD. Thanks for creating something I think will get a lot of use.  // Timothy ::  talk  21:39, 18 August 2020 (UTC)
 * Having a larger or expandable text box to see your full comment
 * A preview option would be a great addition.
 * Adding "Weak" and "Strong" options alongside the "Speedy" option
 * , Thanks for the feedback! Aasim 21:40, 18 August 2020 (UTC)
 * , I got live previews working. Thanks for your feedback again!  About the "weak"/"strong", I will need to do a little bit more work.  Hopefully the live preview is as good as the expandable text box.  I think maybe it would be good to work on an XFD tools project with the goal of gathering all the tools for XfDs into one gadget (maybe). Aasim 23:04, 18 August 2020 (UTC)
 * I like the idea of an all in one tool that would facilitate nomination, !voting and closing. The preview works :), but JQuery is a little laggy at times; you might consider making it similar to twinkles XfD tool just for consistency. The preview is great for viewing the comment, but the expandable text box would facilitate editing your comment better. But ultimately its the feedback you get that should guide this. I was wondering if Wikipedia supports vue.js? maybe some consideration of it? My total novice JS experience leads me to think this might be better than JQuery. Again, thanks for what is a great tool. I hope this feedback helps in a tiny way make it even better.  // Timothy ::  talk  04:14, 19 August 2020 (UTC)
 * , Thanks again for the feedback. I know there are many ways to approach the same problem.   uses Material Design for his RedWarn tool, some other users use MediaWiki's OOUI.  I am using JQuery UI for this as that is what I find easiest. That does not mean I could not switch to something else, but it is what I find a little more intuitive. Aasim 04:32, 19 August 2020 (UTC)
 * , I think I fixed the live preview glitching for the most part? Wanna try again? Aasim 05:06, 19 August 2020 (UTC)
 * Gladly. I'm off to find a suitable sacrificial article now :)  // Timothy ::  talk  05:10, 19 August 2020 (UTC)
 * , same xD Aasim 05:23, 19 August 2020 (UTC)
 * This time I did a redirect. It was for 2020 Sparta earthquake. I like the two step, enter a target, then enter a reason. On the second step, where you enter the reason, the box is prefilled with the redirect target. When I clicked it disappeared and it took me a couple of moments to realize it wasn't removing the target, the filler just disappeared. Might be better to have the target as text above the box and have the reason box blank.
 * This one took some time and editing to get my thoughts into the right words and it was a meaningfully long comment. The lack of an expandable text box was felt more keenly here. I think this might unintentionally discourage longer more thought out explanations and well edited comments.
 * As I started my comment the preview was even more laggy than before. This improved to the point it was at before by the time I finished the comment. This time I also noticed the text updating was distracting me as I was typing, which I hadn't noticed before.
 * I love that you mention "AFD votes are weighted based on the strength of arguments, not based on number of votes." and I saw it in other places as well. Baseless votes bug the heck out of me.
 * I thought I would take the liberty to ping a few people I see at AfD often. They might be interested in this tool and providing feedback on its development. They leave meaningful well crafted comments on nominations and might be willing to provide valuable feedback. . I have no idea what they will think, but I know they do think, so whatever feedback you get will be meaningful. (I hope none of you minds the ping).  // Timothy ::  talk  06:03, 19 August 2020 (UTC)
 * , text box made a little bigger. You should also be able to resize it.  My concern was that pressing ENTER would create a line break and, well, create an inappropriate line break for the vote. :)
 * Also, figured out why the live previews glitching and fixed it (finally!)
 * Tell me how you like it now.
 * On a side note, about your "novice to JavaScript", have you thought of learning JavaScript? There are many resources, including Khan Academy, Codecademy, Stack Overflow, and W3Schools.  That and learning the MediaWiki API can do wonders like help you develop scripts and gadgets. Aasim 06:28, 19 August 2020 (UTC)
 * Tell me how you like it now.
 * On a side note, about your "novice to JavaScript", have you thought of learning JavaScript? There are many resources, including Khan Academy, Codecademy, Stack Overflow, and W3Schools.  That and learning the MediaWiki API can do wonders like help you develop scripts and gadgets. Aasim 06:28, 19 August 2020 (UTC)
 * On a side note, about your "novice to JavaScript", have you thought of learning JavaScript? There are many resources, including Khan Academy, Codecademy, Stack Overflow, and W3Schools.  That and learning the MediaWiki API can do wonders like help you develop scripts and gadgets. Aasim 06:28, 19 August 2020 (UTC)

I started off life with COBOL and FORTRAN on cp/m machines, did some 6502/6510 assembly language work and eventually moved into C and then C++, but as you can tell it's been a long time and I'm retired and rusty now and my knowledge is more theoretical (dangerous lol) than practical at this point. I do enjoy the nostalgia though :) Compiling C to JS or loading it in through something like Node would be interesting. Blessings to you for encouraging others to learn, I wish more people did that. I'm off to bed, but I will have more feedback in the morning.  // Timothy ::  talk  07:14, 19 August 2020 (UTC)
 * Thank you for the praise. Yes we can go on forever but it is midnight where I am at as well.  See you in the morning then :D Aasim 07:18, 19 August 2020 (UTC)
 * Thanks for the ping and kind words about my AfD comments. It's nice to know that people appreciate it when thought is put into them. I'll test your tool when I get some time and let you know what I think. As a side note, if your interested in tweaking around with JS and Node there's an open source project I'm pretty heavily involved with called the Name-Suggestion-Index (nsi.guide) that uses both and integrates with Wikipedia/Wikidata/OpenStreetMap. We are always looking for new contributors. --Adamant1 (talk) 08:20, 19 August 2020 (UTC)


 * Thank you for the kind words, Timothy. That being said, what does this tool offer that the Twinkle tool doesn't, and how do I go about previewing it?   Ravenswing      10:53, 19 August 2020 (UTC)
 * , this tool makes it easier to vote in XfD discussions. It does not nominate pages for deletion.  Currently the tool supports AfD and MfD.  My hope is to get support for FfD, CfD, TfD, and RfD soon.  Like I said as well many times in my tool and on the tool's documentation page, votes are weighted based on the strength of arguments, not based on the number of votes.  So if a user gives a compelling reason not to delete the article, that may have precedent over a bunch of "per nom" deletion votes.  Aasim 17:45, 19 August 2020 (UTC)
 * , it now supports RfD as well. Aasim 00:29, 20 August 2020 (UTC)


 * Love the expanding text box. Love it. Made working on comments much easier and faster.
 * Today I did a Delete, a Keep , and a redirect.
 * The preview is working much much better. I didn't notice any lag and it was smooth, so the distraction problem from yesterday was gone. The preview is growing on me, its different from what I'm used to, so it takes some adjusting, but that is coming quickly and I don't see it as a problem.
 * One thing I did note that others might not see: I use a VPN and turn it off when editing, sometimes I forget and get an error when doing something with Twinkle or Closer. I tried to see what would happen with this script and it did nothing, no error message, no crash, just didn't move on. It was still active so when I turned the VPN off and clicked to finish, I completed as expected. On the plus side, I didn't have to go back and redo, but others might not realize what was happening.
 * Keep up the great work.  // Timothy ::  talk  00:53, 20 August 2020 (UTC)
 * PS > I will try out MfD and RfD soon.  // Timothy ::  talk
 * Comment Hi I saw the message at the top of the AfD nominations and thought I would suggest it be changed to something like this: User:TimothyBlue/sandbox/XfDVotingToolMessage. Sorry I haven't had a chance to test the RfD or MfD functions yet, but I love the tool. Still hoping for Strong and Weak options :) Best wishes.   // Timothy ::  talk  07:11, 25 August 2020 (UTC)
 * , those are currently disabled right now. I am still working out a few bugs and hopefully it will be available soon :) Aasim 07:14, 25 August 2020 (UTC)
 * Everything is back up.  I am going to go ahead and move this thread to the XFD vote talk page as this discussion is getting a bit long and cluttered.  I hope you understand.  :) Aasim 18:14, 25 August 2020 (UTC)
 * I mean, CfD, TfD, and FfD are disabled right now. Aasim 07:16, 25 August 2020 (UTC)
 * Ok, I accepted your suggestion. How do you like it now?  Aasim 07:18, 25 August 2020 (UTC)

Reason: undefined
Any idea since a few days ago I can't use the tool at all with the error message ? The reason is also. This is happening on all AfD discussions for me. — Preceding unsigned comment added by Berrely (talk • contribs) 18:18, 3 September 2020 (UTC)


 * @Berrely can you tell me which pages this is happening on so I can troubleshoot? Aasim 20:55, 4 September 2020 (UTC)
 * @Berrely is it possibly an Internet issue? It would be really helpful if you gave more details.  You can post your browser information by going to https://whatsmybrowser.com/ and copying the resulting link in the box.  You should also tell me what pages in particular you see the thing happening on. Aasim 03:54, 5 September 2020 (UTC)
 * , I doubt it was, it was working fine before. I have quite fast internet as well. Something weird happened, now pages have the reasons with the buttons, but they disappear 5 seconds later. Here is the browser link I was given: https://www.whatsmybrowser.org/b/KK419 — Yours, Berrely  • Talk∕Contribs 08:42, 5 September 2020 (UTC)
 * @Berrely can you show me the particular page this is happening on as well? I would like to see if I can replicate the issue. Aasim 08:46, 5 September 2020 (UTC)
 * , David Yang (entrepreneur), I can record a video as well if you want. — Yours, Berrely  • Talk∕Contribs 08:52, 5 September 2020 (UTC)
 * https://streamable.com/31ft0z — Yours, Berrely  • Talk∕Contribs 08:54, 5 September 2020 (UTC)
 * Nevermind discovered the issue, User:EpochFail/wikignome was interfering with it. — Yours, Berrely  • Talk∕Contribs 08:58, 5 September 2020 (UTC)
 * Yep, some user scripts can and will interfere with the functionality of other scripts. At least we know that some decade old script was causing the problem. :) Aasim 09:01, 5 September 2020 (UTC)

Edit summary
For CFD and RFD, which have all nominations for a given day on a single log page instead of each nomination being a separate page as at AFD, it would be helpful for watchers of the log page if the edit summary generated by these scripts (e.g. line 79 of User:Awesome Aasim/xfdvote.js/rfd.js) included and wikilinked the section name where the vote is being inserted - I believe it's already in the target variable? E.g. something like

undefined

Thanks, 59.149.124.29 (talk) 05:55, 21 August 2020 (UTC)
 * pinging in case you didn't notice. 1234qwer1234qwer4 (talk) 14:45, 23 August 2020 (UTC)
 * Thanks for the feedback! I will definitely consider it for RfD (and hopefully CFD, FFD, and TFD). Aasim 23:10, 23 August 2020 (UTC)
 * And I think I implemented it. Aasim 23:12, 23 August 2020 (UTC)

Nice script. Regarding edit summary: it would be great if you can make it say "Voting keep (using xfdvote)" or "Voting delete (using xfdvote)" etc as the case may be. Also, in the UI, it'd help to have greater control over the bolded part of the comment: provide a text box containing the bolded part which the user can change -- such as to make it "weak keep" and the like. Best, SD0001 (talk) 07:41, 28 August 2020 (UTC)
 * +1 A summary of "keep", "delete", etc., would be really helpful for reviewing AfDs in a watchlist. Thanks so much for creating this tool! AleatoryPonderings (talk) 14:42, 29 August 2020 (UTC)
 * I agree this should be added, similarly to how XFDcloser mentions the outcome in the summary. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 20:46, 6 September 2020 (UTC)

Also, the script is not linked in the edit summary of a comment action: Special:Diff/976353885 was done with the tool. 1234qwer1234qwer4 (talk) 13:57, 2 September 2020 (UTC)


 * Comment: uninstalled today, due repetitive pageid messages and failures to vote. This, unfortunately, occurred after I installed a few new scripts from User:Lourdes --Whiteguru (talk) 10:43, 3 September 2020 (UTC)


 * @1234qwer1234qwer4 The linking to the tool with the edit summary "Comment" has been fixed. Thanks for pointing that out :) Aasim 20:55, 4 September 2020 (UTC)

Weak and strong
You archived the section with the proposal, so may I ask if you are planning to add "weak" and "strong" options for votes next to "speedy"? Thanks! 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 10:02, 11 September 2020 (UTC)


 * @1234qwer1234qwer4 I believe there is a custom vote part where you can write in whatever vote you want. Is that enough or should I add an option for "weak" and "strong"? Aasim 15:07, 11 September 2020 (UTC)
 * , in that case I can just vote manually. The script is supposed to make voting easier, right? "weak" and "strong" variants of the vote options are quite common, and I think implementing them doesn't harm. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 15:48, 11 September 2020 (UTC)
 * If you still think on implementing it, I'd suggest a radio button with "speedy", "weak", and "strong". 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 12:49, 21 February 2021 (UTC)

Publishing old text
xfdvote published an old, incomplete version of my vote twice already: yesterday, today. Maybe this is related to my internet connection, but other tools seem to work fine. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 11:49, 6 September 2020 (UTC)
 * Add one from today. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 13:07, 7 September 2020 (UTC)
 * still there. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 09:18, 22 September 2020 (UTC)
 * Special:Diff/996473278. Any way to force the script to use the latest text from the input box? 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 20:40, 26 December 2020 (UTC)
 * I will have to investigate.... sorry for the delayed reply, but it only seems to be happening once in a blue moon from what it seems. Aasim (talk) 00:32, 26 January 2021 (UTC)
 * It actually happens pretty much always if I switch to another tab while voting; that is, before publishing the page. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 06:48, 26 January 2021 (UTC)
 * In this one, I had written the text that was published, copied it into a text editor and closed the XfD vote tool to make sure the bug does not happen, went to the tab where I had the other page title I wanted to link, added it (" ") to the vote comment in my text editor and copied that back to the tool just after reopening it, and it still published the old text. I'm not sure how Twinkle does it, but this never happens with Twinkle nominations, for example. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 12:46, 21 February 2021 (UTC)
 * @1234qwer1234qwer4 maybe you can do a screencast so I can see? Aasim (talk) 19:25, 21 February 2021 (UTC)