This is an archive of past discussions on Wikipedia:Ultraviolet. 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.
Just FYI, the "reminder" popup window makes it impossible to edit in Safari
Hey all. Some bug in the popup window when using the Timeless skin and Safari means you cannot close the "window" (which actually appears at the very bottom of the page) with either option, and there's some code in that "popup" that disables all editing. Seems like a pretty big bug! — 🦊21:21, 1 January 2021 (UTC)
Hi @Fox, this is an issue with the old script at User:Ed6767/redwarn.js - the pop up is a final reminder for the users who haven't yet transitioned to the new RedWarn script at User:RedWarn/.js as I plan to request deletion of the original script page soon. There has already been nearly a month of notice via pop ups and alerts, but we've decided to close the grace period now hence the dialog prompting immediate action. Ordinarily there's a button to dismiss this, however Safari isn't supported by RedWarn so we don't test for it and we understand bugs do occur, but Safari support is something we're working on in the future. ✨ Edtalk! ✨ 21:27, 1 January 2021 (UTC)
@IamNotU: The rollback options (as seen in contributions pages, for example) are not available in the page history. For that, please use the diff view shown by selecting the "prev" link of the latest revision, or use the Latest Revision button () in the page icons list (at the top right of the article, on the other side of the article title). Chlod (say hi!) 09:20, 1 January 2021 (UTC)
Ok, thanks. I guess it's a "feature request" then. I use Twinkle's "rollback/vandalism/restore this version" links from the article history much of the time (I wish it was available from my watchlist too). I rarely open a diff page because it takes several seconds on my old computer. I use inline diffs instead, which speeds up my work by an order of magnitude... having to go back and forth between the history and diff pages in order to use RW's rollback would slow things down for my workflow.
It could be done by putting RW's rvv/rb links, like on contrib pages, optionally in history and watchlist pages too. But if it's feasible, it would be even better if there was a link to pop up RW's customizable rollback toolbar directly from those pages. --IamNotU (talk) 14:04, 1 January 2021 (UTC)
Hello, I've recently started to edit again on Wikipedia after toning down the edits a bit, and I just thought it'd be nice to have welcoming templates like on Twinkle. That's the only reason I still have Twinkle; otherwise it would be gone in a heartbeat. Thanks, Thanoscar21talkcontribs23:57, 8 December 2020 (UTC)
How can I install a pre existing Quick Template pack
Select Template Pack
WELCOME 60 LINK BY WALRUS JI create
HELP / GET MORE TEMPLATE PACKS
CREATE NEW TEMPLATE PACK
Above are the only 3 options I see when I hit Quick Templates button. Where do I need to paste the Quick Template pack code I copied into my clipboard? Walrus Ji (talk) 19:43, 2 January 2021 (UTC)
I just switch over from Twinkle, however I notice that whenever I rollback vandalism and issues warning to the user. RedWarn would automatically add that user page to my watchlist permanently. In Twinkle, there's option to specify if you would like to add the user page to your watchlist permanently, for 1 week, for 1 month, for 3 months, for 6 months, or don't add.
As of now, there's no way to customize the addition of pages onto your watchlist. The setting in your Watchlist preferences is applied when creating/editing user talk pages. You may disable "Add pages I create and files I upload to my watchlist" in case you would like to stop adding user talk pages you create to your watchlist, however this will also stop you from getting watchlist updates for pages that you create on your own if you happen to write pages. We do hope to get this setting done soon enough though, as this is a problem I've personally run into as well. Cheers, and happy holidays! Chlod (say hi!) 14:10, 21 December 2020 (UTC)
Thanks for the reply, I think I just wait for the feature to roll out. Cheers and happy holidays to you as well! – Paper9oll(📣 • 📝)15:13, 21 December 2020 (UTC)
Hi @Paper9oll, just an update: I decided to close your feature request as we want to favour the watchlist preferences that have already been set by a user in their preferences at Special:Preferences#mw-prefsection-watchlist in order to reduce confusion, although we may reconsider this in future. Thanks again :) ✨ Edtalk! ✨ 20:46, 2 January 2021 (UTC)
Accidental blanking while sending messages using RW
Hi RedWarn community, I have started to use RW quite recently and I must say that its extremely user-friendly and I find it very useful while patrolling the recent changes log. However, on a few occasions something really weird keeps on happening. When I tried sending a new message on an editors's talk page using RW, if the net connectivity is poor (so it takes a log time to load the page) and I either close the tab or refresh the page, I accidentally end up blanking that talk page. This has happened now on three different occasions, see [1] and [2]. Can anyone explain what is happening? Thank you. --Ashleyyoursmile!07:53, 5 January 2021 (UTC)
Hi Ashleyyoursmile, that is very odd. Have you experienced this issue while warning users? I could only assume that each time this happens it has to be because your internet connection, or the connection between you and Wikipedia drops to a very very slow speed as each of these changes seem to be made of pages that are already quite big, so while RedWarn is reuploading the page content when you close the tab or refresh the page your browser closes all active connections. If this is during the process of the page contents being transmitted, I assume Wikipedia thinks that that's the end of the request, hence the large removals. Either way, we're going to work to mitigate the issue by replacing the existing algorithm with one that only appends the new content to a page as the existing one is old and evidently buggy. We'll aim to get this new algorithm out with the next update. Thanks for letting us know of this issue! ✨ Edtalk! ✨ 08:20, 5 January 2021 (UTC)
@Ed6767: Thank you so much for your prompt response. Actually yes, I did experience this issue once while warning an IP yesterday [3]. I concur with your hypothesis and hope you'll be able to crack it soon. Asartea, thanks so much for opening the community discussion. Happy New Year to both of you. :) Ashleyyoursmile!09:01, 5 January 2021 (UTC)
Awesome! I'm not that tech-proficient but if anyone ever needs help for this kind of stuff, I can assist in French, Spanish and Romanian. Happy New Year! Double Plus Ungood (talk)18:12, 6 January 2021 (UTC)
Quick Templates on Articles/Drafts/any page
Can quick templates be on any page? This is good for CSD nominations, copyright redaction requests, and more. Steve M (talk) 20:42, 6 January 2021 (UTC)
I just attempted to rollback an edit for vandalism and it looked like it did so and directed me to the vandal's talk page. A warning was issued, but it replaced the previous warnings instead of being at the bottom. When I returned to the page the rollback had not occurred. Diff of the warning and eventual reversion here, using *gasp* Twinkle.
Hi, I just updated the uw-defamatory series of templates to make it more in-line with other templates. Can someone kindly see those changes and check if RedWarn can be updated with the edited templates? Steve M (talk) 01:22, 12 January 2021 (UTC)
@Steve M: If the edit doesn't involve changing the template title or moving the page, then there is no need for us to change anything. The latest version of the template is always used. Chlod (say hi!) 03:40, 12 January 2021 (UTC)
"No search results found for section" notice after user warning
After warning a user and being taken to their talk page, I always see some text like this immediately below "From Wikipedia, the free encyclopedia": "No search results found for section "noticeApplied-999895695-999692148" in archives. It may have been removed or renamed, or you may have followed a malformed link." I don't see that when I'm not using RedWarn, and it goes away if I move elsewhere then come back to the user talk page. MichaelMaggs (talk) 14:16, 12 January 2021 (UTC)
This is a side-effect of User:SD0001/find-archived-section attempting to search for a noticeApplied-999895695-999692148 section in the talk page's archives, since the same string is used by RedWarn to determine applied notices. You can simply leave it alone or refer to here for a way to hide it. Chlod (say hi!) 14:21, 12 January 2021 (UTC)
Hi, I just installed RW. The first thing I noticed is that on every page there's a strange white bar stuck onto the page, a ways down from the top. It moves with the page as I scroll it. Here's a screenshot: [4]. I used Dark Reader in Firefox, and only see it when it's on. I can't select it using the DOM Inspector in the Web Console, it's like it's not there. Any idea what causes it, can it be fixed? --IamNotU (talk) 00:59, 31 December 2020 (UTC)
@IamNotU, we'd need to test, this is very odd and I don't see how it could be happening without some more investigation, I'd say it's the dialog but the dialog element isn't even created until you open one. cc @Chlod or @Prompt0259 if you could test 🎄🎄 Edtalk! 🎄🎄 01:03, 31 December 2020 (UTC)
@Ed6767: It's caused by the toast box which is (normally) hidden outside of the viewport. It stays there until a new toast is issued to MDL. On my personal projects, I make sure to delete the toast box's element after a toast is shown, and regenerate it when a new toast is about to be shown, but RedWarn doesn't do that (as of now). Chlod (say hi!) 01:10, 31 December 2020 (UTC)
Actually called the "snackbar" by specification. Toasts appear on the lower left hand corner, not the bottom of the page. Whoops. Chlod (say hi!) 01:13, 31 December 2020 (UTC)
Ok... well I'm kind of hungry now. But how do I kill it? I can add custom CSS to Dark Reader to fix bugs, but I don't know how to even select the element. Or maybe it's something that has to be fixed on the RW side? --IamNotU (talk) 02:27, 31 December 2020 (UTC)
Ed6767, I had to uninstall RW because of this. Let me know if there's something else I can do to help, or maybe give me a ping if you manage to fix it sometime, thanks. --IamNotU (talk) 00:50, 4 January 2021 (UTC)
Hi, IamNotU! We're willing to give this a more in-depth check, so are you willing to go on Discord or some other off-wiki service (IRC, maybe?) so that we can run through things smoothly? If you'd like to do it on-wiki, it's fine too, but rather inconvenient. Let us know when you're available and we'll try to test some things out to fix the issue. Chlod (say hi!) 04:02, 4 January 2021 (UTC)
Thanks Chlod - I did a little more troubleshooting, here are steps to reproduce it, at least on macOS:
In the latest Firefox, create a clean profile and install Dark Reader
Log in to a Wikipedia account with RedWarn installed
Set the Dark Reader mode to "Filter" or "Filter+"
Scroll down the screen just a little, the white bar appears
It doesn't seem to happen in Vivaldi (chromium-based) or Safari. I suppose it may be a bug in Dark Reader rather than RedWarn. As I mentioned, I wasn't able to fix it by adjusting the CSS in Dark Reader, but maybe I just don't know the magic words. I'll see if I can work around it by using Dynamic mode, but that tends to slow down page loads a lot. --IamNotU (talk) 15:55, 5 January 2021 (UTC)
Tried to post a Bot Username warning to User talk:BarryBrownBot. The draft message read "I noticed that your username, "API", may not meet Wikipedia's username policy ... ". "API" should presumably have read "BarryBrownBot". I posted it manually. MichaelMaggs (talk) 10:47, 13 January 2021 (UTC)
Asartea, OK, thanks. Might be worth considering something like [API] rather than "API". To me at least, putting something in quotes implies that it will be used as-is, not that it will be substituted. MichaelMaggs (talk) 11:58, 13 January 2021 (UTC)
@MichaelMaggs, technically we probably won't be able to do this as MediaWiki (the software that runs Wikipedia) generates the code for the preview through their API (hence the page name being "API" and this the username showing as "your username, 'API'...", but we'll look in to a way to not make it as confusing. Thanks for your suggestion :) ✨ Edtalk! ✨ 13:45, 13 January 2021 (UTC)
Please take a look at this. You may need to try it out. The first attempt necessarily fails due to the prompt to check the log. The second attempt will succeed. Can this process be gracefully handled by RW without a fatal error for the RW prompt. Ideally the red coloured log screen could be shown to the user in the RW window, and then if the user wants to continue posting, then he can click submit button twice.
At the bare minimum, The RW should not have a fatal error while adding this temple. RW must allow the user to proceed to the second attempt without redoing the whole process. --Walrus Ji (talk) 12:30, 13 January 2021 (UTC)
Chlod, Great. I am surprised, how quickly you have added a solution to this. I checked the alerts and the flow was smooth as one would expect. Thanks a lot. Walrus Ji (talk) 18:57, 14 January 2021 (UTC)
So I've noticed today that now my icons appear on the left hand side of the screen so they now get in the way of the article name. Not only that but there's now a line across the screen which is annoying. Does anyone know how to fix this?-- 5 albert square (talk) 22:40, 14 January 2021 (UTC)
@5 albert square: I've created an issue to track this problem on GitLab. I'm a busy as of the moment, so I might not be able to patch it within the next hour like usual, however I will get back to you as soon as I've fixed the problem and as soon as Ed6767 updates the script. Chlod (RW • say hi!) 23:19, 14 January 2021 (UTC)
Just link the "Bad AIV report" warning, can there be a "Bad UAA report" warning that uses Template:Uw-uaa as the template? A lot of people may make mistakes when reporting promotional usernames. Steve M (talk) 19:31, 13 January 2021 (UTC)
When you roll over the medium priority label in GitLab, disruption is misspelled as disurption. Any way to fix this? Steve M (talk) 17:00, 15 January 2021 (UTC)
@4thfile4thrank, we have a large user base and we'd have to be more careful as somebody could bypass the feature restriction and cause a huge amount of damage 🎄🎄 Edtalk! 🎄🎄 23:58, 12 December 2020 (UTC)
Is it possible to merge User:Writ_Keeper/Scripts/massRollback.js into this extension (as it is a very powerful tool if used right)? Based on tool examination, it uses the direct rollback links, which only exist if you have rollback privileges. For that reason, it is incompatible without rollback. It is highly useful for spambots and rapid-fire vandals that hit ten or more pages a minute, and are tedious to revert manually. I have had to mass rollback spambot vandals who typed the same thing on 5 pages every ten seconds, and it takes time for admins to block. Steve M (talk) 02:35, 16 January 2021 (UTC)
@Steve M, you might find it more convenient to make a GitLab account for feature suggestions at this rate lol - we appreciate them! ✨ Edtalk! ✨ 02:34, 16 January 2021 (UTC)
@Steve M: I'd rather appreciate it if you instead bumped this upper section instead of created a new one reposting the contents of the original. Additionally, we handle issues on a case-by-case basis (which may include internal talks, among other factors) and reposting this does not guarantee the fact that it will be turned into an issue on GitLab. If you want, you're more than free to create the issue yourself. Chlod (RW • say hi!) 05:43, 16 January 2021 (UTC)
Hi Walrus Ji, thanks for reporting this bug. Currently the exact cause of this bug is unknown, however it only seems to occur when there is another section underneath the date header. Asartea has filed this bug as #64, as some of the RedWarn team are currently taking a break, this may takel longer to get fixed than usual. However, thanks for reporting it! If you notice any other bugs feel free to add it here. — Yours, Berrely • Talk∕Contribs09:01, 22 January 2021 (UTC)
Up and down arrows next to the RW icons in Articles
Hi RW team, I am seeing Up and down buttons to the RW icons in Article diffs. Not shown in User talk diffs. Is this intentional? what is the purpose of those up-down buttons.--Walrus Ji (talk) 16:14, 15 January 2021 (UTC)
Hi, Walrus Ji! Can you please provide us with a screenshot of what's happening so that we can look into it? Use any image uploading service you're comfortable with and paste the link here after you're done. Thanks! Chlod (RW • say hi!) 16:56, 15 January 2021 (UTC)
Chlod, this issue came up since yesterday. If you open the diff page, and hit zoom with ctrl +, you should be able to see the arrow buttons. It is easily reproduced. If you still need screenshot then please let me know. Walrus Ji (talk) 17:48, 15 January 2021 (UTC)
I've tried reproducing this issue, however the up and down arrows don't appear. The problem also doesn't appear with other browsers, according to other team members. It looks like we might still need that screenshot and possibly your screen resolution as well, in case this is a styling issue. Chlod (RW • say hi!) 18:06, 15 January 2021 (UTC)
I've attempted to reproduce this issue using the exact browser settings you sent over email, however to no avail. Because of that, I'm going to have to take a blind shot and ask you to put this in your common.css file. In case you don't want to create a common.css file, please inform me so that I can convert this into JavaScript code that you may use on your common.js file instead.
Great! I'll have this patch be put in the next RedWarn update to avoid the same thing happening to other users. Thank you for your cooperation. Chlod (RW • say hi!) 18:43, 15 January 2021 (UTC)
Chlod, the same fix should also be applied to the "Restore this version" icon of RW. i.e. the icon on top of the details of the previous version, on a diff screen. Your fix solved the problem for the icons above the current version on the diff screen. Can you suggest the line to append on my common.css for this? Walrus Ji (talk) 06:19, 16 January 2021 (UTC)
Yes, we're working on localisation features in a rewrite so it isn't as messy or risky, but expanding beyond enwiki is definitely on the roadmap ✨ Edtalk! ✨ 18:32, 6 January 2021 (UTC)
What about other WMF projects like Wiktionary or Commons? Granted, it would probably need to be reworked for Commons as it's not exactly a traditional wiki. --C o r t e x💬talk11:44, 23 January 2021 (UTC)
"More" reasons to revert panel not working
Whenever I try to revert an edit for any reason outside of the ones that appear outside of the "more options" panel (the three dots), nothing save for the "vandalism statistics", "RW prefs", and "RW talk" panels show up. Is this intentional? Thank you for your time. Opal|zukor(discuss)14:24, 22 January 2021 (UTC)
@Ed6767: I'm using the default skin, Vector. As for RedWarn skins, I'm using Minimal, but it doesn't work with WikiBlue either. This occurs on any diff on which I can perform the RedWarn rollback feature (I don't have the rollback perm). Additionally, rearranging the redwarn icons does not fix the issue. 11:42, 23 January 2021 (UTC)Opal|zukor(discuss)
Note: Whilst these would be the recomended steps, Opalzukor's config is likely bigger as they have installed more template packs. However please do follow the steps above, they will likely fix the problem. Another scripts may be conflicting with RedWarn as well, so you might want to try temporarily disabling some to see if it fixes the issue. — Yours, Berrely • Talk∕Contribs12:50, 23 January 2021 (UTC)
@Walrus Ji and Berrely: Thanks for the advice. I followed the above steps, but RW still seems to be broken; this suggests that the issue is due to another conflicting user script. I shall test my config.js to see which one is causing the issue. Thank you all for your time. Opal|zukor(discuss)14:37, 23 January 2021 (UTC)
@Opalzukor: If you happen to find the userscript causing the issue, please get back to us so we can add in a fix. If you couldn't find an offending userscript, also get back to us so we can investigate. Thanks. Chlod (RW • say hi!) 14:39, 23 January 2021 (UTC)
@Opalzukor: The tools should show up since Special:Diff is just a shortcut to /w/index.php?diff=. The problem, however, is that RedWarn relies on links within the diff viewer to lead to index.php instead of Special:Diff in order to determine whether a page is a diff page or not. If it's not a bother, you'll have to uninstall CleanDiffURLs until that check is changed, since plans to change it are set for way later (i.e. our ongoing rewrite, which is not yet complete.) Chlod (RW • say hi!) 14:55, 23 January 2021 (UTC)
Inappropriate edit summary warning levels
Is it possible to add Template:uw-bes1, and the related series (2, 3, 4, 4im)? I feel it would be beneficial to have a series of warnings for inappropriate edit summaries rather than two warnings that do not fit ever situation. It should be called "Using inappropriate edit summaries". Thanks, Steve M (talk) 18:29, 24 January 2021 (UTC)
Hi @Steve M, we already have uw-wrongsummary and that series only seems appropriate for admins/others who can remove edit summaries? Normal editors can't do that ✨ Edtalk! ✨ 18:32, 24 January 2021 (UTC)
Ed6767, I believe it says "may be removed", which implies the future. Uw-wrongsummary is only a 1-way warning, and it not sufficient for edit summary vandalism. I saw a racist edit summary, that deserved a stern warning, as it isn't a good-faith mistake to put a racist slur in the edit summary. uw-wrongsummary doesn't cover that, as it has the tone of a level 1 warning. It needs a series in order for good-faith mistakes as well as bad-faith summaries can be addressed. the summary in question got revdelled hours later, so if it is in future tense, it can be ok, as it implies that the summary may be deleted in the future. Steve M (talk) 18:36, 24 January 2021 (UTC)
I just reverted a edit using RedWarn on Kosovo-Montenegro relations . But while warning RedWarn replaced the hyphen with some weird text and made it a red-link .1 Is this a bug or do I have to manually edit to fix the links . Kpgjhpjm 06:00, 26 January 2021 (UTC)
Hi, Kpgjhpjm! I've tried to reproduce this on my end, but to no avail. To my knowledge, this is problem caused by a character encoding mistake. By default, this bug shouldn't be happening unless you're using a very old version of Windows, as all contact with Wikipedia from RedWarn should be encoded in UTF-8, the universally-supported character set. Because of this, the most probable thing we can assume is that your browser (or operating system) might be misconfigured to use the incorrect character set, and thus causing the en dash (–) to render as –. However, we'll still run some checks on our end to see if we can alleviate this problem and we'll get back to you when we've found something. Chlod (RW • say hi!) 10:38, 26 January 2021 (UTC)
if (noRedirect) { rw.config.templatePacks = rwConfigTemplate; callback(); return; }; // DO NOT continue if no redirect is requested
window.location.hash = "#configChange";
window.location.reload(); // we done