Line 34: Line 34:


@[[User:WikiDwarf|WikiDwarf]], @[[User:Ajay Kumar|Ajay Kumar]], these warn templates are missing: [https://en.bharatpedia.org/w/index.php?title=User_talk:Bharatwiki_Socrates&diff=prev&oldid=563291 see deleted texts].
@[[User:WikiDwarf|WikiDwarf]], @[[User:Ajay Kumar|Ajay Kumar]], these warn templates are missing: [https://en.bharatpedia.org/w/index.php?title=User_talk:Bharatwiki_Socrates&diff=prev&oldid=563291 see deleted texts].
{{tq|{{subst:uw-test}}
{{tq|[[File:Information.svg|25px|alt=Information icon]] Hello, I'm [[User:Ajay Kumar|Ajay Kumar]]. An edit that you recently made  seemed to be a test and has been [[Help:Reverting|reverted]]. If you want to practice editing, please use the [[Bharatpedia:Sandbox|sandbox]]. If you think I made a mistake, or if you have any questions, you can leave me a message on [[User talk:Ajay Kumar|my talk page]]. Thanks!<!-- Template:uw-test1 -->
{{subst:uw-chat}}
[[File:Information.svg|25px|alt=Information icon]] [[Help:List of tutorials and introductions|Welcome to Bharatpedia]] and thank you for [[Special:Contributions/User scripts|your contribution(s)]]. However, as a [[Bharatpedia:Talk page guidelines|general rule]], while user talk pages permit a small degree of generali{{#switch:{{{sp}}}|us=z|uk=s|#default=s}}ation, other talk pages  are strictly for discussing improvements to their associated main pages, and many of them have special instructions on the top. They are [[Bharatpedia:What Bharatpedia is not#FORUM|not a search engine, a chatbot, or a general discussion forum]] about the article's topic or any other topic. If you have questions or ideas and are not sure where to post them, consider asking at the [[WP:Teahouse|Teahouse]]. Thanks.<!-- Template:uw-chat1 -->
{{subst:uw-notvoted}}
{{subst:uw-notvoted}}
{{subst:uw-joke}}
[[File:Information.svg|25px|alt=Information icon]] [[Help:Introduction|Welcome]], and thank you for your attempt to lighten up Bharatpedia. However, this is an encyclopedia, and articles are intended to be serious, so please don't make joke edits. Readers looking for accurate information will not find them amusing. If you'd like to experiment with editing, please use the [[Bharatpedia:Sandbox|sandbox]] instead, where you are given a [[Bharatpedia:About the sandbox|certain degree of freedom]] in what you write. <!-- Template:uw-joke1 -->
{{subst:uw-defamatory}}
{{subst:uw-defamatory}}
{{subst:uw-biog}}
{{subst:uw-biog}}
{{subst:uw-error}}
{{subst:uw-error}}
{{subst:uw-test}}}}
[[File:Information.svg|25px|alt=Information icon]] Hello, I'm [[User:Ajay Kumar|Ajay Kumar]]. An edit that you recently made  seemed to be a test and has been [[Help:Reverting|reverted]]. If you want to practice editing, please use the [[Bharatpedia:Sandbox|sandbox]]. If you think I made a mistake, or if you have any questions, you can leave me a message on [[User talk:Ajay Kumar|my talk page]]. Thanks!<!-- Template:uw-test1 -->}}
. They are used by AntiVandal. If you have time, please create them. Otherwise, I will create them in my free time. Just mentioning this as a heads-up. [[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>]] 18:31, 22 September 2026 (IST)
. They are used by AntiVandal. If you have time, please create them. Otherwise, I will create them in my free time. Just mentioning this as a heads-up. [[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>]] 18:31, 22 September 2026 (IST)
:I tried to create a few. I will try again once I have time if not already created by you or anyone else. [[User:Ajay Kumar|Ajay Kumar]] ([[User talk:Ajay Kumar|talk]]) 20:36, 22 September 2026 (IST)

Revision as of 20:36, 22 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
Bharatwiki Socrates Done. I've fixed the issues you pointed out above. Please test the script when you have time and let me know if everything is working properly.
@Editorial Oversight: I also noticed that you've enabled the script, so please test it from your end as well and let me know whether it works properly for you as a regular user, without rollback or reviewer rights. Thank you. WikiDwarf (talk) 17:58, 21 September 2026 (IST)Reply
Yes, I tested it. The beginning is good, but I think it still needs quite a bit of work.
There are a few reasons. First, it doesn't revert all vandalism with a single click. Second, I don't see any option for issuing warnings in the script yet.
Also, as far as I understand, there isn't a mobile version available yet, correct? I had to switch to my laptop to use the script.
I think it would be better to continue using rollback rights for now, until the script is fully completed and stable. Once the remaining features are added and properly tested, it could be more useful for regular anti-vandalism work. Editorial Oversight(Talk with me) 18:25, 21 September 2026 (IST)Reply
Thanks for testing it and for the feedback. I've now improved the script and added additional options, including user warnings, welcoming new users, and mass rollback. Please review the updated version and let me know if everything is working well or if you think it still needs further improvements.
You can also review the documentation for more details. I'll continue improving and testing it to make it more useful for regular anti-vandalism work. WikiDwarf (talk) 20:18, 21 September 2026 (IST)Reply
I tested again the Revert, Warn and Welcome features, and all are working. They’re working much better than before. Nice improvements! Editorial Oversight(Talk with me) 21:06, 21 September 2026 (IST)Reply
@WikiDwarf I also tested the MoveToDraft.js script, but it’s not working for me. I’m getting an “API error: bagtag” message when I try to use it. Could you please check what’s causing the error? Editorial Oversight(Talk with me) 21:46, 21 September 2026 (IST)Reply
@Editorial Oversight: The missing tag has been created so moveToDraft should work. WikiDwarf (talk) 22:22, 21 September 2026 (IST)Reply
Ok let me try Editorial Oversight(Talk with me) 22:26, 21 September 2026 (IST)Reply
Its working 🔥🔥good job Editorial Oversight(Talk with me) 22:32, 21 September 2026 (IST)Reply
@WikiDwarf, I have tested all the features of the AntiVandal tool one by one. Everything worked fine, but when welcoming a user with the Welcome1 template, their signature appeared twice[1]. Since I already included an dynamic signature inside the Welcome1 template[2], and the AntiVandal tool is also configured to add one, so the signatures are getting duplicated. What do you think? Should I remove the signature from the Welcome1 template, or will you remove it from the tool's side? 🍁Bharatwiki Socrates🍁(📩) 17:32, 22 September 2026 (IST)Reply
@Bharatwiki Socrates - I was about to report the same bug. I have not yet tested other features but since they are working for everyone they should be fine but I will still give it a try. @WikiDwarf - Thank you for creating the script. It's quite useful and save time while editing. Ajay Kumar (talk) 17:38, 22 September 2026 (IST)Reply
@Ajay Kumar Indeed, WikiDwarf did hard work. The other features are working smoothly. There is a test edit warning with a welcome [3], which will be fixed once we create Template:Welcometest. We can't consider it a tool problem, the tool is perfectly issuing the warning. 🍁Bharatwiki Socrates🍁(📩) 17:48, 22 September 2026 (IST) created the Welcometest template. 🍁Bharatwiki Socrates🍁(📩) 18:21, 22 September 2026 (IST)Reply
@Ajay Kumar @Bharatwiki Socrates Sometimes I also get this issue with the Welcome feature. It happened to me once, but the rest of the time the welcome notice is posted correctly without any problem.
I also tested the MoveToDraft.js script, and it’s working smoothly for me. 👍 Editorial Oversight(Talk with me) 17:54, 22 September 2026 (IST)Reply
One more thing: I’ve submitted requests for Autopatrolled and Rollback rights. When you guys @Ajay Kumar @WikiDwarf @Bharatwiki Socrates get a chance, could you please take a look at any of the requests and let me know whether I’m eligible for them? Editorial Oversight(Talk with me) 18:15, 22 September 2026 (IST)Reply

Missing warn templates

@WikiDwarf, @Ajay Kumar, these warn templates are missing: see deleted texts. Information icon Hello, I'm Ajay Kumar. An edit that you recently made seemed to be a test and has been reverted. If you want to practice editing, please use the sandbox. If you think I made a mistake, or if you have any questions, you can leave me a message on my talk page. Thanks! Information icon Welcome to Bharatpedia and thank you for your contribution(s). However, as a general rule, while user talk pages permit a small degree of generalisation, other talk pages are strictly for discussing improvements to their associated main pages, and many of them have special instructions on the top. They are not a search engine, a chatbot, or a general discussion forum about the article's topic or any other topic. If you have questions or ideas and are not sure where to post them, consider asking at the Teahouse. Thanks. {{subst:uw-notvoted}} Information icon Welcome, and thank you for your attempt to lighten up Bharatpedia. However, this is an encyclopedia, and articles are intended to be serious, so please don't make joke edits. Readers looking for accurate information will not find them amusing. If you'd like to experiment with editing, please use the sandbox instead, where you are given a certain degree of freedom in what you write. {{subst:uw-defamatory}} {{subst:uw-biog}} {{subst:uw-error}} Information icon Hello, I'm Ajay Kumar. An edit that you recently made seemed to be a test and has been reverted. If you want to practice editing, please use the sandbox. If you think I made a mistake, or if you have any questions, you can leave me a message on my talk page. Thanks! . They are used by AntiVandal. If you have time, please create them. Otherwise, I will create them in my free time. Just mentioning this as a heads-up. 🍁Bharatwiki Socrates🍁(📩) 18:31, 22 September 2026 (IST)Reply

I tried to create a few. I will try again once I have time if not already created by you or anyone else. Ajay Kumar (talk) 20:36, 22 September 2026 (IST)Reply