User talk:Ponor/CoolCat

Latest comment: 2 months ago by Adam Harangozó (LSE WiR) in topic Commons page

Cat confirmation

edit
@Runolist: I’m just working on the bare mewnimum!

@Ponor I've been testing CoolCat out; one of the things I appreciate about HotCat is that you can use the Save button without necessarily confirming the individual cat change. Sort of feels more efficient: I type stuff in (maybe pick an autofill option out of the drop-down menu) and can immediately save whatever is in the input boxes. Is there a chance we can have this in CoolCat? Maybe I'm being greedy, it's already a huge relief I don't have to go through the code editor when changing multiple categories, but it's worth asking. :)
Alternatively, maybe the cat could be auto-confirmed if the user selects an option from the drop-down, so that you only have to save the edit afterwards? Rȕnolīst|þč 11:24, 27 January 2026 (UTC)Reply

@Runolist Hello User #1, and thanks for testing. I haven't used HotCat much, if at all, and I think it was because of some frustrations with its feels-like-1990s interface. Keyboard-mostly editing with CoolCat felt more natural to me: Tab, arrow up/down for the suggestions, PgUp/PgDn parent/child categories, Ctrl+Enter to save. Not sure if I understand correctly, but is Ctrl+Enter what you need? Oh, I read your question with my eyes open again -you mean if each individual "pill" should be confirmed first (not open for editing any more). I was thinking about that myself. Since the input can be incomplete, resulting in non-existing categories, I thought that one extra step was worth having (though it takes some discipline), because that's when we check if the category exists. That check could be done dynamically, but requires a request to the server with each key press. Let me play with this and I'll let you know. The closing of the pill upon a select from the drop-down list sounds like something I should do, though you'd lose the possibility of going 2+ levels up or down while looking for parent or child categories, which for me was fun to do, though I'm not sure if it's needed in real-life situations. I'll ask you about this in a day or two, maybe all this just needs time getting used to. Meow 🐈 Ponor (talk) 12:01, 27 January 2026 (UTC)Reply
@Runolist It may be because I've already spent so much time adding categories with CoolCat, but that one extra confirmation Enter does not seem like a big deal to me, given the benefits. Without it, what's shown to us in the automatic edit summary would be different from what's saved, if we were to accept the unclosed pills. I encourage you to try using only your keyboard once you start editing in CoolCat, for you know, cool 🐱🐱🐱 don't play nice with 🐭🐭🐭.
I thought of something else, though. You told me this one extra step feels like a waste of time. But how about I save you some time by letting you paste your previous edit's automatic summary, such as
+[[Category:Cats and dogs]] -[[Category:Mice]]
into the pristine (untouched) edit summary field of another article, to pre-fill the staging area with the same or similar category changes.
Since you have the CoolCat gadget enabled on Croatian Wikipedia, go to hr:Škola umjetničkih zanata u Weimaru and paste into the CoolCat's summary field any of the following:
-[[Category:Građevine u Njemačkoj]] +[[Kategorija:Muzeji u Njemačkoj]] +[[Kategorija:Bauhaus]]
-Kategorija:Građevine u Njemačkoj +Kategorija:Muzeji u Njemačkoj +Kategorija:Bauhaus
-Građevine u Njemačkoj | +Muzeji u Njemačkoj | +Bauhaus
Neat, huh? Let me know your thoughts! Ponor (talk) 06:47, 28 January 2026 (UTC)Reply
This is great and I love it! Thank you, Mr. Magic Man. B) Rȕnolīst|þč 20:24, 28 January 2026 (UTC)Reply

Persian translations

edit

@Ponor: Hi. This script is really cool and I want to use it on Persian Wikipedia and add it to gadgets there so other users can use it too. Will you please add Persian translations to User:Ponor/CoolCat-fa.js?

Btw I have a suggestion: if we could have a saving: 'Saving...', line added to baseDefaults and replace the string 'Saving...' at line 766 with this.config.saving to make it translatable, that would be great. I already included the translation for this one in my sandbox as I don't think it will break anything.

Thank you for the awesome tool! Jeeputer Talk 21:38, 28 January 2026 (UTC)Reply

We can also make line 159 (tool name) translatable if you prefer. Jeeputer Talk 21:42, 28 January 2026 (UTC)Reply
Apologies for spamming this talk page! Here is a list of two more strings that can be translated, with links to their respective lines:
Jeeputer Talk 21:51, 28 January 2026 (UTC)Reply
Worry not, @Jeeputer. I don't know how I missed those. Let me know if I can do anything else for you. This is a VERY new script, so unpleasant surprises can happen. I'd be curious to know how it all worked for you on the cutest-sounding-language wiki. Thanks for being so enthusiastic about the script. Stay tuned, there are some more coming ;) And let me know how you want diffGenerating:"Generating diff..." and diffNone:"No visual changes." translated. Ponor (talk) 23:13, 28 January 2026 (UTC)Reply
@Ponor: Thank you for updating the script. I will install and use it, then I will let you know if I find something to be fixed (surely I will find nothing :D). I will also tune in and watch the script page for latest updates while using it on fawiki.
I really love cats, especially the cool ones! Jeeputer Talk 23:24, 28 January 2026 (UTC)Reply
@Ponor: Forgot about translations! Please add diffGenerating: "در حال تولید تفاوت...", and diffNone: "فاقد تغییر قابل مشاهده.",. Thanks! Jeeputer Talk 23:28, 28 January 2026 (UTC)Reply

Serbian Cyrillic localization (sr-ec)

edit

Hi @Ponor, I've created a localized version of CoolCat in Serbian using the Cyrillic script (sr-ec).

It's a fantastic tool, and I wanted to make it more accessible for our local community. I have hosted the localized script and provided the installation instructions/documentation here.

Thanks for developing such a "cool" and efficient gadget! 🐈‍⬛ - Mmns21 (talk) 17:50, 23 February 2026 (UTC)Reply

Hey @Mmns21. Thanks. I'm glad you like it. Let me know how it worked on srwiki, as that one has some interesting scripting sitting on top of every page. Good luck, and happy categorizing! Ponor (talk) 16:21, 25 February 2026 (UTC)Reply

Commons page

edit

Hi,

Thanks for developing this tool, I've found it very useful so far. I created a Commons page for it so it's discoverable there too, I hope that's okay.

Best, Adam Harangozó (LSE WiR) (talk) 10:08, 1 April 2026 (UTC)Reply