User talk:Novem Linguae/Scripts/UserHighlighterSimple

Page contents not supported in other languages.
Source: Wikipedia, the free encyclopedia.

Green and grey went out

To editor Novem Linguae: A couple days ago it seems the green highlight of >10k edits and the grey of >500 edits went out. Chris Troutman (talk) 19:52, 8 March 2024 (UTC)[reply]

It's working again; thanks. Chris Troutman (talk) 20:35, 8 March 2024 (UTC)[reply]
Thanks for reporting this Chris. I temporarily fixed it. It's some kind of bug affecting NovemBot and Toolforge. It can be observed by looking at the -1.6 million byte diffs in this edit history. Will try to release a patch for this soon. –Novem Linguae (talk) 22:29, 8 March 2024 (UTC)[reply]
 Fixed I think. I added some code that checks how much data the bot wants to write, and if it is less than 1 million bytes, it will skip that day. Please let me know if it happens again, although I think this should do the trick. –Novem Linguae (talk) 08:54, 9 March 2024 (UTC)[reply]

Show bots a different colour

Here's a suggestion. For username highlighter, show bots under a different colour. It makes no sense to show them regular green. A simple unobstrusive grey or similar might be way better. Soni (talk) 00:22, 9 June 2024 (UTC)[reply]

I'm on the fence about this one. Any other talk page watchers interested in this? –Novem Linguae (talk) 00:45, 9 June 2024 (UTC)[reply]

Toggle

Novem Linguae, I just became aware of the existence of this script at the current RfA Talk page. I have what I think is a simple question. If I install it, does it automatically run on every page I look at? If yes, is there a way to turn it off without uninstalling it, and turn it back on when I wish to be dazzled by color? Thanks.--Bbb23 (talk) 20:38, 14 June 2024 (UTC)[reply]

It doesn't currently have a toggle. If you only want to run it on RFA subpages, that would be easy to script up in common.js and I could help with that. If you prefer a link that toggles it and the setting are saved between page loads, that would be a bit trickier. Thoughts? –Novem Linguae (talk) 22:08, 14 June 2024 (UTC)[reply]
I prefer a toggle, but I don't want to put you to extra work if my wish is not shared by others. BTW, there's something else I'd really like if you feel like tackling it. I don't know how hard it is. I want to be able to look at the contribution history of a page and see only the edits of blocked users. I've wished this for a while as it would help sometimes when I'm investigating a possible new sock.--Bbb23 (talk) 22:49, 14 June 2024 (UTC)[reply]
@Bbb23. Here's some code to make UserHighlighterSimple only run on RFA subpages. You'd put this in your common.js (and also make sure to delete the old entry in common.js):
if ( mw.config.get( 'wgPageName' ).startsWith( 'Wikipedia:Requests_for_adminship/' ) ) {
	importScript('User:Novem Linguae/Scripts/UserHighlighterSimple.js');
}
I'm currently a little busy and I don't think I'll have time to work on a toggle or a "show only blocked users in contribs" script. For the second one, you might want to post at
WP:US/R. Should be an hour or two to script up for someone experienced. Hope that helps! –Novem Linguae (talk) 14:30, 23 June 2024 (UTC)[reply
]
Thanks for the pointer to US/R.--Bbb23 (talk) 15:20, 23 June 2024 (UTC)[reply]