Bharatpedia talk:User scripts: Difference between revisions

Line 9: Line 9:
:I can sense you did really hard work for this tool as Tool creation require lots of coding effort, appreciating your work. [[User:Bharatwiki_Socrates|<span style="font-weight:bold;color:#1f618d;text-shadow:1px 1px 2px #3498db;">🍁Bharatwiki Socrates🍁</span>]][[User talk:Bharatwiki_Socrates|<span style="color:#FF9933;font-weight:bold;text-shadow:1px 2px #1f618d;">(📩)</span>]] 15:20, 21 September 2026 (IST)
:I can sense you did really hard work for this tool as Tool creation require lots of coding effort, appreciating your work. [[User:Bharatwiki_Socrates|<span style="font-weight:bold;color:#1f618d;text-shadow:1px 1px 2px #3498db;">🍁Bharatwiki Socrates🍁</span>]][[User talk:Bharatwiki_Socrates|<span style="color:#FF9933;font-weight:bold;text-shadow:1px 2px #1f618d;">(📩)</span>]] 15:20, 21 September 2026 (IST)
:WikiDwarf, create an alternative account to test the tool as general user. Remind me when it’s ready, and I’ll check again. I remember Twinkle on Wiki took more than six months to be created, so there’s no need to hurry. [[User:Bharatwiki_Socrates|<span style="font-weight:bold;color:#1f618d;text-shadow:1px 1px 2px #3498db;">🍁Bharatwiki Socrates🍁</span>]][[User talk:Bharatwiki_Socrates|<span style="color:#FF9933;font-weight:bold;text-shadow:1px 2px #1f618d;">(📩)</span>]] 15:26, 21 September 2026 (IST)
:WikiDwarf, create an alternative account to test the tool as general user. Remind me when it’s ready, and I’ll check again. I remember Twinkle on Wiki took more than six months to be created, so there’s no need to hurry. [[User:Bharatwiki_Socrates|<span style="font-weight:bold;color:#1f618d;text-shadow:1px 1px 2px #3498db;">🍁Bharatwiki Socrates🍁</span>]][[User talk:Bharatwiki_Socrates|<span style="color:#FF9933;font-weight:bold;text-shadow:1px 2px #1f618d;">(📩)</span>]] 15:26, 21 September 2026 (IST)
::Sure, let me check these issues and fix them. And yes, that's a good idea to test it with a different account. I'll create a separate testing account and check the tool from a regular user's perspective as well. I've actually been working on this for about a month now. I was testing everything on my local machine, and it was working fine there, but it sounds like some parts may be restricted to my own user account. I'll look into that and fix it.
::I'll also check the signature issue, the protection request form, and especially the "Revert last editor" function. Thank you very much for taking the time to test it and for the detailed feedback. It really helps. I'll let you know once I've made the changes and it's ready for another round of testing. [[User:WikiDwarf|WikiDwarf]] ([[User talk:WikiDwarf|talk]]) 15:39, 21 September 2026 (IST)

Revision as of 15:39, 21 September 2026

AntiVandal

Hello @Bharatwiki Socrates and Ajay Kumar:, I've created Bharatpedia:AntiVandal, a user script intended to help with anti-vandalism work on Bharatpedia. If you have some time, I’d really appreciate it if you could test it by adding the following line to your common.js:

mw.loader.load('/w/index.php?title=User:WikiDwarf/AntiVandal.js&action=raw&ctype=text/javascript');

Please use it for a while and let me know whether everything is working as expected, or if you notice anything that could be improved, changed, or fixed. Since you have experience with anti-vandalism/admin work, your feedback would be especially useful. Thanks! WikiDwarf (talk) 14:53, 21 September 2026 (IST)Reply

I used AntiVandal, and when I tried to warn a user or post a message, it sent the message and warning with your signature. The page-protection request works fine, but it should ideally show a pre-written format not blank page, where the user only needs to mention the article, protection level, and reason for protection. Most importantly, when I clicked "Revert last editor", it didn't work at all. It simply says "onlyauthor".
I can sense you did really hard work for this tool as Tool creation require lots of coding effort, appreciating your work. 🍁Bharatwiki Socrates🍁(📩) 15:20, 21 September 2026 (IST)Reply
WikiDwarf, create an alternative account to test the tool as general user. Remind me when it’s ready, and I’ll check again. I remember Twinkle on Wiki took more than six months to be created, so there’s no need to hurry. 🍁Bharatwiki Socrates🍁(📩) 15:26, 21 September 2026 (IST)Reply
Sure, let me check these issues and fix them. And yes, that's a good idea to test it with a different account. I'll create a separate testing account and check the tool from a regular user's perspective as well. I've actually been working on this for about a month now. I was testing everything on my local machine, and it was working fine there, but it sounds like some parts may be restricted to my own user account. I'll look into that and fix it.
I'll also check the signature issue, the protection request form, and especially the "Revert last editor" function. Thank you very much for taking the time to test it and for the detailed feedback. It really helps. I'll let you know once I've made the changes and it's ready for another round of testing. WikiDwarf (talk) 15:39, 21 September 2026 (IST)Reply