Wikipedia talk:Ultraviolet/2021/December

Install does not work
0mtwb9gd5wx (talk) 04:36, 4 December 2021 (UTC)
 * Pressed RED install does not work.
 * mw.loader.load( '/w/index.php?title=User:RedWarn/.js&action=raw&ctype=text/javascript' ); // Backlink: User:RedWarn/.js does not work.
 * importScript('User:RedWarn/.js'); // Backlink: User:RedWarn/.js does not work.
 * @0mtwb9gd5wx, if you open the Javascript console (see WP:JSERROR) what error do you get? ✨ Ed  talk!  ✨ 20:53, 8 December 2021 (UTC)
 * where on the internet is the RedWarn code that gets loaded by the browser? ... 0mtwb9gd5wx (talk) 21:18, 8 December 2021 (UTC)
 * The code actually loaded on-wiki can be found here. The GitLab repository, containing the unminified source code (i.e. what's condensed into the on-wiki script) can be found here. Hopefully that answers your second question - as for the first, see Ed's reply above. Rema goxer  (talk) 21:59, 8 December 2021 (UTC)

Template:Uw-thumb in infobox
Can someone add Template:Uw-thumb in infobox to the list of user warning templates? Thanks!. Firestar464 (talk) 07:37, 3 December 2021 (UTC)


 * Apologies for the slightly late response, but per the template on the right support for this user warning will be added in the future. Rema goxer  (talk) 22:14, 8 December 2021 (UTC)
 * Added with Special:Diff/1059412090. I do need to note however that this template may be conflicting with the user warning design guideline in terms of its language and needs to be rewritten at some point. Chlod ( RW • say hi!) 08:34, 9 December 2021 (UTC)
 * Nevermind with that latter part, ✅ with Special:Diff/1059413337. Chlod ( RW • say hi!) 08:48, 9 December 2021 (UTC)

Tag edits with in-line cleanup templates
Could something like this (discussion) be added? &#8213; Qwerfjkl  talk  14:31, 23 November 2021 (UTC)


 * Inline editing is a bit of a feat since plain rendered wikitext does not come with any metadata that can tell us what is and what is not part of the article. Usually this is solved by using Parsoid, but unfortunately the Parsoid format isn't what pages are rendered as. This then comes down to the problem of performance: there is an option to automatically load the Parsoid-built page whenever the userscript is loaded so that issues can be tagged instantly, or a button can be pressed that activates such an "inline editing" mode (much like how Who Wrote That? is implemented). Both of those, however, can't solve the problem of editing statements that are within existing templates or tables (such as cquote or blockquote). It's a balance of user friendliness and technical restrictions that make it hard to implement, and I don't think that it's not going to be one of our main foci as of now. Chlod ( RW • say hi!) 09:01, 9 December 2021 (UTC)

Article not included inside warned message
Hi devs, there is an issues with the warn user function, when Formula of Love: O+T=＜3 is included in the Related Page parameter input field, the preview would displayed it as " " instead of Formula of Love: O+T=<3 and output would be as seen here. The issue doesn't affect Twinkle as seen here hence I believe there's some issues with Redwarn handling of the wikilink/URL.  — Paper9oll  (🔔 • 📝)  04:08, 30 November 2021 (UTC)


 * So it has been 1 weeks, any update?  — Paper9oll  (🔔 • 📝)  16:21, 9 December 2021 (UTC)
 * Sorry for the late response, the bot that usually notifies us of talk page updates was accidentally locked out of our internal channels. Anyways, ✅ with Special:Diff/1059483754. Chlod ( RW • say hi!) 18:54, 9 December 2021 (UTC)

Hi
Why redwarn is not included on users preferences, unlike Twinkle. — Ctrlwiki  • talk  • 17:20, 15 December 2021 (UTC)
 * Hi @Ctrlwiki, RedWarn went through a discussion in 2020 to become a gadget which was later withdrawn by the former lead developer when it was decided that, as RedWarn was a relatively new tool, it would be better to develop most of the core features of RedWarn before becoming a gadget. In the future, RedWarn may have another discussion to become a gadget, however for now the only way to install RedWarn is a userscript. Hope this helps :) —  Berrely  • Talk∕Contribs 17:28, 15 December 2021 (UTC)


 * Thanks, I don't know about javascript, but I enabled Twinkle in my user preference. But both Twinkle and RedWarn is safe to use, right? — Ctrlwiki  • talk  • 17:31, 15 December 2021 (UTC)
 * @Ctrlwiki if you want to install RedWarn, you can follow the instructions at RW/GET. To my knowledge, both RedWarn and Twinkle are completely safe. Both tools are open source, so if you want you may audit the code yourself. Twinkle source, RedWarn source — Berrely  • Talk∕Contribs 17:33, 15 December 2021 (UTC)

