User talk:Mr. Stradivarius

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Welcome to my talk page! Pull up a chair, and feel free to ask me anything.

TalkCleaner gadget[edit]

Hello, musical Maestro. I've installed User:Mr. Stradivarius/gadgets/UserTalkCleaner.js in the hope of being able to painlessly remove mass messages from my page, but it turns out I don't understand how to use it. There are no instructions. How is it supposed to make messages disappear, please? Bishonen | tålk 21:23, 23 January 2024 (UTC).Reply[reply]

Hi Bishonen! Long time no chat. :) I made a documentation page for the gadget - let me know if that answers your question. Some documentation for this tool was definitely overdue. — Mr. Stradivarius ♪ talk ♪ 02:44, 24 January 2024 (UTC)Reply[reply]
[Testing on an archive. Check!] It does answer my question. Thank you! Bishonen | tålk 09:29, 24 January 2024 (UTC).Reply[reply]

Cleaner[edit]

Looks great and works for Bishonen, but although I can see it in the toolbar, it doesn't do anything. Ideas? Thanks. Doug Weller talk 14:50, 2 February 2024 (UTC)Reply[reply]

@Doug Weller: What skin are you using? I tried it on your talk page and it seems to be working, so I guess it's probably a skin incompatibility issue or something. — Mr. Stradivarius ♪ talk ♪ 04:19, 3 February 2024 (UTC)Reply[reply]
Actually, ignore that - I just tried it with all the different skins, and it works with all of them (except MinervaNeue, which doesn't show the Tools menu). Maybe it's a conflicting gadget - I will have a quick look to see if I can pinpoint the problem. — Mr. Stradivarius ♪ talk ♪ 04:42, 3 February 2024 (UTC)Reply[reply]
Ok, I installed all the scripts from User:Doug Weller/common.js and tried the cleaner gadget on your talk page, and it still worked. When you click "Clean talk page", is an edit summary automatically inserted into the edit summary window? If so, it means that the gadget is working. If you go ahead and click "Save page", the sections recognised by the gadget should be removed. You can also click "Show changes" before you save the page to see what will be removed. (All the script does is alter the text inside the edit window.) — Mr. Stradivarius ♪ talk ♪ 04:54, 3 February 2024 (UTC)Reply[reply]
I see the edit summary. But show changes shows no changes and saving leaves the page as it was. Weird. Thanks for the help. Doug Weller talk 08:58, 3 February 2024 (UTC)Reply[reply]
@Doug Weller: Hmm. This sounds like a bug, but I can't quite put my finger on what's causing it. If it's not too much trouble, could you open your talk page in edit mode, open the developer console, and run the following code?
$('#wpTextbox1').text('');
This should blank the contents of the edit window when you run it. From your description and from the source code of the gadget, I think that this is the part that is going wrong, and I would like to check if my assumption is right or not. Let me know if the content of the edit window is blanked or not after you run the command. Best — Mr. Stradivarius ♪ talk ♪ 15:33, 4 February 2024 (UTC)Reply[reply]
@Mr. Stradivarius how do I run the command? Thanks. Doug Weller talk 15:48, 4 February 2024 (UTC)Reply[reply]
If this helps I see startup.js:1316 This page is using the deprecated ResourceLoader module "jquery.ui". in the developer console. Doug Weller talk 15:50, 4 February 2024 (UTC)Reply[reply]
And startup.js:1316 This page is using the deprecated ResourceLoader module "mediawiki.ui.button". Doug Weller talk 15:51, 4 February 2024 (UTC)Reply[reply]
@Doug Weller: In the developer tools, click the "Console" tab if you are not already there. (If you are seeing "This page is using the deprecated x" warnings, you are probably already there. These warnings are normal, and won't be the cause of the bug.) At the bottom of the console there should be a place where you can enter commands. On Firefox it is prefixed with ">>", and on Chrome it is prefixed with ">". Paste the command there and hit enter. This will run the command (JavaScript) in the context of the page you are viewing. — Mr. Stradivarius ♪ talk ♪ 02:49, 6 February 2024 (UTC)Reply[reply]
I'm afraid not. THe message returns "jQuery.fn.init {0: textarea#wpTextbox1.mw-editfont-sans-serif.ext-WikiEditor-realtimepreview-textbox, length: 1}" but there are no shcanges. Doug Weller talk 07:45, 6 February 2024 (UTC)Reply[reply]
@Doug Weller: Thanks - this helped me track down the issue. It turns out I was using a command that only worked when the edit window text was available as a direct child of the edit window element; this works most of the time, but not in certain configurations. I have fixed the gadget, so please try it again and see if it works for you now. — Mr. Stradivarius ♪ talk ♪ 14:24, 6 February 2024 (UTC)Reply[reply]
It does! Thanks, a really useful tool. Doug Weller talk 14:33, 6 February 2024 (UTC)Reply[reply]

The Signpost: 13 February 2024[edit]

Tech News: 2024-07[edit]

MediaWiki message delivery 05:47, 13 February 2024 (UTC)Reply[reply]

Tech News: 2024-08[edit]

MediaWiki message delivery 15:35, 19 February 2024 (UTC)Reply[reply]