Wikipedia talk:Ultraviolet/2020/June
![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Feedback from my first through edits with RedWarn
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Let me start by saying this: This is by and far the most user-friendly counter-vandalism tool I have used. It's got a better interface than Huggle and the fact that you're kept on the same page is a big plus over Twinkle. That being said, there's a couple things I think could be improved.
- It keeps putting my warnings above all the existing warnings on a page, like here [1]. I think it makes more sense to go beneath existing warnings like Twinkle does.
- Since it can tell what the highest warning a user has received in a month is, automatically selecting that warning would be a really cool quality-of-life tweak.
- The RedWarn option on Special:RecentChanges hasn't ever shown up, even after clearing my cache and refreshing the page. I'm running the most recent version of the Brave browser, if that helps.
Overall, this is fantastic and the kind of tool I've always wanted to make but never knew where to begin. I'm really excited to have hopped on it in the beginning, because I have a feeling it'll be commonplace soon enough :) ThadeusOfNazerethTalk to Me! 02:47, 29 April 2020 (UTC)
- Whoops, just thought of something else - When Twinkle adds your comments to the warning, it differentiates them from the standard template using italics. I think a lot of users skim the warning templates and might miss specific comments if they're the same font as the rest of the warning. ThadeusOfNazerethTalk to Me! 03:55, 29 April 2020 (UTC)
- @ThadeusOfNazereth: Thank you very much for your feedback! User friendliness was one of my main goals while I designed this tool and I'm glad to hear it worked out well. The bugs and features you've suggested have been added to the "BugSquasher" with intentions to have these resolved within the next several hours. Other features which may require more work may be added over the next few days. In regards to automatically selecting warnings, I'd like to consider this as an option but not enable it by default as this could increase overly harsh notices. I'm also looking for people who'd like to contribute to the user guide as it is hard for me to strike a balance between both writing up new features and developing them (hence why the user guide is so incomplete). If you're interested, let me know. JamesHSmith6789 (talk) 13:15, 29 April 2020 (UTC)
- @ThadeusOfNazereth: I have tested on Epic Browser and could not reproduce your issue. It worked normally as I'd expect for a Chromium based browser. Note that at the moment it only works on the Special:RecentChanges page. JamesHSmith6789 (talk) 15:58, 29 April 2020 (UTC)
- @ThadeusOfNazereth: Thank you very much for your feedback! User friendliness was one of my main goals while I designed this tool and I'm glad to hear it worked out well. The bugs and features you've suggested have been added to the "BugSquasher" with intentions to have these resolved within the next several hours. Other features which may require more work may be added over the next few days. In regards to automatically selecting warnings, I'd like to consider this as an option but not enable it by default as this could increase overly harsh notices. I'm also looking for people who'd like to contribute to the user guide as it is hard for me to strike a balance between both writing up new features and developing them (hence why the user guide is so incomplete). If you're interested, let me know. JamesHSmith6789 (talk) 13:15, 29 April 2020 (UTC)
Bug with RedWarn
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
When RC patrolling w/ Redwarn, I noticed that the vandalism warning messages show up on your (JamesHSmith6789's) signature instead of mine seen here. Hope your talk page didn't get too decimated :P dibbydib (T ・ C) 22:52, 29 April 2020 (UTC)
- @Dibbydib: Ugh, NoWiki tags not working again. Quite frustrating, and working on a new edit interface too. Will fix in next update within next hour or so. JamesHSmith6789 (talk) 22:54, 29 April 2020 (UTC)
- @Dibbydib: Well NoWiki tags continued to fail me so I've had to turn the code into a great big obfuscated mess for it to actually work right, but rev4 is out! Maybe try the new recent edits browser and let me know what you think? JamesHSmith6789 (talk) 01:01, 30 April 2020 (UTC)
- Maybe use noinclude tags? dibbydib (T ・ C) 02:53, 30 April 2020 (UTC)
- Nevermind - it works now. Thanks! Also like the new RC menu. dibbydib (T ・ C) 02:56, 30 April 2020 (UTC)
- Maybe use noinclude tags? dibbydib (T ・ C) 02:53, 30 April 2020 (UTC)
- @Dibbydib: Well NoWiki tags continued to fail me so I've had to turn the code into a great big obfuscated mess for it to actually work right, but rev4 is out! Maybe try the new recent edits browser and let me know what you think? JamesHSmith6789 (talk) 01:01, 30 April 2020 (UTC)
Monobook
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Does RedWarn work with the Monobook skin? AFAICT most of the screenshots appear to show it running on Vector. lavender|(formerly HMSSolent)|lambast 07:54, 30 April 2020 (UTC)
- @HMSLavender: Yes, it works on all themes that show top icons - if a theme isn't supported a dialog will appear letting you know. JamesHSmith6789 (talk) 09:59, 30 April 2020 (UTC)
- Cool, thanks. I'll go ahead and give it a try and see how it works. lavender|(formerly HMSSolent)|lambast 12:22, 30 April 2020 (UTC)
Update: RW now works on ALL themes Ed6767 (talk) 17:52, 22 May 2020 (UTC)
Should subst Template:Welcome
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
... or otherwise AnomieBOT has to clean up after every welcome using the tool. See Special:Diff/954057548. * Pppery * it has begun... 13:26, 30 April 2020 (UTC)
- Thanks, @Pppery:, an oversight on my part. Added to the Bugsquasher for rev5. JamesHSmith6789 (talk) 14:36, 30 April 2020 (UTC)
still getting "your account doesn't have permission" popup
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
James, you left a message for me that the popup had been fixed, but i'm still getting it. is there anything i need to do for it to reset? I've logged out and back in and rebooted my computer. thx ToeFungii (talk) 20:21, 30 April 2020 (UTC)
That's applying to me too. Henry20090 (talk) 21:09, 30 April 2020 (UTC)
- @ToeFungii and Henry20090: Apologies, I should've clarified. This has been fixed in rev5, however I haven't rolled this out yet. This update is coming within the next 10-20 mins, and also adds a preferences page to change the appearance of the patrol page to your preferences as you suggested, ToeFungii. You will get a toast notification when the update is applied. JamesHSmith6789 (talk) 21:34, 30 April 2020 (UTC)
- no prob. you did say it was to be rolled out i think so i apologize. i'll look for the toast. again much appreciated. it's reached that time of day where there are a lot of vandals on so i'm gettinga good workout. ToeFungii (talk) 21:48, 30 April 2020 (UTC)
- @ToeFungii, Henry20090, and A.WagnerC: Update is out! Flush your cache (with shift-refresh) and you should be able to use without the bug. Thanks for using RedWarn! JamesHSmith6789 (talk) 21:56, 30 April 2020 (UTC)
- no prob. you did say it was to be rolled out i think so i apologize. i'll look for the toast. again much appreciated. it's reached that time of day where there are a lot of vandals on so i'm gettinga good workout. ToeFungii (talk) 21:48, 30 April 2020 (UTC)
- Sorry to say still getting it. I did the shift-refresh, also deleted my browser cache, and rebooted. It seems to be more an eyesore than anything as redwarn still works, so no biggie. ToeFungii (talk) 22:24, 30 April 2020 (UTC)
- @ToeFungii: I realise the issue now. I'll apply a quick patch again. JamesHSmith6789 (talk) 00:12, 1 May 2020 (UTC)
- Patched! JamesHSmith6789 (talk) 00:23, 1 May 2020 (UTC)
- @ToeFungii: I realise the issue now. I'll apply a quick patch again. JamesHSmith6789 (talk) 00:12, 1 May 2020 (UTC)
would it be helpful?
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Would it help you if I tried to help with your documentation some? There's a few things I think I could help with (like for example, rather than going to special pages/recent changes, you can go to recent changes via the interaction heading on the left of the screen. It's just a few things like that and clarifying the color that i mentioned on my talk page. I'd make comments and you could accept or reverse without any chance of hurting my feelings. I just know how much you're doing and thought I might be able to help a touch. CheersToeFungii (talk) 22:28, 30 April 2020 (UTC)
- @ToeFungii: Yes, absolutely! It's quite hard for me to do the fixes and document them. Do you have Discord? JamesHSmith6789 (talk) 22:37, 30 April 2020 (UTC)
- I do not. I was going to edit the user page (if i can if not maybe i can figure out how to use a sandbox as proxy.). I forgot about the doc. Is discord easy to use? (I did programming for almost 30 years but i've been out of that game for about 6 years. (Worse case I can type it and pass it and you can push it in. You know your tools far better than me. During my tenure I wrote tech docs for both users and techs so i'm not bad at it.) ToeFungii (talk) 23:09, 30 April 2020 (UTC)
- @ToeFungii: Discord is very easy to use. It is essentially a chat room client, you can download it at https://discord.gg - this is just so I can talk to you easier and also send the link for the Google Doc so you can edit the user guide. Once you have it downloaded, please let me know so I can give you my username. Thank you so much for helping out! JamesHSmith6789 (talk) 23:42, 30 April 2020 (UTC)
- I do not. I was going to edit the user page (if i can if not maybe i can figure out how to use a sandbox as proxy.). I forgot about the doc. Is discord easy to use? (I did programming for almost 30 years but i've been out of that game for about 6 years. (Worse case I can type it and pass it and you can push it in. You know your tools far better than me. During my tenure I wrote tech docs for both users and techs so i'm not bad at it.) ToeFungii (talk) 23:09, 30 April 2020 (UTC)
suggestion for new messages, or am i not seeing them
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Are there welcome messages that can be sent (TW has them). To follow along with AGF and because of a user that i just came across, they made an edit but if I used TW I would have left a welcome message vs editing test. They might be in the drop down, am I just missing them? thx ToeFungii (talk) 02:33, 1 May 2020 (UTC)
- @ToeFungii: Hey! Additional quick welcome features are in the bugsquasher for the next revision or two, depends how much I can get done. Updates on how you can use this will be coming in the near future following the relevant release. JamesHSmith6789 (talk) 10:07, 1 May 2020 (UTC)
Initial feedback
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Firstly, can you replace the "Thumbs up" with something else (like a thumbs up + revert arrow)? I, as a wikiHow contributor, have associated thumbs up with "Thanks" as that is how it is done on wikiHow.
Secondly, have you thought of restricting the tool (at least the instant parts of the tool) to rollbackers and admins? Then edits can be tagged with #mw-rollback as well. Aasim 03:49, 1 May 2020 (UTC)
- On another note the icons added to the "topicon" space actually breaks those icons. The protection and whatever icons were present before completely move in a weird position after the script adds the preferences and current revision icons. Also, you would probably want to disable the script on special pages that are not "Recent changes" as the "current revision" button appears on special pages as well. Just my two cents. Aasim 06:03, 1 May 2020 (UTC)
- @Awesome Aasim: Thank you for the feedback! Regarding restrictions, the only restrictions in place regarding rollbacks ext. is that you must be an autoconfirmed or confirmed user to use the tool. In cases of severe vandalism, I can quickly restrict use of the tool to extended-confirmed users, but I doubt I will ever need to do this, not to mention the disruption it will cause to genuine contributors. There are thousands of edits to Wikipedia and quite frankly, a lack of recent changes patrollers to ensure that vandalism doesn't remain on Wikipedia. My additional reasoning for this is essentially that it's the same in Twinkle, you can use the rollback features there without rollback permissions, so I have no plans to restrict the use of the tool except in a case of severe misuse. I had attempted to add the Rollback tag to the edits, unfortunately the API will not allow for this tag to be added manually. In addition, I am not a graphic designer, so I cannot include any additional icons past what is that out in the material icons pack, but I am planning to allow users to change the icons of each action in the preferences page. Top-icons breaking isn't a major priority, but it is a side effect of the method I'm using to append the icons. Again, thank you for the feedback! JamesHSmith6789 (talk) 10:05, 1 May 2020 (UTC)
- No prob! :D Aasim 10:07, 1 May 2020 (UTC)
- @Awesome Aasim: Glad to let you know that in the latest revision you can set the rollback icons (including the thumbs-up) to any icon you like. Try it in your preferences. Ed6767 (talk) 20:07, 3 May 2020 (UTC)
- No prob! :D Aasim 10:07, 1 May 2020 (UTC)
- @Awesome Aasim: Thank you for the feedback! Regarding restrictions, the only restrictions in place regarding rollbacks ext. is that you must be an autoconfirmed or confirmed user to use the tool. In cases of severe vandalism, I can quickly restrict use of the tool to extended-confirmed users, but I doubt I will ever need to do this, not to mention the disruption it will cause to genuine contributors. There are thousands of edits to Wikipedia and quite frankly, a lack of recent changes patrollers to ensure that vandalism doesn't remain on Wikipedia. My additional reasoning for this is essentially that it's the same in Twinkle, you can use the rollback features there without rollback permissions, so I have no plans to restrict the use of the tool except in a case of severe misuse. I had attempted to add the Rollback tag to the edits, unfortunately the API will not allow for this tag to be added manually. In addition, I am not a graphic designer, so I cannot include any additional icons past what is that out in the material icons pack, but I am planning to allow users to change the icons of each action in the preferences page. Top-icons breaking isn't a major priority, but it is a side effect of the method I'm using to append the icons. Again, thank you for the feedback! JamesHSmith6789 (talk) 10:05, 1 May 2020 (UTC)
RedWarn
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
@Ed6767: I just started using RW, and I immediately noticed it does not tell you how many edits you are rolling back when you rollback. This is an important feature which can be found in TW and I suggest putting it on your priority list to implement to RW. I will come back here if I have any other feedback. Otherwise RW is easy to use, well designed and is an overall awesome tool which destroys TW in my opinion. Hillelfrei• talk • 17:21, 1 May 2020 (UTC)
- @Hillelfrei: Thank you! I hope many more improvements can come as I move through the beta with feedback. The decision not to include a count of the number of edits you are going to revert was deliberate for two reasons 1. the "User has made x edits in a row" is quite confusing as it isn't really informative 2. It reduces wait times as a smaller API call can be used, finding the latest revision not by the user, rather than looking back ~50 edits as Twinkle does to try and find one. I understand why this may be useful, hence the inclusion of the "rollback preview" feature, which should always be used if you're uncertain about a rollback, especially in cases of Good Faith edits. If you have any more suggestions, please let me know. Ed6767 (talk) 17:49, 1 May 2020 (UTC)
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
RedWarn
The rollback is now working for me as a autoconfirmed user. But there's something I didn't like very much. Sometimes I right-click to open the user's sandbox in another tab, but this is no longer possible. It would be nice if you had the option to open the "talk" in another tab. ✍ A.WagnerC (talk) 18:58, 1 May 2020 (UTC)
- @A.WagnerC: I do the same. For now, I've mitigated it by using the middle mouse button (three finger tap on trackpad or click mouse wheel on a link) but I'm going to add this into the next update. Ed6767 (talk) 19:00, 1 May 2020 (UTC)
- Excellent update. ✍ A.WagnerC (talk) 15:50, 3 May 2020 (UTC)
Welcoming
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
@Ed6767: Upon reverting an edit on RedWarn, you are automatically given a pop-up to warn the user. However, if it's a new user who doesn't yet have a talk page, {{welcome-anon-unconstructive}} may be more a more appropriate introduction than a caution. This is an option on TW, what do you think about implementing this to RW? Hillelfrei• talk • 17:13, 3 May 2020 (UTC)
- @Hillelfrei:, thank you for your suggestion. I think when I add more quick welcome options, I should add the option, however you might have to do this by performing the rollback, then right-clicking the quick welcome option, when the feature is implimented ofc. But I'll have a think about it. Ed6767 (talk) 17:52, 3 May 2020 (UTC)
FYI, STiki is no longer active
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Wanted to let you know that STiki is no longer active which makes Redwarn potentially even more valuable although it would need to incorporate the id'ing of vandalism better like STiki did. You might want to take a look at WikiLoop_Battlefield that is a new vandalism tool trying to start in case you hadn't come across it. ToeFungii (talk) 23:10, 5 May 2020 (UTC)
- @ToeFungii: Huh, hadn't even heard of those. I think WikiLoop Battlefield is more on a different scope, but maybe in future if people like it a merger could be possible? Idk. Just a random thought, unlikely to ever happen. Ed6767 (talk) 23:36, 5 May 2020 (UTC)
- I've tried using it a little and not very crazy about it. Never had the op to use STiki so I can't comment on it. I've used Redwarn and do think it's got some good things better than TW (but still needs more dev). The one piece that would take RW to the next level though is improved id'ing of changes that may be vandalism, but I think you're going about it the right way because locking down the tool has to be first before any scope change.ToeFungii (talk) 23:51, 5 May 2020 (UTC)
One thing that would be beneficial
Is if there was a tool that would allow me to report content to oversighters. This is because I sometimes come across spreadable content and I would like to be able to report it fast. That would be nice for RW. Aasim 03:16, 6 May 2020 (UTC)
- @Awesome Aasim: Yes, I am considering this as a potential feature as other tools lack this and otherwise it does take quite some time assembling the report and emailing it off so I'll add this to the BugSquasher. Thank you for the feedback! Ed6767 (talk) 09:52, 6 May 2020 (UTC)
Potential feature
In future, could redwarn list articles for AfD/speedy/PROD in the future? It'd be a pretty neat feature for article maintenance.
Love the new updates so far (especially Report User) to it! dibbydib blabber or snoop 07:56, 6 May 2020 (UTC)
- @Dibbydib: Yes, they're definitely coming. Issue is they're just really really boring and convoluted to implement with the amount of templates, so it's just kinda boring to have to trail through all the docs and ugh. But they will be coming, probably CSD first as I've already done some work on that. Ed6767 (talk) 10:16, 6 May 2020 (UTC)
Feedback for Redwarn
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hi, I am enjoying using the tool as it makes fighting vandalism much easier compared to Twinkle. I especially like the feature where a pop-up like a box appears when 'REDWARN' is clicked on the recent changes page.
The only bug I've noticed is when warning a user on their talk page, RedWarn does not detect any previous warnings and as you can't see the talk page when setting the warning you don't know what the past users history is without making a new tab with the user's talk page.
I know it's probably quite a stretch to fix this but it would improve my experience immensely.--Landihan (talk) 09:24, 6 May 2020 (UTC)
- @Landihan: Thank you for the feedback! Did you know that you can actually preview a users talk page by clicking the preview userpage button (this is the furthest right button next to the "target" box)? Let me know if this helps you here. Ed6767 (talk) 09:47, 6 May 2020 (UTC)
- Also, I should mention that using the RedWarn link in the recent changes is deprecated. The best way to do recent changes patrol with RedWarn is to use RedWarn patrol (refer to images below) Ed6767 (talk) 09:55, 6 May 2020 (UTC)
Thoughts
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
In my opinion, I think RedWarn is just like a more modern looking version of Twinkle, without the deletion & protection stuff.--BSMIsEditing (talk) 11:19, 6 May 2020 (UTC)
Use mw-undo
instead of undo
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
when tagging edits. Can you fix that in the code? "mw-undo" will do the same thing as Twinkle. Or use ?action=undo or ?action=rollback (the latter requires rollback rights). I don't know. Aasim 04:22, 7 May 2020 (UTC)
- BTW I found a good place to place the buttons so it does not break the topicons: The "Page tools" section. And maybe you can have button labels as well, like ⚙ RedWarn settings Aasim 07:51, 7 May 2020 (UTC)
- @Awesome Aasim: Will fix in next revision! Thanks for pointing that out. I'd rather not clutter up the interface too much, but for my ease could you let me know the class name or ID of other positions you're thinking of? Thanks. Ed6767 (talk) 11:59, 7 May 2020 (UTC)
- @Ed6767: You can just create a new section on the sidebar called "RedWarn tools" and add it to the sidebar like this (this may have redundant statements but that is what makes it work with each skin):
function addToRWSidebar(text) { $('<div class="sidebar-chunk" id="redwarn"><h2><span>RedWarn tools</span></h2><div class="sidebar-inner">' + text + '</div></div>').prependTo("#mw-site-navigation"); $('<div class="portal" role="navigation" id="redwarn" aria-labelledby="p-redwarn-label">' + text + '</div>').prependTo("#mw-panel"); $('<div role="navigation" class="portlet generated-sidebar" id="redwarn" aria-labelledby="p-redwarn-label">' + text + '</div>').prependTo("#sidebar"); $('<div class="portlet" id="redwarn">' + text + '</div>').prependTo("#mw_portlets"); $('<ul id="redwarn">' + text + '</ul>').appendTo("#mw-mf-page-left"); //minerva $("#p-navigation").prependTo("#mw-panel"); $("#p-search").prependTo("#quickbar"); $('#p-logo').prependTo("#mw-site-navigation"); $('#p-logo').prependTo("#mw-panel"); $('#p-logo').prependTo("#sidebar"); $('#p-logo').prependTo("#mw_portlets"); $('ul.hlist:first').appendTo('#mw-mf-page-left'); } $(document).ready(function () { var RWSidebar = "" RWSidebar += ` <h3 id="redwarn-label" lang="en" dir="ltr">RedWarn tools</h3><div class="mw-portlet-body body pBody" id="redwarn-tools"> `; if (mw.config.get("wgRelevantPageName").includes("User:") || mw.config.get("wgRelevantPageName").includes("User_talk:")) { RWSidebar += ` <!-- BEGIN USER ONLY ICONS --> <div id="newUsrMsg" class="icon material-icons"><span style="cursor: pointer;" onclick="wikiEditor.ui.newMsg();">send</span></div> <div class="mdl-tooltip mdl-tooltip--large" for="newUsrMsg"> New Message </div> <div id="welcomeUsr" class="icon material-icons"><span style="cursor: pointer;" onclick="wikiEditor.info.quickWelcome();">sentiment_satisfied_alt</span></div> <div class="mdl-tooltip mdl-tooltip--large" for="welcomeUsr"> Quick Welcome </div> <div id="warnUsr" class="icon material-icons"><span style="cursor: pointer;" onclick="wikiEditor.ui.beginWarn();">report</span></div> <div class="mdl-tooltip mdl-tooltip--large" for="warnUsr"> Send Notice </div> <div id="reportUsr" class="icon material-icons"><span style="cursor: pointer;" onclick="wikiEditor.ui.openAdminReport();">gavel</span></div> <div class="mdl-tooltip mdl-tooltip--large" for="reportUsr"> Report to Admin </div> ` } // end this section RWSidebar += `<br> <!-- START PAGE ONLY ICONS --> <div id="mrevPg" class="icon material-icons"><span style="cursor: pointer;" onclick="wikiEditor.info.isLatestRevision(mw.config.get('wgRelevantPageName'), 0, ()=>{});">watch_later</span></div> <div class="mdl-tooltip mdl-tooltip--large" for="mrevPg"> Latest revision </div> <div id="rwOpenPref" class="icon material-icons"><span style="cursor: pointer;" onclick="wikiEditor.ui.openPreferences();">settings</span></div> <div class="mdl-tooltip mdl-tooltip--large" for="rwOpenPref"> RedWarn Preferences </div> ` RWSidebar += ` </div> `; addToRWSidebar(RWSidebar); //Timeless event handler so that dropdown with buttons expands on click $(document).click(function (e) { if ($(e.target).closest("#redwarn").length == 0) { $("#redwarn").removeClass("dropdown-active"); } }) $(".sidebar-chunk").find("h2").click(function (e) { e.preventDefault(); if ($(this).parent().attr("id") != "redwarn") { $("#redwarn").removeClass("dropdown-active"); } else { $("#redwarn").toggleClass("dropdown-active"); } }) });
Of course you can add appropriate checking as well to make sure the user is authorized to use the gadget. That way the buttons are in a location such that it will not affect the already existing topicons with weird HTML. (PS you probably also want to disable the "Latest revision" button on special pages) Aasim 17:18, 7 May 2020 (UTC)- @Awesome Aasim: Thanks for the sample code! I'll add this as an option, will probably still got for the icon spot by default, but having the option to choose where you'd like the icons would be useful. If you're interested in contributing to the code more, the repo is at [2]https://github.com/ed6767/redwarn. While I'm get to make the actual documentation on how to contribute, essentially, make sure you have PHP installed, clone the repo, then use to start the web server, edit your common.js and comment out release RedWarn and replace it with your dev server (i.e
php -S localhost:9696
). Everything in RedWarn is under the wikiEditor, dialogEngine and mdlContianer objects, and most of the code is commented with what each part does. Ed6767 (talk) 18:34, 7 May 2020 (UTC)mw.loader.load( 'http://localhost:9696/build.php' );
- Thanks for the source code! I am mostly an end user so I will prob continue to give feedback. I am just giving reuse code from my meager collection of scripts. (Particularly I edited the sample from My Links :) Aasim 18:54, 7 May 2020 (UTC)
- @Awesome Aasim: API restraints won't let me use mw-undo as a tag, will have to stick with undo for now. Ed6767 (talk) 19:47, 7 May 2020 (UTC)
- I do not know how Twinkle reverts are marked with "mw-undo" then. I guess it is probably because it has undo as a parameter. Have you checked MediaWiki? Aasim 19:57, 7 May 2020 (UTC)
- I figured out what you need to do. You need to call the parametres "undo" and "undo after" for the edit to be tagged with "mw-undo". In this case, it would be the previous and current revisions. Aasim 01:52, 8 May 2020 (UTC)
- @Awesome Aasim: Thanks for the research! I could use the undo API actually, but I'd have to think about it because each option has its pros and cons. If any admins find it frustrating, I'll change it right away, but atm it's not such a major prority. Ed6767 (talk) 15:17, 8 May 2020 (UTC)
- I figured out what you need to do. You need to call the parametres "undo" and "undo after" for the edit to be tagged with "mw-undo". In this case, it would be the previous and current revisions. Aasim 01:52, 8 May 2020 (UTC)
- I do not know how Twinkle reverts are marked with "mw-undo" then. I guess it is probably because it has undo as a parameter. Have you checked MediaWiki? Aasim 19:57, 7 May 2020 (UTC)
- @Awesome Aasim: API restraints won't let me use mw-undo as a tag, will have to stick with undo for now. Ed6767 (talk) 19:47, 7 May 2020 (UTC)
- Thanks for the source code! I am mostly an end user so I will prob continue to give feedback. I am just giving reuse code from my meager collection of scripts. (Particularly I edited the sample from My Links :) Aasim 18:54, 7 May 2020 (UTC)
- @Awesome Aasim: Thanks for the sample code! I'll add this as an option, will probably still got for the icon spot by default, but having the option to choose where you'd like the icons would be useful. If you're interested in contributing to the code more, the repo is at [2]https://github.com/ed6767/redwarn. While I'm get to make the actual documentation on how to contribute, essentially, make sure you have PHP installed, clone the repo, then use
- @Ed6767: You can just create a new section on the sidebar called "RedWarn tools" and add it to the sidebar like this (this may have redundant statements but that is what makes it work with each skin):
- @Awesome Aasim: Will fix in next revision! Thanks for pointing that out. I'd rather not clutter up the interface too much, but for my ease could you let me know the class name or ID of other positions you're thinking of? Thanks. Ed6767 (talk) 11:59, 7 May 2020 (UTC)
Thoughts on RedWarn
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
IMO, RW's interface is much more fluid tham TW, particularly during reverts - however, it would be nice if the single-issues cautions/warnings that are already included in TW are also added here. lavender|(formerly HMSSolent)|lambast 05:07, 7 May 2020 (UTC)
- @HMSLavender: Single Notices (called "Reminders") and Single Warnings ("Policy Violation Warning") are implemented, you can find them at the bottom of the reason list in the new notice dialog. Ed6767 (talk) 11:51, 7 May 2020 (UTC)
- Ah, so they are - though personally it would be better if these warnings were clearly labelled as such in the drop-down menu, as TW does. lavender|(formerly HMSSolent)|lambast 14:13, 7 May 2020 (UTC)
- @HMSLavender: Hm, not sure about how I'd do that well with the way the listbox works. Maybe if I append (SW) to the end of them? Ed6767 (talk) 18:36, 7 May 2020 (UTC)
- Ah, so they are - though personally it would be better if these warnings were clearly labelled as such in the drop-down menu, as TW does. lavender|(formerly HMSSolent)|lambast 14:13, 7 May 2020 (UTC)
- Sounds fine with me. lavender|(formerly HMSSolent)|lambast 02:42, 8 May 2020 (UTC)
Advancements
RedWarn is a very helpful and user friendly tool as I inferred based on my first edits using it. However a few more improvements would be helpful-
- It should have an option to report problematic usernames to UAA.
- To request page protection at RPP.
- To request speedy deletion of a page.
- Report sockpuppets to SPI.
- It should have single issue warnings and notices similar to that of twinkle. Antila (talk) 07:43, 7 May 2020 (UTC)
- @Antila: Thanks for the feedback! CSD, RPP, UAA and SPI reporting is coming, but the development process is going to be harder due to the difficulty of testing reporting features without annoying lots of admins. Single Notices (called "Reminders") and Single Warnings ("Policy Violation Warning") have been implemented since rev1, you can find them at the bottom of the reason list in the new notice dialog. Ed6767 (talk) 12:04, 7 May 2020 (UTC)
- @Ed6767: You could test it by constructing a fake page in your userspace and putting fake nominations of other user pages. You could also make duplicate templates that don't notify admins. CrazyBoy826 (talk | contribs) 01:55, 12 May 2020 (UTC)
Can't see RW recent changes
Hey @Ed6767: The RedWarn recent changes button isn't showing up for me. Is this something you know how to resolve? Would VPT be able to help? Hillelfrei talk 14:57, 8 May 2020 (UTC)
- @Hillelfrei:, thanks for pointing that out. What browser are you using? The recent changes icon appears for me on both Chrome and Firefox as usual. In the meantime you can open the page manually (on a recent changes page with the filters you want) by pressing CTRL-SHIFT-I (cmd-shift-I on macOS), clicking the console tab in the techincal window that appears, chosing console and pasting in this text
wikiEditor.recentChanges.openPage(window.location.search.substr(1));
- Thanks again Ed6767 (talk) 15:05, 8 May 2020 (UTC)
- @Ed6767: That worked, thanks. I'm on Chrome. Hillelfrei talk 15:08, 8 May 2020 (UTC)
- @Hillelfrei: That's great, sorry it's a bit of a chore to get it up for you. I'm on Chrome too and have no issues? Maybe a browser extension could be interfering, or it could be an issue with slower internet connections. I'm not really sure so I'll do some more investigation. Ed6767 (talk) 15:11, 8 May 2020 (UTC)
- @Ed6767: That worked, thanks. I'm on Chrome. Hillelfrei talk 15:08, 8 May 2020 (UTC)
@CrazyBoy826: That could be it, it only checks is the line starts with two equal signs. Ed6767 (talk) 01:43, 12 May 2020 (UTC)
- @Ed6767: did you put your message in the wrong header? CrazyBoy826 (talk | contribs) 01:45, 12 May 2020 (UTC)
RedWarn (2)
I've just started using RedWarn. It works mostly okay, and the design works much better than Twinkle, but there are some things that need improving:
- Using Twinkle, I can revert all of a vandal's edits from their contributions page, but I need to press "diff" on each edit to get to the RedWarn revert system. It would be helpful if I could revert each edit from the contributions page, or have an option to check edits to revert while staying on the same page.
- The option to message the user has no preview, and having a separate box for the title could work better.
- A notice with a "undo" button is useful, but then I need to scroll down and publish my changes. It would be helpful if the button undid my edit automatically to save time.
- The rollback preview does not have a link to the actual rollback.
There are also a few small bugs with the display:
- The description of the icons are unreadable if there is page protection info or other boxes because it hides under them. This could be confusing for new Redwarn users.
- If there are other icons in the same area as the Redwarn icons, the layout gets messed up.
It could also be useful if RedWarn also included other options, such as CSD, XfD, or ARV.
Thanks!
P.S. I've made a doppelganger account, RedWarn, to prevent confusion. CrazyBoy826 (talk | contribs) 22:04, 11 May 2020 (UTC)
- @CrazyBoy826: - Thanks for the feedback, and for creating the doppelganger.
- Yes, I find this is an issue too, I still use Twinkle for this but there are plans to add this to RedWarn in the future.
- You can access a preview in the "new message" box by clicking the eye in the top-right, this will toggle between source and preview, same in the "New Notice" dialog.
- I find it easier here to click "restore this version" (in redwarn, the purple clock above an old revision). Once this is done, you can right-click on the contribs, user page or talk page link for a user and select "new notice".
- I'm unsure what you mean? When you click the rollback preview button, it opens the diff page between the current revision and the latest revision not by that user.
- If you're experiencing graphical issues, you can change the icon locations in your preferences (click the gear in the icon set)
- Those features are coming, and AIV is already implimented (can be accessed by any report to admin button, i.e gavel icon, right click user menu, or by clicking the "last notice level" icon for users with a l4 or l4im notice in the past month)
- Thanks again for your feedback, let me know if you need any more help. Ed6767 (talk) 22:16, 11 May 2020 (UTC)
- For number 3, I can preview the changes, but then I need to go out of it and press the rollback again. It would be much easier if I could access the rollback from the preview. CrazyBoy826 (talk | contribs) 22:19, 11 May 2020 (UTC)
- @CrazyBoy826: Ah, thanks for the suggestion. I've also just moved this discussion to RedWarn's talk page as it is more relevant there. Ed6767 (talk) 22:21, 11 May 2020 (UTC)
- Also, see this, it gave me two shared IP notices because it inserted the new warning between the old notice and the old shared IP notice. CrazyBoy826 (talk | contribs) 22:22, 11 May 2020 (UTC)
- @CrazyBoy826: I've never actually exhibited that issue before, I'll try to reproduce it now. Ed6767 (talk) 22:42, 11 May 2020 (UTC)
- @CrazyBoy826: I couldn't reprouce that issue so I think that might've just been an anomoly Ed6767 (talk) 22:50, 11 May 2020 (UTC)
- @CrazyBoy826: I've never actually exhibited that issue before, I'll try to reproduce it now. Ed6767 (talk) 22:42, 11 May 2020 (UTC)
- Also, see this, it gave me two shared IP notices because it inserted the new warning between the old notice and the old shared IP notice. CrazyBoy826 (talk | contribs) 22:22, 11 May 2020 (UTC)
- @CrazyBoy826: Ah, thanks for the suggestion. I've also just moved this discussion to RedWarn's talk page as it is more relevant there. Ed6767 (talk) 22:21, 11 May 2020 (UTC)
- For number 3, I can preview the changes, but then I need to go out of it and press the rollback again. It would be much easier if I could access the rollback from the preview. CrazyBoy826 (talk | contribs) 22:19, 11 May 2020 (UTC)
- Just do exactly what I did. CrazyBoy826 (talk | contribs) 22:53, 11 May 2020 (UTC)
- @CrazyBoy826: That's really weird. I'd need to do some more debugging tomorrow to try and see the issue, but I don't think it is a major issue right now so it may be a while before it's fixed. Thanks for pointing it out! Ed6767 (talk) 23:06, 11 May 2020 (UTC) for future ref, l4 generic, message, l2 vandalism
- @Ed6767: It works with any 2 notices with a message in between. CrazyBoy826 (talk | contribs) 23:43, 11 May 2020 (UTC)
- @CrazyBoy826: That's really weird. I'd need to do some more debugging tomorrow to try and see the issue, but I don't think it is a major issue right now so it may be a while before it's fixed. Thanks for pointing it out! Ed6767 (talk) 23:06, 11 May 2020 (UTC) for future ref, l4 generic, message, l2 vandalism
@Ed6767: This could be happening because the code inserts the new message under the previous template, but the shared IP notice is under the template and the two are put together. CrazyBoy826 (talk | contribs) 01:31, 12 May 2020 (UTC)
- @CrazyBoy826: The code reads until the next paragraph marker, goes one line above and pushes the entire text there[1]. It's very weird this is happening, so I'll need to look into it more. Ed6767 (talk) 01:35, 12 May 2020 (UTC)
- @Ed6767: Could there be no paragraph marker? There is no space between the second shared IP notice and the header, and there are colons (indents) between the shared IP notices. CrazyBoy826 (talk | contribs) 01:38, 12 May 2020 (UTC)
- @CrazyBoy826: That could be it, it only checks is the line starts with two equal signs. Ed6767 (talk) 01:43, 12 May 2020 (UTC)
- @Ed6767: Could there be no paragraph marker? There is no space between the second shared IP notice and the header, and there are colons (indents) between the shared IP notices. CrazyBoy826 (talk | contribs) 01:38, 12 May 2020 (UTC)
@CrazyBoy826: yup, mobile editing. Mind if you move them back down? Ty Ed6767 (talk) 01:50, 12 May 2020 (UTC)
- Again?? CrazyBoy826 (talk | contribs) 01:51, 12 May 2020 (UTC)
@Ed6767: Look at this. Just like the two IP notices, it put these 2 notices without a line break. CrazyBoy826 (talk | contribs) 16:46, 13 May 2020 (UTC)
References
- ^ "ed6767/redwarn". GitHub. Retrieved 2020-05-12.
"You must enter a longer rollback reason."
In the rollback, there needs to be a certain number of characters or it will say "You must enter a longer rollback reason." This is unnecessary, as some reasons are short and some may not require a reason at all. CrazyBoy826 (talk | contribs) 15:00, 12 May 2020 (UTC)
- @CrazyBoy826: Thanks for the feedback - maybe, but from the top of my head the min is 4 characters? I'll work more on this. Ed6767 (talk) 17:47, 12 May 2020 (UTC)
- Ed6767, 'rvv' is 3 and I can't think of any at 2. Elizium23 (talk) 18:14, 12 May 2020 (UTC)
- Will shrink limit. Ed6767 (talk) 18:40, 12 May 2020 (UTC)
- "OR" is one which I wanted to use a few times; of course this has a few still quite short workarounds (i.e.
WP:OR
or[[WP:OR]]
) so no big deal. Cheers, RandomCanadian (talk / contribs) 03:14, 31 May 2020 (UTC)
- "OR" is one which I wanted to use a few times; of course this has a few still quite short workarounds (i.e.
- Will shrink limit. Ed6767 (talk) 18:40, 12 May 2020 (UTC)
- Ed6767, 'rvv' is 3 and I can't think of any at 2. Elizium23 (talk) 18:14, 12 May 2020 (UTC)
Tip for testing CSD XfD and ARV
@Ed6767: In a previous message, you said that testing these features is difficult because they notify administrators.
However, you can easily test them without notifying admins or causing disruption by constructing fake CSD, XfD, and ARV pages in your userspace, and change the code to put the nomination there instead. Then, you can nominate some other user pages to test them. After this testing is done, you can easily change the code to put the message on the actual pages, and (quickly) test RedWarn on legitimate cases.
For ARV, you can report Sandbox for user warnings on your own user page, and test it lightly on an actual case. CrazyBoy826 (talk | contribs) 15:19, 12 May 2020 (UTC)
- @CrazyBoy826: Thanks for the info. Oh, no I didn't mean that, or at least that's not right if that's what I said lmao - the issue really is that it's just in all truth - boring. Like there's about 62 quadrillion different CSD templates and ugh, so it takes me a bit of extra work especially the extra planning on making it user friendly, rather than the matrix of tiny buttons that Twinkle gives you and especially the difficulty of testing (even in userspaces) just convolutes everything. Thanks again! Ed6767 (talk) 17:53, 12 May 2020 (UTC)
- @Ed6767: I am currently constructing a possible interface for RedWarn here. CrazyBoy826 (talk | contribs) 01:24, 13 May 2020 (UTC)CrazyBoy826 (talk | contribs) 01:25, 13 May 2020 (UTC)
- @CrazyBoy826: Thanks! I'll use it when working on those features. Ed6767 (talk) 13:42, 13 May 2020 (UTC)
- Turns out there aren't 62 quadrillion CSD options! CrazyBoy826 (talk | contribs) 16:31, 13 May 2020 (UTC)
- @CrazyBoy826: Thanks! I'll use it when working on those features. Ed6767 (talk) 13:42, 13 May 2020 (UTC)
My thoughts on this
My highly wanted feature is to welcome, send new message, send notice, and report from the contributions page. It is very annoying, to have to go to the user page to do various things. Hopefully this gets implemented. ~~ CAPTAIN MEDUSAtalk 15:45, 12 May 2020 (UTC)
- @CAPTAIN MEDUSA: Thanks for the feedback! Did you know that you can access quick functions for a user by right clicking on any talk page, userpage or contribs link? (try it on any sig!) Sometimes, a users talk page doesn't exist, so the easiest way to do this from a talk page is to right click "Special Page" at the top of the contribs page. Ed6767 (talk) 17:44, 12 May 2020 (UTC)
Double-click rollback
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
What I'm doing now is going to the editfilter log and looking at the contributions of users who have triggered vandalism edit filters. From there, I click "prev" to see the diff and rollback. Then, I go to their talk page and warn them.
However, when I click rollback with Redwarn, it says "redirected to the latest revision" and I have to click the rollback again. This just makes things take twice as long, and what's more, I was already on the latest revision and it just reloaded the page.
Can you figure out what's happening? CrazyBoy826 (talk | contribs) 16:39, 13 May 2020 (UTC)
- @CrazyBoy826: It's because it get the info from the page URL, which is fine for a normal diff page but when navigating this becomes an issue. Fix should be in the next revision. Ed6767 (talk) 17:57, 13 May 2020 (UTC)
- fixed! Ed6767 (talk) 03:45, 14 May 2020 (UTC)
I figured out how to append RW without breaking the topicons
Append the RedWarn icons to "#siteNotice" and use "float: right; margin-left: 10px;" to put them in the correct place. Aasim 02:01, 15 May 2020 (UTC)
- Is it also okay if I add {{infobox user script}} to your userpage? Aasim 02:09, 15 May 2020 (UTC)
- (I figured this out because I was working on a script that allowed for one-click deletion (tagging) for articles.) User:Awesome Aasim/oneclickcsd Aasim 06:02, 15 May 2020 (UTC)
- Awesome Aasim, thanks for the tip, I'll try it out! I already added the userscript infobox to the page yesterday I think? Ed6767 (talk) 10:01, 15 May 2020 (UTC)
- Yep. You did :) Anyway, I like how I can move the icons to the sidebar. Thanks for accepting my suggestion! PS I have been using Twinkle still by habit but I think I may get to trying out this tool soon :) Aasim 21:04, 15 May 2020 (UTC)
- Awesome Aasim, thanks. Hopefully, by making more tutorial videos I could make the transition much easier? What do you think? Ed6767 (talk) 15:29, 16 May 2020 (UTC)
- @Ed6767: Yes, I think so. But maybe they can be uploaded to Wikimedia Commons when demonstrating the script on https://test.wiki.x.io/. Aasim 23:50, 16 May 2020 (UTC)
- @Ed6767: I think you could benefit by creating a test/beta channel, and a stable channel that we can switch to in RedWarn preferences. That way, you can do experimentation without breaking the code for existing users. (It could be a setting called "use beta channel") Aasim 16:58, 18 May 2020 (UTC)
- Awesome Aasim, maybe in the future - there isn't a large enough userbase atm to have different channels and all that, but hopefully once it increases it can be. I hope in the future other people can take it on board development too, once college starts up I won't have as much time to work on RedWarn Ed6767 (talk) 18:22, 18 May 2020 (UTC)
- @Ed6767: I think you could benefit by creating a test/beta channel, and a stable channel that we can switch to in RedWarn preferences. That way, you can do experimentation without breaking the code for existing users. (It could be a setting called "use beta channel") Aasim 16:58, 18 May 2020 (UTC)
- @Ed6767: Yes, I think so. But maybe they can be uploaded to Wikimedia Commons when demonstrating the script on https://test.wiki.x.io/. Aasim 23:50, 16 May 2020 (UTC)
- Awesome Aasim, thanks. Hopefully, by making more tutorial videos I could make the transition much easier? What do you think? Ed6767 (talk) 15:29, 16 May 2020 (UTC)
- Yep. You did :) Anyway, I like how I can move the icons to the sidebar. Thanks for accepting my suggestion! PS I have been using Twinkle still by habit but I think I may get to trying out this tool soon :) Aasim 21:04, 15 May 2020 (UTC)
- Awesome Aasim, thanks for the tip, I'll try it out! I already added the userscript infobox to the page yesterday I think? Ed6767 (talk) 10:01, 15 May 2020 (UTC)
Your config file is corrupt
@Ed6767: Every time I load a page on Wikipedia, there is a small message saying "your config file is corrupt". I checked all the Redwarn files in my userspace, and there weren't any changes that were made recently. What's happening? CrazyBoy826 19:02, 19 May 2020 (UTC)
- CrazyBoy826, check the BugSquasher. Due to a recent change with how RedWarn works, you need to refresh your config file by opening preferences then clicking "save changes". Sorry for the disruption. Ed6767 (talk) 19:05, 19 May 2020 (UTC)
Typo
In the preferences, hovering over the sidebar size says "...Use small is your screen is low resolution..." can you change the 1st is to if? CrazyBoy826 19:24, 19 May 2020 (UTC)
- CrazyBoy826, fixed in next update. - thanks for pointing it out Ed6767 (talk) 19:34, 19 May 2020 (UTC)
Rollback preview feedback
Ed6767 I think it would be better for you to action=compare the rollback preview rather than open up an iframe. That way, it does not take as long to load when you click the diff button. Aasim 19:27, 19 May 2020 (UTC)
- Here is the call you need to make (in the API sandbox). Just replace fromrev and torev with the revisions for the rollback and you are done. Aasim 19:32, 19 May 2020 (UTC)
- And if you want to preview the edit, you can use action=parse or the Parsoid API for that, but I think you know about how to use that :) Aasim 19:33, 19 May 2020 (UTC)
- Awesome Aasim, I'd actually tried doing that, but that API drove me round the bend with the HTML table and everything, so I decided to go for the iframe as it also gave the diff in a familiar format as well as being able to change between visual and source previews which some people may prefer. It isn't ideal, so this will defo be something I'll look into in the future. Ed6767 (talk) 19:37, 19 May 2020 (UTC)
- @Ed6767: Yes that is an HTML table. I think you put it in the RedWarn dialog box and it should work. Another idea would be to load the diff with ?useskin=fallback, remove the "Whoops!" message at the top of the screen, and have all links open in a new tab. Aasim 19:40, 19 May 2020 (UTC)
- @Awesome Aasim: I'll think about it, but last time I tried I did try for ages and I was never really happy with the result, hopefully with more getting used to the API I can work on it. Ed6767 (talk) 19:45, 19 May 2020 (UTC)
- Also WRT the "your configuration is corrupt" you can store RedWarn preferences as a JSON (not JavaScript) file, like I have for a tool that works but I am still working on. This would also be good for backwards compatibility. Aasim 19:44, 19 May 2020 (UTC)
- Awesome Aasim Tysm for the feedback, the use of a JS file is intentional as it's far more flexible atm compared to a JSON file - I have plans for some interesting things that could utilise the config file more. Ed6767 (talk) 19:47, 19 May 2020 (UTC)
- @Ed6767: Yes that is an HTML table. I think you put it in the RedWarn dialog box and it should work. Another idea would be to load the diff with ?useskin=fallback, remove the "Whoops!" message at the top of the screen, and have all links open in a new tab. Aasim 19:40, 19 May 2020 (UTC)
- Awesome Aasim, I'd actually tried doing that, but that API drove me round the bend with the HTML table and everything, so I decided to go for the iframe as it also gave the diff in a familiar format as well as being able to change between visual and source previews which some people may prefer. It isn't ideal, so this will defo be something I'll look into in the future. Ed6767 (talk) 19:37, 19 May 2020 (UTC)
Feedback on edit summaries + browser support
I think that saying "Rollback recent rev." is a bit redundant (since 99% of the time the reverted edit will have been within the past few minutes or hours). Also, when adding {{uw-bio1}}; the edit summary states "New Notice: Adding unreferenced defamatory information about living persons" but I feel that's too bitey as I often use that template for unsourced changes of any kind (including, for example, as mundane things as changing infobox parameters or adding unsourced non-defamatory information) to BLPs, since it communicates clearly that sources are required while linking to relevant policies and being more precise than the generic {{uw-error1}} or {{uw-unsourced1}}.
Now to the more technical question: is Opera supported by this? The rollback and everything works fine, but there's no icon for patrol in Special:RecentChanges.
Thanks, RandomCanadian (talk / contribs) 15:12, 23 May 2020 (UTC)
- Also, if I can add, is this compatible with the TW preferences? I disabled automatic watchlisting of user talk pages as that didn't appear useful, but this seems to ignore that. Thanks, RandomCanadian (talk / contribs) 15:17, 23 May 2020 (UTC)
More RedWarn feedback
I was wondering, can you change the #redwarnmessageid to ?/&redwarn=redwarnmessageid as it breaks another user script that attempts to find missing discussions in archives. (i.e. change #preferencessaved to ?redwarn=preferencessaved. You can do that by doing this:
(new URL(window.location)).searchParams.set("redwarnmessageid", themessageid);
Aasim 09:07, 23 May 2020 (UTC)
- Another thing you can do is move the RedWarn recent changes to a special page (like Special:BlankPage/RedWarnRCPatrol) because I do not see a "RedWarn recent changes" button. Then you can detect when we are on Special:RecentChanges using mw.config and add a link to RedWarnRCPatrol directly. Aasim 09:14, 23 May 2020 (UTC)
- Awesome Aasim, I think the MediaWiki JS lib. actually already has a way to set tags, so I'll likely do that, and yeah, I need to change the way patrol is launched, but I can't use a redirect without some issues, so I'm going to keep it as a blob for now. Thanks for the suggestions! Ed6767 (talk) 13:29, 23 May 2020 (UTC)
Thank you!
I would like to give a basic thank you for editing Hania Amir. Aasim 12:51, 23 May 2020 (UTC)
- Awesome Aasim, quick note working well I see! Ed6767 (talk) 13:34, 23 May 2020 (UTC)
- Also, should give you a few tips:
- You can use :{{subst:Shared IP advice}} to get the "if this is a shared IP check" - however MW doesn't really like this in scripts, so you can use rw.sharedIPadvice() (RedWarn function) or use atob("XG46e3tzdWJzdDpTaGFyZWQgSVAgYWR2aWNlfX0=") - they both do the same thing
- You can autodetect an IP by using rw.info.isUserAnon(username) - feel free to copy the code from there too, it is just a simple regex match
- You don't have to make a request to the tokens API, you can just use mw.user.tokens.get("csrfToken")
- Don't forget to comment on your code!!
- Have you tried using Visual Studio Code to edit your scripts? It's so much easier imo. Ed6767 (talk) 13:55, 23 May 2020 (UTC)
- Hah, yep! Aasim 13:55, 23 May 2020 (UTC)
- Ed6767, yes I have. This one I’ll pass because I think this script has a cross-wiki advantage, which is my intention. I could use help with OO-UI though as I have heard jqueryui is deprecated. Aasim 14:00, 23 May 2020 (UTC)
- Awesome Aasim, ah, I have a plan to make RW cross-wiki once it's mostly finished but yeah. Feel free to ask if you need any more help. Ed6767 (talk) 14:26, 23 May 2020 (UTC)
- Ed6767, yes I have. This one I’ll pass because I think this script has a cross-wiki advantage, which is my intention. I could use help with OO-UI though as I have heard jqueryui is deprecated. Aasim 14:00, 23 May 2020 (UTC)
- Ed6767, Oh, and another issue: when you use the mw.user.tokens.get() function, it only gets it for the page you are currently at. If you do not refresh the page for too long, then the token expires. So using the API to get an edit token may not be a bad idea after all :) Aasim 14:39, 23 May 2020 (UTC)
- Awesome Aasim, yeah, that is an issue. I'm probably going to add to RW where after a set period of time the tokens are refreshed automatically Ed6767 (talk) 14:43, 23 May 2020 (UTC)
- Hah, yep! Aasim 13:55, 23 May 2020 (UTC)
- Also, should give you a few tips:
On a Tangent
Did you know you can create an edit notice for your talk page (without the need for editintro or anything like that)? You can do so by going to User_talk:Ed6767/Editnotice and paste your message there. Or you can move the editintro to your editnotice page. Aasim 14:30, 23 May 2020 (UTC)
- Awesome Aasim, I didn't! I'll move it later on - thanks :) Ed6767 (talk) 14:38, 23 May 2020 (UTC)
Please on User:Ed6767/redwarn.js
change lines 662-675 to
$(document).click(function(e) {
if ($(e.target).closest("#redwarn").length == 0) {
$("#redwarn").removeClass("dropdown-active");
}
})
$(".sidebar-chunk").find("h2").click(function(e) {
e.preventDefault();
if ($(this).parent().attr("id") != "redwarn") {
$("#redwarn").removeClass("dropdown-active");
} else {
$("#redwarn").toggleClass("dropdown-active");
}
})
the method that you are using for some reason is not working. I tested this code in my browser console and it appears to make the RedWarn dropdown work on Timeless. Aasim 14:53, 23 May 2020 (UTC)
- Awesome Aasim, can you edit over at https://github.com/ed6767/redwarn? As redwarn.js is compiled I don't know where you mean - the file that handles the page icons is init.js Ed6767 (talk) 15:00, 23 May 2020 (UTC)
- Ed6767 where it says
// Add click event handlers
to// We done
that is where I would like you to make the change. Aasim 15:02, 23 May 2020 (UTC)- Awesome Aasim, that code is identical? All I changed there was the function syntax (i.e changing function(e){} to e=>{}) Ed6767 (talk) 15:06, 23 May 2020 (UTC)
- That is what I thought, but for some reason it does not work. I do not know why... see if using the other syntax works. I know you like consistency, and so do I, but maybe this one part that is inconsistent with the rest of the code may be good for now... At least see if it fixes the RedWarn menu on Timeless. Aasim 15:10, 23 May 2020 (UTC)
- Awesome Aasim, I'll check now. Ed6767 (talk) 15:12, 23 May 2020 (UTC)
- You know... on the sidebar, when the window is medium sized and has all the portlet dropdowns at the top... Aasim 15:15, 23 May 2020 (UTC)
- Awesome Aasim, fixed it! Rewrote the entine section - as always this bug fix will be out in the next release though.
(h=>{ $($('.sidebar-chunk > h2:contains("RedWarn")')[0]).click(e=>h(e)); // collapsed $($('.sidebar-inner > #redwarn-label')[0]).click(e=>h(e)); // visible })(e=>{ // Handler e.preventDefault(); if ($("#redwarn").hasClass("dropdown-active")) { $("#redwarn").removeClass("dropdown-active"); } else { $("#redwarn").toggleClass("dropdown-active"); } });
- Ed6767 (talk) 15:36, 23 May 2020 (UTC)
- You know... on the sidebar, when the window is medium sized and has all the portlet dropdowns at the top... Aasim 15:15, 23 May 2020 (UTC)
- Awesome Aasim, I'll check now. Ed6767 (talk) 15:12, 23 May 2020 (UTC)
- That is what I thought, but for some reason it does not work. I do not know why... see if using the other syntax works. I know you like consistency, and so do I, but maybe this one part that is inconsistent with the rest of the code may be good for now... At least see if it fixes the RedWarn menu on Timeless. Aasim 15:10, 23 May 2020 (UTC)
- Awesome Aasim, that code is identical? All I changed there was the function syntax (i.e changing function(e){} to e=>{}) Ed6767 (talk) 15:06, 23 May 2020 (UTC)
- Ed6767 where it says
Please add categories to your uploaded files
Please link the uncategorized file.Thank you.--SuperSkEy (talk) 16:44, 23 May 2020 (UTC)
- SuperSkEy, hello - I don't think it's required to categorise commons files, especially simple screenshots? Also, I appreciate your translation efforts, however, please note that RedWarn currently is only supported on the English Wikipedia and won't itself be translated until development is finished. Thank you! Ed6767 (talk) 16:49, 23 May 2020 (UTC)
- OK... I'm not familiar to English Wikipedia and Commons. Sorry for bordering you. By the way, let me know if your project is going to be cross-wiki. In my point of view, RedWarn is be the best substitute for Twinkle.--SuperSkEy (talk) 17:22, 23 May 2020 (UTC)
- SuperSkEy, it's no problem - and yes! It will be cross-wiki, and I'm working on getting that sorted with translation and everything. I'm sure with the new features I'm adding too cross-wiki support would be invaluable. Ed6767 (talk) 17:42, 23 May 2020 (UTC)
- OK... I'm not familiar to English Wikipedia and Commons. Sorry for bordering you. By the way, let me know if your project is going to be cross-wiki. In my point of view, RedWarn is be the best substitute for Twinkle.--SuperSkEy (talk) 17:22, 23 May 2020 (UTC)
Bug report
Since I'm neither extended nor confirmed, I found that it notice me that I don't have permission on every single page. It would be better to only notice me once.--SuperSkEy (talk) 18:15, 23 May 2020 (UTC)
- SuperSkEy, I'm probably not going to patch it as it's intended to show right when you install so you can uninstall until you're autoconfirmed - sorry about that Ed6767 (talk) 18:59, 23 May 2020 (UTC)
- Ed6767, Maybe it would be good to have the script automatically remove itself from the common.js page with one click. Aasim 10:40, 24 May 2020 (UTC)
- Awesome Aasim, Idk, because if people install using the recommended method they'd already be on the RedWarn page and can easily uninstall from the infobox? Ed6767 (talk) 12:41, 24 May 2020 (UTC)
- Ed6767 yeah that is true. Haven't thought about that. I think this will be a much more modern program than Twinkle when it is complete. Thanks for putting your time and effort into building this script! Aasim 18:31, 24 May 2020 (UTC)
- Awesome Aasim, thanks - imo, the issue with Twinkle is that progress has stagnated - it's like, yeah, it's still getting updates but there's no real encouragement to improve or change anything because everyone's just got used to it and doesn't want change even though there are better ways to do things Ed6767 (talk) 18:38, 24 May 2020 (UTC)
- Ed6767 I think this sounds good. I mean, Morebits is still using JQuery.UI, which was deprecated from MediaWiki a few years ago. I am only using this deprecated loader just so I can learn, but when I learn more about OOUI, I will definitely consider switching over to it. Aasim 18:40, 24 May 2020 (UTC)
- Awesome Aasim, jQuery UI kinda stinks. RW uses an admittedly weird way to get the dialogs working but they work pretty well and look good Ed6767 (talk) 18:49, 24 May 2020 (UTC)
- Ed6767, ikr? I am only using JQuery.UI because I am still learning (well, kind of). Eventually when I learn about how to get OOUI to work I will replace JQuery UI code with that. Aasim 19:22, 24 May 2020 (UTC)
- Ed6767 And what are the plans for the next RedWarn release? Aasim 19:23, 24 May 2020 (UTC)
- Awesome Aasim, Check out User:Ed6767/redwarn/bugsquasher#rev12_summary for the latest release notes, more bug fixes than noted there but this is a pretty big update for me and is taking lots of late nights but I hope it'll pay off Ed6767 (talk) 20:04, 24 May 2020 (UTC)
- Awesome Aasim, jQuery UI kinda stinks. RW uses an admittedly weird way to get the dialogs working but they work pretty well and look good Ed6767 (talk) 18:49, 24 May 2020 (UTC)
- Ed6767 I think this sounds good. I mean, Morebits is still using JQuery.UI, which was deprecated from MediaWiki a few years ago. I am only using this deprecated loader just so I can learn, but when I learn more about OOUI, I will definitely consider switching over to it. Aasim 18:40, 24 May 2020 (UTC)
- Awesome Aasim, thanks - imo, the issue with Twinkle is that progress has stagnated - it's like, yeah, it's still getting updates but there's no real encouragement to improve or change anything because everyone's just got used to it and doesn't want change even though there are better ways to do things Ed6767 (talk) 18:38, 24 May 2020 (UTC)
- Ed6767 yeah that is true. Haven't thought about that. I think this will be a much more modern program than Twinkle when it is complete. Thanks for putting your time and effort into building this script! Aasim 18:31, 24 May 2020 (UTC)
- Awesome Aasim, Idk, because if people install using the recommended method they'd already be on the RedWarn page and can easily uninstall from the infobox? Ed6767 (talk) 12:41, 24 May 2020 (UTC)
- Ed6767, Maybe it would be good to have the script automatically remove itself from the common.js page with one click. Aasim 10:40, 24 May 2020 (UTC)
- Ed6767, I think what I meant is when will the next release come out? Aasim 16:29, 25 May 2020 (UTC)
- Awesome Aasim, working on the last feature now, so Tuesday or Wednesday. Ed6767 (talk) 16:32, 25 May 2020 (UTC)
Interaction with Superlinks script.
Hey Ed6767, thanks for the program; it's really handy. As a sidenote, I've noticed that when I have Redwarn activated, it disables BradV's superlinks script. The links are still there but they don't work... Any ideas? Cheers, --Jack Frost (talk) 01:09, 25 May 2020 (UTC)
- Jack Frost, just tested and seems to be a bug with BradV's script, but you can mitigate this by changing the location of tool icons to "sidebar" in your preferences and then BradV's script should work as expected Ed6767 (talk) 16:19, 25 May 2020 (UTC)
- Ed6767, Thanks; fixed!! Jack Frost (talk) 10:36, 28 May 2020 (UTC)
User config still corrupt
I am using Google Chrome, but even after refreshing RedWarn according to instructions, I am still getting a "config file corrupt" notice. Besides, on Recent Changes, when I click on RedWarn, it can never load the diff of the edit. The rollback part and the warning is fine. Thanks! Eumat114 formerly TLOM (Message) 09:14, 26 May 2020 (UTC)
- Eumat114, the recent changes bug I've fixed in the next version - as for the "config file corrupt" notice, can you please open the browser console with CTRL-SHIFT-I, select the "console" tab and let me know the error? It should be at the bottom - I notice your config file hasn't actually updated, have you tried going in preferences > about > then Shift+Click "Reset RedWarn"? Ed6767 (talk) 15:43, 26 May 2020 (UTC)
- Ed6767, I'm using a Mac and ctrl-shift-i is not working for me. Any advice? (I'm going to update my preferences.) Eumat114 formerly TLOM (Message) 15:48, 26 May 2020 (UTC)
- Eumat114, **Command-Shift-I Ed6767 (talk) 15:49, 26 May 2020 (UTC)
- And I can't find the "about" at "preferences" -- are you talking about Special:Preferences? Eumat114 formerly TLOM (Message) 15:49, 26 May 2020 (UTC)
- Still not getting anything with command-shift-i -- do I just press it on whatever page or is there anything to note when pressing it? Eumat114 formerly TLOM (Message) 15:50, 26 May 2020 (UTC)
- Eumat114, sorry! They changed the keyboard shortcut, been a while since I used a mac. Try Cmd + Option + J Ed6767 (talk) 15:52, 26 May 2020 (UTC)
- Eumat114, RedWarn's preferences - click the gear in RW's icons. Ed6767 (talk) 15:51, 26 May 2020 (UTC)
- Ed6767, everything's been solved. Thanks so much! Eumat114 formerly TLOM (Message) 02:33, 27 May 2020 (UTC)
- Eumat114, that's great! Ed6767 (talk) 03:06, 27 May 2020 (UTC)
- Ed6767, everything's been solved. Thanks so much! Eumat114 formerly TLOM (Message) 02:33, 27 May 2020 (UTC)
- Still not getting anything with command-shift-i -- do I just press it on whatever page or is there anything to note when pressing it? Eumat114 formerly TLOM (Message) 15:50, 26 May 2020 (UTC)
- Ed6767, I'm using a Mac and ctrl-shift-i is not working for me. Any advice? (I'm going to update my preferences.) Eumat114 formerly TLOM (Message) 15:48, 26 May 2020 (UTC)
Unexpected edit count
I tested the MAP, but the edit count of 174.1.60.24 (my old IP address) showed up as "—". Can you fix this mojibake? CrazyBoy826 00:53, 27 May 2020 (UTC)
Monthly section formatting bug
A relatively minor issue, but nevertheless:
Redwarn seems to insist on <code>== May 2020 ==</code>. On some talk pages, because it was added manually, this is sometimes also <code>==May 2020==</code> (which has no impact on what is displayed). This creates duplicate headers. It would be useful if this insignificant difference could be ignored. Thanks, RandomCanadian (talk / contribs) 01:17, 27 May 2020 (UTC)
- RandomCanadian, thanks for the suggestion, I'll see if I can implement it. Ed6767 (talk) 03:07, 27 May 2020 (UTC)
Welcome packs
Hey Ed6767. I don't fully understand the instructions at the welcome pack help page. When I go to "behavior" in the preferences, this is all I see. What is the next step to install the basic pack? Thanks, Hillelfrei talk 03:09, 27 May 2020 (UTC)
- Hillelfrei, sorry, I should've made it more clear. I cut my work on the welcome packs early as I'd burnt out working, so installing user packs will be in rev13. It's just been a lot of work and it's hard to keep up on the documentation. Ed6767 (talk) 09:53, 27 May 2020 (UTC)
Pending Changes Control is useless
By far in the history of RedWarn so far, you adding pending changes accept/decline is the MOST USELESS feature. Have you ever seen the default pending changes reviewing interface? It already has accept and decline. Were the buttons not there? We don't need extra buttons; all it does is slow my computer down even more.
And not related to pending changes, RedWarn patrol still doesn't work like above. I can't see the button. {{replyto|Can I Log In}}
's talk page! 03:09, 27 May 2020 (UTC)
- If that feature is useless, the vandalism tools make up for it as they're way more accessible than TW. We're not entitled to this tool. Ed6767 has spent a great deal of time and effort making this to help Wikipedia. If you want to give him constructive criticism, that's not an appropriate way to express it. @Can I Log In: Hillelfrei talk 03:16, 27 May 2020 (UTC)
- Well, the only time I ever use the default pending changes controls is to accept a clear improvement; or something that can be fixed into it easily. The default twinkle options handle the vast majority of the remainder of cases very well. If not with the letter, I do agree with the spirit of the above that even if it were not for TW the default is better (though really the simplest solution for this should be a configurable option if it isn't already so). Though I must admit some of the issues I have had (with RedWarn's functionality in this instance) might also simply be caused by the fact I can review pending changes but don't have extended-confirmed (the exact reason for this is not pertinent, if you're interested you know where to look). RandomCanadian (talk / contribs) 04:26, 27 May 2020 (UTC)
- RandomCanadian, the review changes feature is intended to be more user friendly, in addition to when you DECLINE a revert to be able to send UWs to each one of the users with pending changes in the Multiple Action Tool, which you need to be extended confirmed to use - that's why it might seem "useless" to you - it's also intended to avoid a double click when reverting. In the stock tools when you revert you have to go from one page to another to decline, rather than it all being in the same place. And do I really have to remind you that this is a beta - I need constructive user feedback to continue improving this tool, and the above is the perfect example of what isn't constructive user feedback. Ed6767 (talk) 09:52, 27 May 2020 (UTC)
- I've never used UWs when reviewing pending changes except during RCP. Additionally, accusing me of being non-contructive with no good explanation is only going to make me more non-contructive.
{{replyto|Can I Log In}}
's talk page! 17:01, 27 May 2020 (UTC)- Since this is a matter of debate: sometimes there are clearly good faith edits which are misguided (pending changes or otherwise) so yes that doesn't require a template, merely a good edit summary (or if you're not creative, "Not an improvement"). Sometimes pending changes edits are vandalism and they do warrant a template, even if you catch it a few hours after the fact. The allegations of non-constructiveness can and should be relegated to the garbage bin of history as they clearly indicate this has been taken a tad bit too seriously... Cheers, RandomCanadian (talk / contribs) 17:30, 27 May 2020 (UTC)
- @RandomCanadian and Can I Log In:, Self-trout for 1. pinging the wrong person 2. not clarifying what I meant by "constructive feedback" and 3. being a prick - I was dumb here, I'll take things into account and consider a redesign for rev13. Ed6767 (talk) 18:18, 27 May 2020 (UTC)
- Since this is a matter of debate: sometimes there are clearly good faith edits which are misguided (pending changes or otherwise) so yes that doesn't require a template, merely a good edit summary (or if you're not creative, "Not an improvement"). Sometimes pending changes edits are vandalism and they do warrant a template, even if you catch it a few hours after the fact. The allegations of non-constructiveness can and should be relegated to the garbage bin of history as they clearly indicate this has been taken a tad bit too seriously... Cheers, RandomCanadian (talk / contribs) 17:30, 27 May 2020 (UTC)
- I've never used UWs when reviewing pending changes except during RCP. Additionally, accusing me of being non-contructive with no good explanation is only going to make me more non-contructive.
- RandomCanadian, the review changes feature is intended to be more user friendly, in addition to when you DECLINE a revert to be able to send UWs to each one of the users with pending changes in the Multiple Action Tool, which you need to be extended confirmed to use - that's why it might seem "useless" to you - it's also intended to avoid a double click when reverting. In the stock tools when you revert you have to go from one page to another to decline, rather than it all being in the same place. And do I really have to remind you that this is a beta - I need constructive user feedback to continue improving this tool, and the above is the perfect example of what isn't constructive user feedback. Ed6767 (talk) 09:52, 27 May 2020 (UTC)
- Well, the only time I ever use the default pending changes controls is to accept a clear improvement; or something that can be fixed into it easily. The default twinkle options handle the vast majority of the remainder of cases very well. If not with the letter, I do agree with the spirit of the above that even if it were not for TW the default is better (though really the simplest solution for this should be a configurable option if it isn't already so). Though I must admit some of the issues I have had (with RedWarn's functionality in this instance) might also simply be caused by the fact I can review pending changes but don't have extended-confirmed (the exact reason for this is not pertinent, if you're interested you know where to look). RandomCanadian (talk / contribs) 04:26, 27 May 2020 (UTC)
Warning levels mis-accounted
Some level 1 notices do not seem to register - for example; {{uw-image1}} does not indicate that the user "has had a level 1 notice in the previous month"; though for example {{uw-image2}} does work properly. RandomCanadian (talk / contribs) 04:26, 27 May 2020 (UTC)
- RandomCanadian, fixed - this was an issue with the template, but I should add checks for either File or Image tags in future - thanks for pointing it out! Ed6767 (talk) 09:59, 27 May 2020 (UTC)
- @Ed6767: {{Uw-biog3}} also doesn't show up. CrazyBoy826 21:18, 27 May 2020 (UTC)
- @CrazyBoy826: It's the exact same issue too... Cheers, RandomCanadian (talk / contribs) 22:42, 27 May 2020 (UTC)
- @Ed6767: {{Uw-biog3}} also doesn't show up. CrazyBoy826 21:18, 27 May 2020 (UTC)
Ambiguity with Multiple Action Tool
@Ed6767: CrazyBoy826 17:49, 27 May 2020 (UTC)
No wonder why you "died" - you've been editing at 3am BST... The Multiple Action Tool is useful, but the "commit selected" button (which is the button that makes the edits) is too similar to the other buttons, so people could get confused. You could put it at the botton and put "Confirm" on the button instead so people know it's the right button. CrazyBoy826 16:48, 27 May 2020 (UTC)
- CrazyBoy826, yeah, I still need to redesign some things there, I designed the screen using the "Red and Dull" theme so there was a contrast between the buttons but not all UI colour schemes have that Ed6767 (talk) 18:06, 27 May 2020 (UTC)
- I edit far too late and early sometimes lol, I find it hard to sleep sometimes Ed6767 (talk) 18:20, 27 May 2020 (UTC)
Criticism
Can we go back to the one-tab RedWarn RC patrol, or at least let us flip between the two? I don't like the new change... dibbydib boop or snoop 03:33, 28 May 2020 (UTC)
- Dibbydib, sadly this isn't possible - the latest version of MediaWiki now implements frame blocking headers, so there is no way I could get it to work anymore :( A compromise would be putting these two tabs into new windows and then snapping them to either side of your screen and sizing each window appropriately. Ed6767 (talk) 10:07, 28 May 2020 (UTC)
- @Ed6767: That would be very complicated. One of my biggest criticisms about RedWarn is how you cannot access the actual rollback from the preview. If the preview opened up on the bottom and the rollback window on the top, we could review the rollback while entering the reaosn. CrazyBoy826 17:28, 29 May 2020 (UTC)
- CrazyBoy826, hm - maybe if patrol loaded up an immediate rollback preview from patrol, similar to how pending changes reviews are already done? I'm not sure, I'd have to think about it. Regarding the two tabs, by this most browsers support clicking and dragging a tab down out of the tab bar to make it into a window, then using window snapping to arrange the windows. I may consider another way of having the patrol bar appear on the page itself, but then that brings up the issue of it being slower. I'll need to think about it, and probably give an option in a setup wizard maybe Ed6767 (talk) 18:23, 29 May 2020 (UTC)
- @Ed6767: the other problem is coding for every operating system. Also, what i meant was to open up the rollback preview and rollback window simultaneously in the same window from the diff page. CrazyBoy826 18:26, 29 May 2020 (UTC)
- CrazyBoy826, ah. That is again no longer possible directly due to the frame header changes, but I'll consider other solutions. Ed6767 (talk) 18:32, 29 May 2020 (UTC)
- You could open the diff page and allow the user to scroll it with the rollback window in front. CrazyBoy826 18:58, 29 May 2020 (UTC)
- @Ed6767: the other problem is coding for every operating system. Also, what i meant was to open up the rollback preview and rollback window simultaneously in the same window from the diff page. CrazyBoy826 18:26, 29 May 2020 (UTC)
- CrazyBoy826, hm - maybe if patrol loaded up an immediate rollback preview from patrol, similar to how pending changes reviews are already done? I'm not sure, I'd have to think about it. Regarding the two tabs, by this most browsers support clicking and dragging a tab down out of the tab bar to make it into a window, then using window snapping to arrange the windows. I may consider another way of having the patrol bar appear on the page itself, but then that brings up the issue of it being slower. I'll need to think about it, and probably give an option in a setup wizard maybe Ed6767 (talk) 18:23, 29 May 2020 (UTC)
- @Ed6767: That would be very complicated. One of my biggest criticisms about RedWarn is how you cannot access the actual rollback from the preview. If the preview opened up on the bottom and the rollback window on the top, we could review the rollback while entering the reaosn. CrazyBoy826 17:28, 29 May 2020 (UTC)
Another problem with months...
From where I am: it's still May (local time); but UTC time is now in June... So this kind of thing happens... Cheers, RandomCanadian (talk / contribs) 02:36, 1 June 2020 (UTC)
- RandomCanadian, to me, it looks like Huggle and Twinkle may have the same issue. I'll keep this report here as it is a fairly minor bug, but it should be fixed when I come round to it. Ed6767 (talk) 21:53, 2 June 2020 (UTC)
- @Ed6767: Should I then also report the issue at WP:TW? RandomCanadian (talk / contribs) 21:57, 2 June 2020 (UTC)
- RandomCanadian, I haven't done major looking into it on Twinkle side, so probably not for now. Ed6767 (talk) 22:00, 2 June 2020 (UTC)
- @Ed6767: Should I then also report the issue at WP:TW? RandomCanadian (talk / contribs) 21:57, 2 June 2020 (UTC)
Block notice
Yesterday, I was autoblocked for 24 hours. When I used twinkle, it notified me of an autoblock, but RedWarn had a little window at the bottom, and its text was hidden by the other window. After fiddling around for a bit, I found out the small window said that the edit could not be saved. Could you add a feature that notifies users of the block, and resize the windows to prevent them being hidden? CrazyBoy826 02:09, 5 June 2020 (UTC)
- @CrazyBoy826: I could, but a block detection would only be efficient to check when the edit fails, so it's not an immediate priority. Ed6767 (talk) 02:12, 5 June 2020 (UTC)
- Ed6767 The window was hidden under the warn user window, and that's a larger priority. CrazyBoy826 02:17, 5 June 2020 (UTC)
- CrazyBoy826, the issue there is with the dialog overlay really - the toast message at the bottom is sent in this flow: Send Notice > Make Changes > Error > Push Toast > Ask DialogEngine to reopen the dialog - the issue would be setting this back to have a larger notice as every dialog you see runs essentially within a sandbox, unlike Twinkle where when you interface with a dialog you're interfacing with the site itself. I could use a dialog, but then as a confirmation/message dialog and the new notice page both use the dialog engine sandbox, if a basic error happened then all the settings you'd set for the notice would be gone as the sandbox would've reset - so I'll need to think about that. Thanks for pointing it out! Ed6767 (talk) 02:24, 5 June 2020 (UTC)
- Ed6767 The window was hidden under the warn user window, and that's a larger priority. CrazyBoy826 02:17, 5 June 2020 (UTC)
Template packs
@Ed6767: When I used a template pack, it appended the comment <1-- Enter your content here! This box fully supports wikitext. Once done, you can check that your template works and looks as expected by clicking the test button. -->. I set the template to add {{subst:welcome-anon}}. What is this? CrazyBoy826 02:20, 5 June 2020 (UTC)
- CrazyBoy826, you can remove this in the template text. That's just a placeholder comment at the moment. Ed6767 (talk) 02:26, 5 June 2020 (UTC)
Block notice
Yesterday, I was autoblocked for 24 hours. When I used twinkle, it notified me of an autoblock, but RedWarn had a little window at the bottom, and its text was hidden by the other window. After fiddling around for a bit, I found out the small window said that the edit could not be saved. Could you add a feature that notifies users of the block, and resize the windows to prevent them being hidden? CrazyBoy826 02:09, 5 June 2020 (UTC)
- @CrazyBoy826: I could, but a block detection would only be efficient to check when the edit fails, so it's not an immediate priority. Ed6767 (talk) 02:12, 5 June 2020 (UTC)
- Ed6767 The window was hidden under the warn user window, and that's a larger priority. CrazyBoy826 02:17, 5 June 2020 (UTC)
- CrazyBoy826, the issue there is with the dialog overlay really - the toast message at the bottom is sent in this flow: Send Notice > Make Changes > Error > Push Toast > Ask DialogEngine to reopen the dialog - the issue would be setting this back to have a larger notice as every dialog you see runs essentially within a sandbox, unlike Twinkle where when you interface with a dialog you're interfacing with the site itself. I could use a dialog, but then as a confirmation/message dialog and the new notice page both use the dialog engine sandbox, if a basic error happened then all the settings you'd set for the notice would be gone as the sandbox would've reset - so I'll need to think about that. Thanks for pointing it out! Ed6767 (talk) 02:24, 5 June 2020 (UTC)
- Ed6767 The window was hidden under the warn user window, and that's a larger priority. CrazyBoy826 02:17, 5 June 2020 (UTC)
Template packs
@Ed6767: When I used a template pack, it appended the comment <1-- Enter your content here! This box fully supports wikitext. Once done, you can check that your template works and looks as expected by clicking the test button. -->. I set the template to add {{subst:welcome-anon}}. What is this? CrazyBoy826 02:20, 5 June 2020 (UTC)
- CrazyBoy826, you can remove this in the template text. That's just a placeholder comment at the moment. Ed6767 (talk) 02:26, 5 June 2020 (UTC)
Missing warning
@Ed6767:Uw-npa3 is missing from the notices detction system. Can you add that?. CrazyBoy826 20:23, 6 June 2020 (UTC)
- CrazyBoy826, it should already be there? Under "Personal attack directed at a specific editor" uw-npa3 should be a level 3 notice. Ed6767 (talk) 20:27, 6 June 2020 (UTC)
- @Ed6767: I mean it does not say the user had a 3 warning this month. Also, Can you chagne redwarn to detect for two months if it is the beginning of the month? where i live, when it's 4pm on may 31, it's june utc. if i am fighting vandalism, warnings from like 5 minutes ago will not appear.CrazyBoy826 20:28, 6 June 2020 (UTC)
- CrazyBoy826, sorry, I misread. I've fixed that but in rev13 which should be out within a few hours - in future, when I reprogram the warning detection system based on signatures, I'd like to do past 30 days rather than per the month header, as you suggested. Thanks for pointing that out! Ed6767 (talk) 20:31, 6 June 2020 (UTC)
- my time zone is PDT (pacific daylight saving time). it's 1pm where i am, 9:30pm where you live (Great Britain, as it says on your user page), so what has happened to your schedule? Also considering your time card, the vast majority of your edits are 8pm-2am and sometimes as late as 4am. late enough to see the next day's sunrise! CrazyBoy826 20:34, 6 June 2020 (UTC)
- So when you say "in a few hours" might be misleading. CrazyBoy826 20:36, 6 June 2020 (UTC)
- @Ed6767: How will you know the date of the above unsigned post? CrazyBoy826 20:53, 6 June 2020 (UTC)
- CrazyBoy826, let's just say my sleep schedule is ruined lol - and the one above will be registered based on the date header as my current idea of the algorithm would be reading the icon (what's already done) then reading until text that matches a signature (then reading the timestamp) - but if another icon is there (i.e. it is unsigned) it'll read based on the date header. It could use the investigate tool to find out who added it and when, but that would slow things down loads. Ed6767 (talk) 21:07, 6 June 2020 (UTC)
- @Ed6767: How will you know the date of the above unsigned post? CrazyBoy826 20:53, 6 June 2020 (UTC)
- CrazyBoy826, sorry, I misread. I've fixed that but in rev13 which should be out within a few hours - in future, when I reprogram the warning detection system based on signatures, I'd like to do past 30 days rather than per the month header, as you suggested. Thanks for pointing that out! Ed6767 (talk) 20:31, 6 June 2020 (UTC)
- @Ed6767: I mean it does not say the user had a 3 warning this month. Also, Can you chagne redwarn to detect for two months if it is the beginning of the month? where i live, when it's 4pm on may 31, it's june utc. if i am fighting vandalism, warnings from like 5 minutes ago will not appear.CrazyBoy826 20:28, 6 June 2020 (UTC)
- @Ed6767: It reads until a link to a user page then the numbres after it. If it is not present, how about the new post above? CrazyBoy826 21:12, 6 June 2020 (UTC)
- CrazyBoy826, it likely would be ignored as there would be no quick way to distinguish the time it was made. Ed6767 (talk) 21:14, 6 June 2020 (UTC)
- CrazyBoy826, Update out now btw. Ed6767 (talk) 00:48, 7 June 2020 (UTC)
Welcome feedback
Hi - I got a belated welcome today on my talk page from someone using RedWarn. The welcome is appreciated, but my initial glance at my watchlist had me jumping, the name REDWARN on my talk page made me think I'd made an error somewhere!
Maybe this is just me... but a "recent edits patrol and warning tool"/"counter-vandalism tool" maybe shouldn't be used for welcoming people? Sends the wrong vibe, in my opinion. Do let me know if I'm barking up the wrong tree.
The tool looks clever and interesting (from my brief read of the page, anyway!) Best wishes, Turini2 (talk) 22:02, 28 June 2020 (UTC)
- Turini2, thanks for leaving a message. The same happens with Twinkle, a similar tool for counter-vandalism and welcoming people, but welcoming people is also part of the usual process of recent changes patrol. Sorry for the confusion! Ed6767 talk! 22:27, 28 June 2020 (UTC)
- Ed6767, one thing to note is that Twinkle uses (TW) by default (and Twinkle isn't quite as... "threatening" (?) of a name, as opposed to something with "warn" in the name) - maybe something like RW as an acronym, at least when welcoming? Not sure, just throwing out ideas here. LittlePuppers (talk) 20:11, 29 June 2020 (UTC)
- LittlePuppers, thanks for the idea - I could do that, would just need people at XTools to update semi-automated detection accordingly. Ed6767 talk! 20:16, 29 June 2020 (UTC)
- (Addendum): Just noticed Huggle uses HG as well. LittlePuppers (talk) 23:19, 29 June 2020 (UTC)
- Sounds like a great solution to my ... problem! Best of luck! Turini2 (talk) 09:29, 30 June 2020 (UTC)
- Ed6767, WP:TW and WP:HG redirect to their respective tools, but WP:RW already redirects somewhere. Would that be an issue? —GalaxyDogtalk 01:16, 1 July 2020 (UTC)
- @GalaxyDog: It would always be possible to pipe the link, no? RandomCanadian (talk / contribs) 02:25, 1 July 2020 (UTC)
- @RandomCanadian and GalaxyDog:, could try using WP:RWRN, but that's a bit longwinded for a shortcut. Ed6767 talk! 13:01, 1 July 2020 (UTC)
- Ed6767, what about a three-letter shortcut, like WP:RDW? —GalaxyDogtalk 16:30, 1 July 2020 (UTC)
- @RandomCanadian: Yes, but the way the tool names are put in the edit summaries (i.e. "(HG)" or "(TW)") kind of makes it seem that there will be an associated shortcut for each of them in my opinion, and I think "(RW)" would too. —GalaxyDogtalk 16:25, 1 July 2020 (UTC)
- GalaxyDog, maybe we could have a redirect for discussion, then if consensus is to change WP:RW to here then using AWB to replace other unrelated redirects back to researching Wikipedia? Ed6767 talk! 16:37, 1 July 2020 (UTC)
- @Ed6767: That could be a good idea. I'm not experienced with Redirects for Discussion, but Special:WhatLinksHere/WP:RW shows that less than 50 pages link to WP:RW. However, what would you do about talk page messages? —GalaxyDogtalk 16:41, 1 July 2020 (UTC)
- GalaxyDog, maybe we could have a redirect for discussion, then if consensus is to change WP:RW to here then using AWB to replace other unrelated redirects back to researching Wikipedia? Ed6767 talk! 16:37, 1 July 2020 (UTC)
- @RandomCanadian and GalaxyDog:, could try using WP:RWRN, but that's a bit longwinded for a shortcut. Ed6767 talk! 13:01, 1 July 2020 (UTC)
- @GalaxyDog: It would always be possible to pipe the link, no? RandomCanadian (talk / contribs) 02:25, 1 July 2020 (UTC)
- Ed6767, one thing to note is that Twinkle uses (TW) by default (and Twinkle isn't quite as... "threatening" (?) of a name, as opposed to something with "warn" in the name) - maybe something like RW as an acronym, at least when welcoming? Not sure, just throwing out ideas here. LittlePuppers (talk) 20:11, 29 June 2020 (UTC)
- GalaxyDog, what talk page messages do you mean? Ed6767 talk! 16:43, 1 July 2020 (UTC)
- Ed6767, the talk page messages shown at Special:WhatLinksHere/WP:RW. —GalaxyDogtalk 16:44, 1 July 2020 (UTC)
- Oh, never mind, you are allowed to edit others' comments for the purpose of "fixing links". My mistake. —GalaxyDogtalk 16:46, 1 July 2020 (UTC)
- GalaxyDog, we should start a thread then - however, I'd prefer to have no involvement in it as it is my tool and I want to be fully impartial on consensus. Ed6767 talk! 18:13, 1 July 2020 (UTC)
- @Ed6767: Yeah, that's probably a good idea. Someone other than me should start it, though, because I'm not experienced with that sort of thing and I don't know all the rules, etc. —GalaxyDogtalk 18:31, 1 July 2020 (UTC)
- @Ed6767 and GalaxyDog: Were you still waiting on someone to start that? LittlePuppers (talk) 02:28, 7 July 2020 (UTC)
- @Ed6767: Yeah, that's probably a good idea. Someone other than me should start it, though, because I'm not experienced with that sort of thing and I don't know all the rules, etc. —GalaxyDogtalk 18:31, 1 July 2020 (UTC)
- GalaxyDog, we should start a thread then - however, I'd prefer to have no involvement in it as it is my tool and I want to be fully impartial on consensus. Ed6767 talk! 18:13, 1 July 2020 (UTC)
- Oh, never mind, you are allowed to edit others' comments for the purpose of "fixing links". My mistake. —GalaxyDogtalk 16:46, 1 July 2020 (UTC)
- Ed6767, the talk page messages shown at Special:WhatLinksHere/WP:RW. —GalaxyDogtalk 16:44, 1 July 2020 (UTC)
- LittlePuppers yep! Ed6767 talk! 02:29, 7 July 2020 (UTC)
- I'll do that for you quick, then. By the way, I don't think there would be any huge issue with you doing it, so long as you note that you're involved. (Most stuff happens because someone is interested and wants it to happen, after all.) LittlePuppers (talk) 02:32, 7 July 2020 (UTC)
- Discussion at Wikipedia:Redirects for discussion#Wikipedia:RW. LittlePuppers (talk) 02:51, 7 July 2020 (UTC)
- I was a bit surprised that a tool called "Redwarn" does welcomes . It seems the interface is a good design, and so editors have extended it to do welcomes; it seems likely that editors will want to use it for other non-warning/sometimes-warninglike tasks in the future, too (example). Thinking of the probable long-term scope/applications of the tool, might it be appropriate to rename it to something more general? I don't know, "BigRedButton" (better suggestions welcome)? Tools can rename themselves (example). HLHJ (talk) 16:02, 2 August 2020 (UTC)
- HLHJ, if the RfD linked above goes through, it's likely the edit summaries will be changed to just RW to prevent confusion, otherwise, I'll consider a rename as a possibility. Ed6767 talk! 19:14, 2 August 2020 (UTC)
- Thank you, Ed6767. I should have said that I didn't actually come here via an edit summary; I stumbled across RedWarn while searching for some other user-warning-template-related information. The "RW" in edit summaries sounds good; a scope that does not match the tool name is not a big problem. HLHJ (talk) 05:22, 3 August 2020 (UTC)
- HLHJ, if the RfD linked above goes through, it's likely the edit summaries will be changed to just RW to prevent confusion, otherwise, I'll consider a rename as a possibility. Ed6767 talk! 19:14, 2 August 2020 (UTC)
- I was a bit surprised that a tool called "Redwarn" does welcomes . It seems the interface is a good design, and so editors have extended it to do welcomes; it seems likely that editors will want to use it for other non-warning/sometimes-warninglike tasks in the future, too (example). Thinking of the probable long-term scope/applications of the tool, might it be appropriate to rename it to something more general? I don't know, "BigRedButton" (better suggestions welcome)? Tools can rename themselves (example). HLHJ (talk) 16:02, 2 August 2020 (UTC)
- LittlePuppers yep! Ed6767 talk! 02:29, 7 July 2020 (UTC)
RedWarn reporting rollback without performing it
Hi Ed- Just alerting you that when I used the "quick rollback non-constructive edit" on this diff, RedWarn reported that it made the rollback, but the history does not show it. I was reverting a session with no net change, so it's not a real problem. I think I have run into this before with RedWarn, and just wanted to let you know. Eric talk 23:52, 29 June 2020 (UTC)
- @Eric: An edit won't be logged into the history if there's no change. (It's the same as purging a page) Username6892 23:57, 29 June 2020 (UTC)
- This ^ - the rollback does happen but it won't show if there's no difference. Ed6767 talk! 12:33, 30 June 2020 (UTC)