December 2021
Hi again! What are the features of RedWarn that only rollbackers can use? Haha. Thanks. — Ctrlwiki  • talk  • 03:38, 17 December 2021 (UTC)
 * @Ctrlwiki: See RedWarn. &#8213; Qwerfjkl  talk  08:36, 17 December 2021 (UTC)
 * Unlike Twinkle, RedWarn supports both rollback and rollback-like functionality for users with rollback permissions. This significantly decreases waiting times during rollbacks. what does this mean? — Ctrlwiki  • talk  • 08:41, 17 December 2021 (UTC)
 * @Ctrlwiki: If you revert an edit it won't take as long as normal undo. &#8213; Qwerfjkl  talk  08:46, 17 December 2021 (UTC)

Wrong summary for a Review log reversion
Hi, I was doing a Pending changes review for Chimpanzee. I rejected the change, & entered my edit summary, then submitted. The RedWarn page for Pending changes came up, which I dismissed.

Later, I happened to check the Pending changes log & found that there was an edit summary completely different than I had entered:
 * 2021-06-20T15:29:41 Peaceray talk contribs reviewed a version of Chimpanzee (Photographic memory redirects to eidetic memory. (RW 16.1)) (changes reviewed) (revision: 2021-06-20T14:42:10)

Peaceray (talk) 18:54, 20 December 2021 (UTC)


 * The edit summary for Chimpanzee, BTW, was correct:
 * (Reverting 1 pending edit by 2601:283:C202:5930:86C0:EFFF:FED3:CF57 to last accepted version by ClueBot NG: Unnecessary; why only one & not the others? It is already in full for the first subspecies. (RW 16.1))

Peaceray (talk) 19:00, 20 December 2021 (UTC)

Possible permission check bypasses
Hi,

Commenting out a certain few lines (not going to specify which just in case someone tries) in the RedWarn script allows any registered user to run RedWarn, regardless of permissions. (I tested this as an IP and it gave a "can't create configuration files" error instead of a "lacks permissions" one.)

Changing "true" to "false" on a certain line close to the aforementioned ones (not specifying for same reason as above) will bypass the extended-confirmed requirement for certain features.

This could allow a vandal to make a semi-automated vandalbot without having to actually write their own script.

Could you fix this (possibly using a self-integrity check)? Thanks. --67.183.136.85 (talk) 21:23, 22 December 2021 (UTC)


 * Hi there! We've already dealt with this problem before and have already implemented a check that balances both security and user scrutiny. Tampered RedWarn versions are marked and the developers are alerted whenever one is detected. Chlod ( RW • say hi!) 21:28, 22 December 2021 (UTC)

redwarnRules.json page
I've added a user-warning template that I'd like to use on my redwarnRules.json page in Special:PermaLink/1062267508, do I need to sync this change with the main RW database or can I just start using the template? Pahunkat (talk) 11:38, 27 December 2021 (UTC)


 * The new template should be usable immediately. If it doesn't work, try force-refreshing your browser with (or  on Mac). Chlod ( RW • say hi!) 16:44, 27 December 2021 (UTC)


 * Thanks ! Pahunkat (talk) 20:09, 27 December 2021 (UTC)