Wikipedia talk:AntiVandal
Features to add
[edit]- Add an option to welcome a user
- Add {{Shared IP advice}}
- Automatically add revert summary when choosing custom revert reason
- Customize watchlist expiries for warned users
- Dark mode
- Indicator showing if the page is under a form of page protection
- Indicator showing number of times the user has been blocked similar to the indicator showing the number of warnings the user has recieved
- Indicator that shows if the edit was marked as minor or not
- Request protection of a page at WP:RFPP
- Mobile UI version/compatibility
- Add more warning templates ({{uw-defamatory1}}, {{uw-harass1}} (both 1 to 4im) and more used by Twinkle/Ultraviolet
- Add an option to thank a user for their edit
- Add revert summary when reverting and warning
- Filter mainspace/other namespaces separate from Talk
- Feel free to add more to this list!
Is vandalism the only reason you can revert things with using this tool?
[edit]Looks like a great tool, but not all edits I revert are vandalism. Does it have capabilities to revert and warn for other stuff (e.g unsourced additions)? interstatefive (talk) - just another roadgeek 14:14, 13 May 2022 (UTC)
- @InterstateFive yes it does, actually! There's a menu with a variety of options for warnings (unsourced, deleting, advertising, adding spam links, etc). I'll be adding some more features over the next few weeks (I'm almost done the "report to aiv" feature). >>> Ingenuity.talk(); 16:19, 14 May 2022 (UTC)
- Great! I might use it when I use a computer without huggle installed. interstatefive (talk) - just another roadgeek 16:23, 14 May 2022 (UTC)
Feed not showing new edits
[edit]It’s a very good script, I will be using it at least until Teyora finishes development, if not more, but the edit feed seems to stop giving me new edits after I clear the queue and then I have to refresh to get new edits. I don’t think it is my internet as I am able to download something at 6MB/s so that should be working. | Zippybonzo | Talk | 15:34, 2 June 2022 (UTC)
- @Zippybonzo that happens for me too occasionally. I'll have time to fix it within a few days along with a few other bugs that need squashing. >>> Ingenuity.talk(); 17:32, 2 June 2022 (UTC)
- Ok, no problem. | Zippybonzo | Talk | 17:39, 2 June 2022 (UTC)
- @Ingenuity I have no idea whether you changed the script, but it worked for a bit, but now seems to be broken again, any thoughts. Also, does the page feed use ORES to generate results or filter on user age/warn level/IP stuff or a regex to filter for certain words. | Zippybonzo | Talk | 17:18, 14 June 2022 (UTC)
- @Zippybonzo I've actually been a lot busier than I thought over the past couple weeks, but I'll be done with everything in about a week. I've looked into it a bit and I think I know what the problem is so it should be a fairly easy fix. >>> Ingenuity.talk(); 17:42, 14 June 2022 (UTC)
- Turns out it was much simpler than I thought. Turns out I just forgot to include a line of code. Silly me! >>> Ingenuity.talk(); 21:30, 14 June 2022 (UTC)
- Ok, @Ingenuity, I will go ahead and test it and do a bit of anti-vandalism, thanks for fixing it. :) | Zippybonzo | Talk | 18:38, 15 June 2022 (UTC)
- Turns out it was much simpler than I thought. Turns out I just forgot to include a line of code. Silly me! >>> Ingenuity.talk(); 21:30, 14 June 2022 (UTC)
- @Zippybonzo I've actually been a lot busier than I thought over the past couple weeks, but I'll be done with everything in about a week. I've looked into it a bit and I think I know what the problem is so it should be a fairly easy fix. >>> Ingenuity.talk(); 17:42, 14 June 2022 (UTC)
- @Ingenuity I have no idea whether you changed the script, but it worked for a bit, but now seems to be broken again, any thoughts. Also, does the page feed use ORES to generate results or filter on user age/warn level/IP stuff or a regex to filter for certain words. | Zippybonzo | Talk | 17:18, 14 June 2022 (UTC)
- Ok, no problem. | Zippybonzo | Talk | 17:39, 2 June 2022 (UTC)
Requesting addition of a "next edit" button
[edit]Hi Ingenuity, yesterday I installed it and tested on PC. It's a great tool. But, the bulk of my editing activity happens on mobile devices (ofcourse, using desktop version). The UI of the tool works fine on mobile, but I can't go to the next edit because on mobile I don't have a "spacebar". Is it possible to add a "next edit" button in the tool, since it would be very helpful for me to be able to use it on mobile? Thanks! —CX Zoom[he/him] (let's talk • {C•X}) 19:19, 15 June 2022 (UTC)
- @CX Zoom hey, sorry for getting back to you so late! I was actually planning on adding back/forward buttons soon, and I should have time to add that within the next week or so. >>> Ingenuity.talk(); 02:45, 19 June 2022 (UTC)
- Thanks Ingenuity! I see that you've already added it. —CX Zoom[he/him] (let's talk • {C•X}) 17:52, 30 June 2022 (UTC)
Antivandal
[edit]Dear, @Ingenuity, I just installed your program antivandal and have already undone a few edits with it :). I do see that the tag is manual undo, can that also be rollback like with you? That seems a lot faster to me. Drummingman (talk) 20:23, 8 August 2022 (UTC)
- @Drummingman: I actually just switched from using manual reverting to rollback yesterday, but I haven't updated the code yet. I'll do that now. I think it might be a bit faster (maybe by half a second), but it doesn't make a huge difference. >>> Ingenuity.talk(); 21:06, 8 August 2022 (UTC)
- Thanks :-). Greetings, Drummingman (talk) 21:11, 8 August 2022 (UTC)
Use on other wiki
[edit]Can I use this script on other wiki? Because I don't have rollback or sysop role on enwiki. Thanks. P.T.Đ (talk) 03:51, 10 September 2022 (UTC)
- @P.T.Đ: I haven't tested it on other wikis (except for test.wikipedia.org), but I think that it should work. You'd have to add
importScript("en:User:Ingenuity/AntiVandal.js");
- To your common.js on whatever wiki you would want to use it on. — Ingenuity (talk • contribs) 16:58, 10 September 2022 (UTC)
- @Ingenuity: One more small question: what is the font you use in diff panel? Nice day. Plantaest (talk) 18:08, 27 September 2022 (UTC)
- @Plantaest: the font is just set to
font-family: monospace;
so it would depend on your browser/operating system. — Ingenuity (talk • contribs) 18:09, 27 September 2022 (UTC)
- @Plantaest: the font is just set to
- @Ingenuity: One more small question: what is the font you use in diff panel? Nice day. Plantaest (talk) 18:08, 27 September 2022 (UTC)
Welcome and revert
[edit]Is it possible to add a 'welcome and revert' option? I've always considered it to be less bitey to new users and it doesn't exist on other tools apart from Twinkle. lavender|(formerly HMSSolent)|lambast 05:18, 5 October 2022 (UTC)
- Added to the #Features to add section above. — Ingenuity (talk • contribs) 23:59, 6 March 2023 (UTC)
Love
[edit]I love this tool. So, so much. Thank you kindly to Ingenuity for creating it! Though I do hope you upgrade some of the functionality soon to allow for more filters using the tool as well as other upgrades over time. TY though regardless! — Moops ⋠T⋡ 18:30, 16 December 2022 (UTC)
- @Ingenuity: Where is the whitelist located by the way? Is there a full list somewhere of users with access to the whitelist? — Moops ⋠T⋡ 13:56, 15 February 2023 (UTC)
- @Moops: the whitelist is located at User:Ingenuity/AntiVandalWhitelist.json. — Ingenuity (talk • contribs) 17:04, 15 February 2023 (UTC)
- TY — Moops ⋠T⋡ 17:29, 15 February 2023 (UTC)
- That seems to only have FIVE (5) entries. Is that correct? I was expecting thousands upon thousands of people use this tool. It is simply the best. — Moops ⋠T⋡ 17:29, 15 February 2023 (UTC)
- @Moops: yep, that's right. Fewer than 60 people have the script installed in total. The Wikipedia community is actually quite small, and there are only a couple hundred or so people who revert vandalism regularly. — Ingenuity (talk • contribs) 17:46, 15 February 2023 (UTC)
- Well I guess that would explain why I run into the same people over and over (or maybe more accurately, they run into me!). :) — Moops ⋠T⋡ 17:48, 15 February 2023 (UTC)
- I think more people should use it and request to be whitelisted! I will encourage and push people to apply, so if you see an uptick in applications to be added to the whitelist. You can blame me. :) — Moops ⋠T⋡ 17:48, 15 February 2023 (UTC)
- Well I guess that would explain why I run into the same people over and over (or maybe more accurately, they run into me!). :) — Moops ⋠T⋡ 17:48, 15 February 2023 (UTC)
- @Moops: yep, that's right. Fewer than 60 people have the script installed in total. The Wikipedia community is actually quite small, and there are only a couple hundred or so people who revert vandalism regularly. — Ingenuity (talk • contribs) 17:46, 15 February 2023 (UTC)
- That seems to only have FIVE (5) entries. Is that correct? I was expecting thousands upon thousands of people use this tool. It is simply the best. — Moops ⋠T⋡ 17:29, 15 February 2023 (UTC)
- TY — Moops ⋠T⋡ 17:29, 15 February 2023 (UTC)
- @Moops: the whitelist is located at User:Ingenuity/AntiVandalWhitelist.json. — Ingenuity (talk • contribs) 17:04, 15 February 2023 (UTC)
MOS option
[edit]@Ingenuity: can you add an option for warning users for violating MOS and another for censoring material? luis 💬 16:53, 8 February 2023 (UTC)
- @JCMLuis:
Done — Ingenuity (talk • contribs) 16:59, 8 February 2023 (UTC)
- Thanks. luis 💬 17:00, 8 February 2023 (UTC)
Icon for Vector 2022
[edit]@Ingenuity: Just a minor feature request. All the links in the top-right drop-down menu on Vector 2022 have an accompanying icon, except AntiVandal. So, you may add an icon or something for nicer look and consistency. A stylised "AV" might look good? —CX Zoom[he/him] (let's talk • {C•X}) 06:20, 14 February 2023 (UTC)
Done I'm not a great icon designer, so it's literally just the letters "AV", but better than nothing, I guess! — Ingenuity (talk • contribs) 02:11, 7 March 2023 (UTC)
- Unfortunately, I'm going to have to mark this as
Not done. The code I used to add the icon made the page lag on Chrome, and the MediaWiki
mw.util.addPortletLink
function doesn't have the option to add icons. — Ingenuity (talk • contribs) 16:54, 8 March 2023 (UTC)- That's alright, @Ingenuity, however there is another thing I noticed while using AV on Vector 2022, that the AntiVandal link appears in the drop-down menu only when you are at the top of a page. All other links, including that of the WP:Dark mode (gadget) appears even when you are at the middle or end of the page. So, maybe Vector 2022 replaced the old portlet IDs with something new that sticks a link to the drop-down menu or something? —CX Zoom[he/him] (let's talk • {C•X}) 07:55, 9 March 2023 (UTC)
Done, looks like Vector2022 uses an additional portlet id for the sticky menu. Should be fixed when I update the script next, probably in the next few days. Sorry for the late response! — Ingenuity (talk • contribs) 00:37, 27 April 2023 (UTC)
- That's alright, @Ingenuity, however there is another thing I noticed while using AV on Vector 2022, that the AntiVandal link appears in the drop-down menu only when you are at the top of a page. All other links, including that of the WP:Dark mode (gadget) appears even when you are at the middle or end of the page. So, maybe Vector 2022 replaced the old portlet IDs with something new that sticks a link to the drop-down menu or something? —CX Zoom[he/him] (let's talk • {C•X}) 07:55, 9 March 2023 (UTC)
- Unfortunately, I'm going to have to mark this as
Topicon
[edit]Could we get a Topicon and userbox for this? I'd love to proudly advertise that I use AntiVandal because it is such a great tool and I am a strong evangelist for the tool. — Moops ⋠T⋡ 13:57, 15 February 2023 (UTC)
- Strong agree. Timothytyy (talk) 13:58, 7 March 2023 (UTC)
- @Timothytyy, @Moops: I've created a userbox at User:UBX/AntiVandal. — Ingenuity (talk • contribs) 14:16, 7 March 2023 (UTC)
On Mobile?
[edit]Hello,
I am a pretty new user to undoing vandalism, but sometimes time I am beat to reverting it by people that have a little (AV) next to their names. I am interested in using the tool, but does it work on mobile devices? Illusion Flame (talk) 02:17, 27 February 2023 (UTC)
I’m addition, can I be added to the scripts “white list” so I can use the tool? Illusion Flame (talk) 02:22, 27 February 2023 (UTC)
- hi @Illusion Flame! this tool AntiVandal requires the rollback right, and as I haven't used it I'm not sure if it uses the built-in rollback system in Wikipedia (which means the tool will break if you do not have rollback since it can't rollback at all) or its own pseudo-rollback system.
- however, I recommend for you to use other tools for now while getting started, such as Twinkle or RedWarn, both of which have their own pseudo-rollback systems that also automatically send warnings to people you rollback and can be used without actually having the rollback right. there's TwinkleMobile which allows you to use Twinkle on mobile view, but I haven't tested it out yet (since personally I don't like mobile view all that much, I even have a script that pushes me back to desktop view when I'm on mobile) so I can't say if it's good or not or if it even works in the first place. happy editing! 💜 melecie talk - 02:42, 27 February 2023 (UTC)
- Hey, @Illusion Flame! Great work reverting vandalism so far. I generally don't add users to the whitelist myself, since users with the rollback permission are automatically granted access to the tool. When granting the rollback right, administrators usually look for at least 200 mainspace edits; you have about 100 right now. As @Melecie stated above, Twinkle and RedWarn are good tools for beginners, since it's easier to avoid making mistakes. Once you have a couple weeks of experience consistently reverting vandalism, you can make a request for rollback at the permissions page. — Ingenuity (talk • contribs) 02:46, 27 February 2023 (UTC)
Thank you both for the clarification on rollback and the white list. I will apply for it once I believe I have enough experience. I am currently using TwinkleMobile, which works really well, and is very convenient. I have tried to install RedWarn, but I don’t think it works on IOS yet. I attempted to download the script for the desktop view, but it didn’t work at all. Can you check the that I added the JavaScript to the right page? I am also still wondering if THIS tool (antivandal) works on mobile.
Thanks, Illusion Flame (talk) 11:41, 27 February 2023 (UTC)
- @Illusion Flame: to install the script, you need to add
importScript("User:Þjarkur/NeverUseMobileVersion.js")
to your common.js page. Alternatively, you can use User:Enterprisey/script-installer, which makes it easier to install scripts. — Ingenuity (talk • contribs) 11:50, 27 February 2023 (UTC)
Bug
[edit]@Ingenuity: Everytime I navigate through pages for some reason the html messes up for like a quarter or half of a second before being back to normal, and it gets annoying. It would sometimes make me view at a different section of an article rather than the one I wanted to view, or after editing a section, that would happen. I found out that the AntiVandal script is the reason of this. Can you fix that? luis 💬 22:10, 7 March 2023 (UTC)
- @JCMLuis: hmmm, that's weird, thanks for letting me know. There was a big update to the script yesterday which probably caused it, but I'm not sure what exactly is the problem. I've tried copying the scripts from your common.js, but it still works for me. What skin and browser are you using? I've tried both V10 and V22, and they both seem to work.
- Would you mind reinstalling the script and seeing if there are any errors in the console when the bug happens? — Ingenuity (talk • contribs) 22:21, 7 March 2023 (UTC)
- @Ingenuity: I am using Google Chrome and Timeless skin. I have already went through all the skins and it occurred on all except MinervaNeue (mobile skin). I checked the console and could not identify which error is related to the problem. The time the website messes up the MOS-dash script loads, but that script should be fine. luis 💬 22:33, 7 March 2023 (UTC)
- I checked through the differences between the consoles with and without the script and it might have to do with an error with the module "mediawiki.ui". luis 💬 23:05, 7 March 2023 (UTC)
- @JCMLuis: I think I was able to replicate what you're talking about when using Chrome. I cleared my cache and it appeared to stop, though, can you see if doing that fixes it? — Ingenuity (talk • contribs) 23:13, 7 March 2023 (UTC)
- @Ingenuity: I cleared the cache and it did not fix the bug. However, it occurred less frequently and became quicker than usual. luis 💬 23:34, 7 March 2023 (UTC)
- Actually it might have to do with the size of the pages I go through. The pages I navigated didn't seem to be big. So I went to some articles like United States and Mexico and the bug seemed to last longer. luis 💬 23:37, 7 March 2023 (UTC)
- There's a good chance it's just due to the computer/browser you're using; I've tested it out with a few different computers, Firefox and Chrome, and my alternate account, and I've only been able to reproduce the bug a couple times. — Ingenuity (talk • contribs) 03:14, 8 March 2023 (UTC)
- Nevermind, it appears this was an issue with the script. I've fixed it now. — Ingenuity (talk • contribs) 16:49, 8 March 2023 (UTC)
- There's a good chance it's just due to the computer/browser you're using; I've tested it out with a few different computers, Firefox and Chrome, and my alternate account, and I've only been able to reproduce the bug a couple times. — Ingenuity (talk • contribs) 03:14, 8 March 2023 (UTC)
- Actually it might have to do with the size of the pages I go through. The pages I navigated didn't seem to be big. So I went to some articles like United States and Mexico and the bug seemed to last longer. luis 💬 23:37, 7 March 2023 (UTC)
- @Ingenuity: I cleared the cache and it did not fix the bug. However, it occurred less frequently and became quicker than usual. luis 💬 23:34, 7 March 2023 (UTC)
- @JCMLuis: I think I was able to replicate what you're talking about when using Chrome. I cleared my cache and it appeared to stop, though, can you see if doing that fixes it? — Ingenuity (talk • contribs) 23:13, 7 March 2023 (UTC)
- I checked through the differences between the consoles with and without the script and it might have to do with an error with the module "mediawiki.ui". luis 💬 23:05, 7 March 2023 (UTC)
- @Ingenuity: I am using Google Chrome and Timeless skin. I have already went through all the skins and it occurred on all except MinervaNeue (mobile skin). I checked the console and could not identify which error is related to the problem. The time the website messes up the MOS-dash script loads, but that script should be fine. luis 💬 22:33, 7 March 2023 (UTC)
Possible bug linking to history pages
[edit]Hi, this morning after receiving the update (I do not know if this would have happened before): I had seen a diff for Sherman's March to the Sea pop up and I couldn't tell for sure what was going on so I clicked on (history)
for the page and I ended up at https://en.wikipedia.org/w/index.php?title=Sherman%26&action=history
(or Sherman&). Looking at the URL it was linking me to is https://en.wikipedia.org/wiki/Special%3APageHistory%2FSherman%26%23039%3Bs%20March%20to%20the%20Sea
which Wikipedia redirects to the one with the ampersand. Probably some slight issue with quoting single quotation marks, given %26%23039%3B
decodes to '
which is the HTML entity for '
. Skynxnex (talk) 21:32, 8 March 2023 (UTC)
- Thanks for pointing that out, @Skynxnex. Should be fixed now. — Ingenuity (talk • contribs) 22:31, 8 March 2023 (UTC)
- @Ingenuity Thanks for the quick reply and sorry it's not easier to share exactly what I'm seeing but I believe I reloaded and now I'm getting a different incorrect URL:
https://en.wikipedia.org/wiki/Special%3APageHistory%2FList_of_active_People%2527s_Liberation_Army_aircraft
for List of active People's Liberation Army aircraft with a bad title error. Hope this is detailed enough to help! Skynxnex (talk) 22:55, 8 March 2023 (UTC)- @Skynxnex: (fingers crossed) should work now. Looks like I accidentally encoded the URL twice, instead of just once. — Ingenuity (talk • contribs) 00:10, 9 March 2023 (UTC)
- Cool. Just confirmed it worked with Testimony of Evil (Dead Men Don't Laugh) to view its history. Skynxnex (talk) 19:42, 9 March 2023 (UTC)
- @Skynxnex: (fingers crossed) should work now. Looks like I accidentally encoded the URL twice, instead of just once. — Ingenuity (talk • contribs) 00:10, 9 March 2023 (UTC)
- @Ingenuity Thanks for the quick reply and sorry it's not easier to share exactly what I'm seeing but I believe I reloaded and now I'm getting a different incorrect URL:
Another feature
[edit]When I revert vandalism using AntiVandal, there are a lot of situations that I need to choose another specific reason to revert it (such as deleting, unsourced, unsourced(BLP)). Is it a good idea to add another 2 buttons to revert edit, D for deleting, and U for unsourced? These 2 are the most common reasons for reverting edits (except vandalism). It will definitely speed up my revert. Thanks in advance! The person who loves reading (talk) 02:39, 7 April 2023 (UTC)
- @The person who loves reading, you can already do that through the warn menu. Zippybonzo | Talk (he|him) 12:56, 7 April 2023 (UTC)
- Yes, but it's a little little quicker if I can click "D" on the keyboard and the edit is reverted because of deleting and "U" on the keyboard and the edit is reverted because of unsourced.
- By the way, can AV automatically fill out the edit summary because of a specific reason? For example, if I click on the warn menu "Deleting 1", then it will revert the edit, warn the user, and fill out the edit summary of this revert as "Revert edits by User: Deleting". It seems like the edit summary is the same. The person who loves reading (talk) 21:19, 7 April 2023 (UTC)
- Added to the #Features to add section. — Ingenuity (talk • contribs) 00:45, 20 April 2023 (UTC)
Question
[edit]When I revert an edit, it moves me to the next edit, but do I have to go back to the reverted edit to warn the vandal with, e.g., spam?
Also, wacky bug. First time it's happened to me that I know, but something to watch out for I guess. I've also noticed that AntiVandal will bring back an edit conflict message even though I reverted it. (Roundish ⋆t) 00:29, 14 April 2023 (UTC)
- @Roundish If you use the warn menu or q, I believe reverts and warns for you. Zippybonzo | Talk (he|him) 06:42, 14 April 2023 (UTC)
- So I don't have to press r and then warn with the menu? I just can use the warn menu? OK. (Roundish ⋆t) 20:03, 14 April 2023 (UTC)
Newbie question
[edit]I apologize ahead of time if this is a dumb question; I tried asking for help in the IRC and was directed here. I recently started using the tool, and some of the edits I come across I feel as if I don't have the expertise or knowledge to decide whether to revert or not, so I would prefer another user look at them. I am just wanting to make sure that using the space bar to go to the next edit doesn't "approve" (for lack of a better term) the edits I am "space baring" and that these edits will still appear in other users feeds if I do so. Thanks! Wikipedialuva (talk) 00:01, 8 May 2023 (UTC)
- Hey @Wikipedialuva! Pressing the space bar just skips the edit, so it'll still appear in other users' feeds. — Ingenuity (talk • contribs) 00:19, 8 May 2023 (UTC)
- Hi @Ingenuity! Thanks for clarification and such a fast response. Also thanks for making such a great tool! Wikipedialuva (talk) 00:21, 8 May 2023 (UTC)
Queue filters
[edit]Hi, this tool is useful for a Huggle-like tool for when I'm using public computers. However, there should be more queue filters such as including/excluding edits with tags, splitting talk pages, and ignoring other reverts. Thanks! 2NumForIce (speak|edits) 21:15, 8 May 2023 (UTC)
Error starting AntiVandal today
[edit]Hi, when I first loaded AntiVandal today it failed to start and stayed stuck on the pre-loading screen. I looked in the (Chrome) console and saw this error:
Uncaught TypeError: Cannot assign to read only property '0' of string 'q'
at AntiVandal.loadOptions (index.php?title=User:Ingenuity/AntiVandal.js&action=raw&ctype=text/javascript:76:31)
at new AntiVandal (index.php?title=User:Ingenuity/AntiVandal.js&action=raw&ctype=text/javascript:14:23)
at index.php?title=User:Ingenuity/AntiVandal.js&action=raw&ctype=text/javascript:2806:15
That code block seems to be in loadOptions()
:
for (const item in options.controls) {
for (let i = 0; i < options.controls[item].length; i++) {
options.controls[item][i] = options.controls[item][i].toLowerCase();
}
}
For options.controls
I have
{
"markAsVandalism": "q",
"continueToNext": " ",
"queueBack": "[",
"queueForward": "]",
"rollback": "r",
"vandalism": ["q"],
"previous": ["[", "ArrowLeft"],
"next": ["]", "ArrowRight", " "]
}
Looking at it, maybe all of the control options should be arrays and not a mix of arrays and strings? (Or the code should handle both.) If I have time today I may investigate further but wanted to report it in case it's an easy fix for you etc. It looks like it loads option from some browser store so maybe the updated version today is incompatible with some particular older version's creations of options.controls? Thanks for the great tool and let me know if there are any questions. Skynxnex (talk) 14:32, 24 May 2023 (UTC)
- Thanks for the report, @Skynxnex. Should be fixed now. — Ingenuity (talk • contribs) 14:57, 24 May 2023 (UTC)
- Yep, loaded correctly this time. Thanks for the quick fix, @Ingenuity. Skynxnex (talk) 15:01, 24 May 2023 (UTC)
Mobile interface
[edit]A mobile interface might be nice, similar to SWViewer, because I use AntiVandal on mobile a lot, and on my iPhone 13 Pro Max, which is the biggest screen Apple make phones in, the buttons are wrapping meaning that the next edit button is on the left and the previous edit is on the right. If you want a UI design for mobile, I can do that for you. Thanks, Zippybonzo | Talk (he|him) 17:25, 25 May 2023 (UTC)
- Making it more mobile-friendly is something I've wanted to do for a while. It might be a while before I can implement this, though. — Ingenuity (talk • contribs) 17:42, 25 May 2023 (UTC)
- This would honestly be great! As a mobile user myself, I can only earn users up to level 2 using your tool because of some issues with text overlapping. I look forward to a potential mobile version. - 🔥𝑰𝒍𝒍𝒖𝒔𝒊𝒐𝒏 𝑭𝒍𝒂𝒎𝒆 (𝒕𝒂𝒍𝒌)🔥 14:08, 29 May 2023 (UTC)
- Just out of curiosity, @Illusion Flame, what size of device do you use? Is it a phone or a larger tablet, like an iPad? — Ingenuity (talk • contribs) 14:21, 29 May 2023 (UTC)
- I use a iPhone 14 plus. - 🔥𝑰𝒍𝒍𝒖𝒔𝒊𝒐𝒏 𝑭𝒍𝒂𝒎𝒆 (𝒕𝒂𝒍𝒌)🔥 14:41, 29 May 2023 (UTC)
- 🔥𝑰𝒍𝒍𝒖𝒔𝒊𝒐𝒏 𝑭𝒍𝒂𝒎𝒆 (𝒕𝒂𝒍𝒌)🔥 14:48, 29 May 2023 (UTC)
- Illusion Flame To be honest, I end up rotating between portrait and landscape to try to warn people beyond level 2. Also It's functional on my iPad, so a new UI wouldn't need including for tablets. Zippybonzo | Talk (he|him) 19:47, 30 May 2023 (UTC)
- Good to know. I haven’t got an IPad, but it might be a good investment. @Ingenuity I know you are super busy, and that a mobile UI would be a lot of work, but it would honestly be a great quality of life change. - 🔥𝑰𝒍𝒍𝒖𝒔𝒊𝒐𝒏 𝑭𝒍𝒂𝒎𝒆 (𝒕𝒂𝒍𝒌)🔥 19:49, 30 May 2023 (UTC)
- Illusion Flame To be honest, I end up rotating between portrait and landscape to try to warn people beyond level 2. Also It's functional on my iPad, so a new UI wouldn't need including for tablets. Zippybonzo | Talk (he|him) 19:47, 30 May 2023 (UTC)
- I use a iPhone 14 plus. - 🔥𝑰𝒍𝒍𝒖𝒔𝒊𝒐𝒏 𝑭𝒍𝒂𝒎𝒆 (𝒕𝒂𝒍𝒌)🔥 14:41, 29 May 2023 (UTC)
- Just out of curiosity, @Illusion Flame, what size of device do you use? Is it a phone or a larger tablet, like an iPad? — Ingenuity (talk • contribs) 14:21, 29 May 2023 (UTC)
- This would honestly be great! As a mobile user myself, I can only earn users up to level 2 using your tool because of some issues with text overlapping. I look forward to a potential mobile version. - 🔥𝑰𝒍𝒍𝒖𝒔𝒊𝒐𝒏 𝑭𝒍𝒂𝒎𝒆 (𝒕𝒂𝒍𝒌)🔥 14:08, 29 May 2023 (UTC)
Configure watch duration
[edit]If I warn a user, they are watched indefinitely. However I prefer to have it cleared after a week. Is there a way to set this? Aaron Liu (talk) 23:46, 26 May 2023 (UTC)
- Yep, there is. I've added this to the "features to add" section at the top of the page. I'll try to remember to add this next time I update the script. — Ingenuity (talk • contribs) 23:56, 26 May 2023 (UTC)
- @Ingenuity: Any update on this? I would love for this feature to be added. Rusty4321 talk contribs 01:55, 10 March 2024 (UTC)
- Hey @Rusty4321! Sorry, I've been very busy for a while now and haven't really had the time to do a big update. I still intend to add this in the future, but unfortunately I can't say when that'll be. — Ingenuity (talk • contribs) 02:38, 10 March 2024 (UTC)
- @Ingenuity: Any update on this? I would love for this feature to be added. Rusty4321 talk contribs 01:55, 10 March 2024 (UTC)
Edit summaries
[edit]I've noticed that the edit summary is reverted edits by X user, it would be better if it adapted to the revert reason if you specified through the warn menu, because then it can be used to revert good faith edits that are problematic as it specifies a basic reason. Zippybonzo | Talk (he|him) 19:48, 30 May 2023 (UTC)
- I'm planning on adding this in the next update. — Ingenuity (talk • contribs) 00:25, 8 June 2023 (UTC)
- About the good faith revert suggestion, could there be an option in the script such as "Revert (AGF)", in that an edit summary is required?, and use undo instead of rollback? (by the way the edit summary should be "Reverted good faith edits by $2 (talk): insert required edit summary (AV)".). If you don't wanna revert the good faith edit press cancel. 64andtim (chat) 21:18, 5 July 2023 (UTC)
Undo feature
[edit]Can you add a feature that allows users to revert one edit instead of all edits? Basically, include the Undo feature. foobarbaz 03:30, 31 July 2023 (UTC)
Bug?
[edit]How come I can't warn users as the software thinks its an "edit conflict". foobarbaz 15:46, 3 August 2023 (UTC)
- In my experience, if AV reports an edit conflict when you are trying to revert+warn or just revert, 99% of the time it means that the edit was already reverted by another editor. So AV does nothing, assuming the user has already been properly warned if needed. I sometimes manually inspect the page history and talk page of the editor in question to ensure it was actually done properly if the edit in question seems to warrant it. If it seems to be happening other times, then it may be helpful to describe in more details the situtation. (Also @FooBarBaz: your current signature seems to lack any of the link(s) that WP:SIGLINK requires and may be breaking WP:REPLYTOOL in at least some cases.) Skynxnex (talk) 16:54, 3 August 2023 (UTC)
Add more revert and warn templates
[edit]Could you add more multi-level user warning templates such as uw-defamatory, uw-harass and many more used by Twinkle or Ultraviolet? Thank you. signed, 64andtim (chat) 00:17, 14 August 2023 (UTC)
Help
[edit]Can you bring this tool to Hindi Wikipedia? @Ingenuity Because vandalism keeps happening there. MP1999 ❯❯❯ Talk 12:41, 31 August 2023 (UTC)
- @MP1999: you should be able to add this code to your common.js in the Hindi Wikipedia:
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Ingenuity/AntiVandal.js&action=raw&ctype=text/javascript");
- You should then be able to use the script there, but I've never tested so it's possible it won't work. — Ingenuity (talk • contribs) 13:03, 31 August 2023 (UTC)
Suggestion of revert summaries
[edit]I have made custom revert summary suggestions, as well as additions of some more warning templates (if suggested). Feel free to change this to your liking.
Extended content
|
---|
|
@Ingenuity: I've pinged you as a courtesy, thanks! Signed, 64andtim (chat | ¿nos vamos?) 04:59, 11 September 2023 (UTC)
Possible failure.
[edit]Either there is almost no vandalism going on at all right now or antivandal is broken. Edits are only showing up when I have the ores filter set to 0. Even if I set it to .05, it shows no edits. Idontknowwhattouseasmyusername300 (talk) 19:00, 11 September 2023 (UTC)
- Glad it's not just me haha. Been happening all day today. Troutfarm27 (Talk) 05:27, 12 September 2023 (UTC)
- Even when connected to my college's wifi, and even at 0.05 ORES, it looks like I'll just use Ultraviolet or Huggle for now. Signed, 64andtim (chat | ¿nos vamos?) 14:14, 12 September 2023 (UTC)
- I just realzed the recent changes page is also not updating unless the page is reloaded. Idontknowwhattouseasmyusername300 (talk) 15:11, 12 September 2023 (UTC)
- Even when connected to my college's wifi, and even at 0.05 ORES, it looks like I'll just use Ultraviolet or Huggle for now. Signed, 64andtim (chat | ¿nos vamos?) 14:14, 12 September 2023 (UTC)
- Looks like ORES is down for some reason. Since the default ORES score is 0, it means that no edits are shown if the threshold is set to above 0. Hopefully it should be back up soon; if it isn't, I'll make a fix to the code. — Ingenuity (talk • contribs) 15:15, 12 September 2023 (UTC)
- By the way, I've made a suggestion about custom revert summaries above this section. Signed, 64andtim (chat | ¿nos vamos?) 15:28, 12 September 2023 (UTC)
- Looks like ORES is being removed permanantly.https://wikitech.wikimedia.org/wiki/ORES Idontknowwhattouseasmyusername300 (talk) 18:55, 13 September 2023 (UTC)
- Yeah, ORES is done. What the hell WMF is doing? Nearly all antivandalism tools, Huggle, SWR, AV are all affected. -Lemonaka 17:05, 14 September 2023 (UTC)
- SWR still works well, may have a try to that tool. -Lemonaka 17:10, 14 September 2023 (UTC)
- Recent changes and even SWViewer aren't even working right because of this – possible collateral issues. Signed, 64andtim (any problems?) 17:17, 14 September 2023 (UTC)
- SWR still works well, may have a try to that tool. -Lemonaka 17:10, 14 September 2023 (UTC)
- I'll mention that beginning recently (definitely by 19 September 2023? Maybe before), AntiVandal began getting what appears to be ORES scores and operating at least apparently normally. For now. (I have noticed that there seems to be more unreverted vandalism from the period of time ORES was malfunctioning.) Skynxnex (talk) 19:44, 20 September 2023 (UTC)
- Seems like this problem may be happening agian, after a few minutes, the edits stop showing up unless I reload the page. Idontknowwhattouseasmyusername300 (talk) 15:29, 31 October 2023 (UTC)
- Nvm, seems like it was just being abnormally slow. Idontknowwhattouseasmyusername300 (talk) 15:37, 31 October 2023 (UTC)
I've been on AntiVandal for ten minutes at it's working fine. Sincerely, Novo Tape (She/Her)My Talk Page 15:38, 31 October 2023 (UTC)Never mind, didn't see your reply. Sincerely, Novo Tape (She/Her)My Talk Page 15:38, 31 October 2023 (UTC)
Non-rollbackers able to use AntiVandal?
[edit]Looking at this user's rights, they don't have rollback and don't appear to be on the AntiVandal whitelist. However, their contribs and common.js imply that they can use AntiVandal. I'm confused how this happens? Am I missing something? Sincerely, Novo Tape (She/Her)My Talk Page 18:36, 20 September 2023 (UTC)
- I'm 90% sure that's a Masterofroblox sock. They have a history of using my script without the rollback permission. I'll ask a CU to confirm, but the other accounts might be too stale for a check, unfortunately. — Ingenuity (talk • contribs) 19:22, 20 September 2023 (UTC)
- Thanks for the reply! Sincerely, Novo Tape (She/Her)My Talk Page 19:48, 20 September 2023 (UTC)
- This all started when they add this to their common.js. Ingenuity, you might need to update AntiVandal (restricting it to users with rollback or sysop rights and/or inclusion in the whitelist). Signed, 64andtim (any problems?) 20:33, 20 September 2023 (UTC)
- The script already prevented people without rollback from using it, but anyone with basic knowledge of Javascript can get around that quickly. I've edited the script so it's a bit harder for them to do so. — Ingenuity (talk • contribs) 13:10, 21 September 2023 (UTC)
- This all started when they add this to their common.js. Ingenuity, you might need to update AntiVandal (restricting it to users with rollback or sysop rights and/or inclusion in the whitelist). Signed, 64andtim (any problems?) 20:33, 20 September 2023 (UTC)
- Thanks for the reply! Sincerely, Novo Tape (She/Her)My Talk Page 19:48, 20 September 2023 (UTC)
AV placed warning under wrong section
[edit]This is a minor and rare glitch, at least in my experience, so it's not exactly important to fix, but in this diff AV placed the warning under the wrong section. The section headers are all written using "==", so it's not as if the wikitext is weird. Sincerely, Novo Tape (She/Her)My Talk Page 17:50, 6 December 2023 (UTC)
- The same thing happened when I warned an IP here. – 64andtim (talk) 06:29, 15 December 2023 (UTC)
Keys for custom reverts
[edit]I believe that having the ability to map keys to the different custom revert reasons could improve speed, especially for the most common custom reasons. Fanfanboy (talk) 16:10, 19 April 2024 (UTC)