Bharatpedia talk:User scripts: Difference between revisions

AntiVandal: new section
 
Line 5: Line 5:
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.
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! [[User:WikiDwarf|WikiDwarf]] ([[User talk:WikiDwarf|talk]]) 14:53, 21 September 2026 (IST)
Since you have experience with anti-vandalism/admin work, your feedback would be especially useful. Thanks! [[User:WikiDwarf|WikiDwarf]] ([[User talk:WikiDwarf|talk]]) 14:53, 21 September 2026 (IST)
: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. [[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)

Revision as of 15:20, 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