MediaWiki talk:Gadget-Cat-a-lot.js/Archive 3

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Adding a subcategory

The Category:City of David has a large amount of pictures belong in the Category:Acra fortress. I think I know how to move all those pictures using Cat-a-ot but how do I add a subcategory for Acra fortress at Category:City of David? Raquel Baranow (talk) 19:36, 31 July 2021 (UTC)

@Raquel Baranow: The two cats are separated by Category:City of David Givaty parking lot. After opening the Cat-a-lot interface at Category:City of David, you may click on "City of David Givaty parking lot" (or type "Acra fortress" without quotes into the white box at the top of that interface and tap the "Enter" key), and "Acra fortress" will show up as a lineitem.   — Jeff G. please ping or talk to me 22:05, 31 July 2021 (UTC)
@Jeff G.: Great, thanks for the advice about the best category to move it to. Now, the second question: How do I add a subcategory to a category? Raquel Baranow (talk) 22:40, 31 July 2021 (UTC)
@Raquel Baranow: You're welcome. Before categorizing, make sure you understand COM:OVERCAT. Then, on a new line at the bottom of a new or old subcategory page, type "[[Category:parentcategoryname]]" without quotes. Or, while viewing something that contains the subcategory page, open Cat-a-lot, select the subcategory, type "parentcategoryname" without quotes into the white box at the top of the cat-a-lot interface and tap the "Enter" key, and then click the "+" icon next to parentcategoryname.   — Jeff G. please ping or talk to me 00:39, 1 August 2021 (UTC)
@Jeff G.: Right, thanks for bringing up the subject of over-categorizing (I did read that section while looking for answers to my questions); that’s why I wanted to know about adding a subcategory because if the pic was subcategorized, the parent page didn’t have a link to the subcategory so I left it in the parent too. Raquel Baranow (talk) 00:58, 1 August 2021 (UTC)
@Jeff G.: : Hi, I just made my 1000th edit on Wikimedia while categorizing a pile of pics in the Category:City of David; now I’m down to a bunch of archeological photos I’m not sure of what they are. There are about a dozen digs around the City of David. I’m thinking of creating a new category entitled, “Category:Archeological sites in City of David,” as a subcategory of: Category:Archaeological sites in Israel. I suppose then I should include as subcategories all the digs that are already categorized?Raquel Baranow (talk) 17:24, 1 August 2021 (UTC)
Just noticed there is Category:Archaeological sites in East Jerusalem but City of David is erroneously listed as a subcategory in Category:Archaeological sites in West Jerusalem (CoD is in East Jerusalem) and, it doesn’t look like a good idea to dump a bunch of uncategorized pictures in that Parent Category. Raquel Baranow (talk) 19:08, 1 August 2021 (UTC)
Fixed the mis-categorization but not sure what to do with all the uncategorized pics in the City of David category. Raquel Baranow (talk) 20:43, 1 August 2021 (UTC)
I guess I’ll just leave them where they are but I did ask one person (on their Discussion Page) with a lot of uncategorized pictures to describe what the pics show. Raquel Baranow (talk) 22:10, 1 August 2021 (UTC)
@Raquel Baranow: That's good work, how do you know about those sites?   — Jeff G. please ping or talk to me 07:49, 2 August 2021 (UTC)
@Jeff G.: : Thanks, been studying the history of the area and archeology. I expect major discovery or realization about the location of the Temple soon. Raquel Baranow (talk) 14:07, 2 August 2021 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --RZuo (talk) 08:35, 6 August 2023 (UTC)

Update disambig_category

{{Editprotect}} change line 125 to

disambig_category: 'Disambiguation categories', // Commons

reason: Category:Disambiguation categories.--RZuo (talk) 10:51, 30 March 2023 (UTC)

Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --RZuo (talk) 08:35, 6 August 2023 (UTC)

Cannot save preferences

Hello Cat-a-lot maintainers - It's been brought up on the Cantonese Wikipedia that Cat-a-lot is unable to save preferences there. We've updated to the newest version of the script this month but that didn't help. Can a maintainer of this script go and have a look? Deryck Chan (talk) 10:44, 8 October 2018 (UTC)

notice that this gadget requires 2 other gadgets: MediaWiki:Gadget-SettingsManager.js, and MediaWiki:Gadget-SettingsUI.js. these files on cantinese wikipedia seems to be out of date. i can't guarantee that getting an updated version will fix the problem, but this is the first thing i would try. peace - קיפודנחש (talk) 06:11, 11 October 2018 (UTC)
I've updated MediaWiki:Gadget-SettingsManager.js - one line has been updated which concerns some deprecation of a regex-related function. The other gadget is up to date. User:Roy17 - Can you check whether you can save preferences now? Deryck Chan (talk) 12:58, 11 October 2018 (UTC)
Yes it's working now. Thanks a lot! --Roy17 (talk) 13:08, 11 October 2018 (UTC)
This section was archived on a request by: Per comment above. —⁠andrybak (talk) 22:11, 4 June 2024 (UTC)

Azerbaijani translation

{{Edit request}} Hello. Can anyone add this code to MediaWiki:Gadget-Cat-a-lot.js/az? I don't have permission to create that page. --Nemoralis (talk) 08:17, 6 December 2023 (UTC)

@Nemoralis: Hi. Can you please create a js page in your userpace with the code, I will just move the page then as I'm unable to copy-paste the code without error. Also please leave templates as it is (those between {{ and }}, parameters in plural template should be translated though) as templates with those translated names do not exist, see MediaWiki:Gadget-Cat-a-lot.js/de for example. Thanks! -- CptViraj (talk) 12:16, 6 December 2023 (UTC)
@CptViraj, here you go: User:Nemoralis/cat-a-lot-az.js Nemoralis (talk) 12:20, 6 December 2023 (UTC)
✓ Done. -- CptViraj (talk) 12:39, 6 December 2023 (UTC)
This section was archived on a request by: Implemented in Special:Diff/828520475. —⁠andrybak (talk) 22:08, 4 June 2024 (UTC)

Searchpage results

This gadget depends on the searchresultImage being a table, but we intend to change that next week to be a div. Because of that, the line:

this.labels = this.labels.add( $( 'table.searchResultImage' ).find( 'tr>td:eq(1)' ) );

should change to:

this.labels = this.labels.add( $( '.searchResultImage .searchResultImage-text' ) );TheDJ (talkcontribs) 07:52, 4 May 2024 (UTC)

Could this change have anything to do with Cat-a-lot failing to select any files in this kind of pages with searchresults? I noticed the issue today - it is a showstopper for me. Peli (talk) 10:26, 15 May 2024 (UTC)
This is the issue I've been having as well today. No Swan So Fine (talk) 11:52, 15 May 2024 (UTC)
"Could this", Yes this is exactly why I posted the warning :) —TheDJ (talkcontribs) 12:36, 15 May 2024 (UTC)
Thanks for the warning and confirmation. Is anyone around or can anyone be pinged who can fix this soon? Thank you. Peli (talk) 19:31, 15 May 2024 (UTC)
@AntiCompositeNumber: Maybe you can do it? See also the other request above. Nardog (talk) 21:38, 15 May 2024 (UTC)
For me the same. I can select files in categories, but not on search results.Avron (talk) 11:50, 16 May 2024 (UTC)
I am here for the same issue, can't use cat-a-lot in search results any longer... User:TheDJ Can you just make search results a tab again? Never had any issue on that. --Sailko (talk) 15:23, 16 May 2024 (UTC)
✓ Done MusikAnimal talk 17:46, 16 May 2024 (UTC)
Thanks, Peli (talk) 10:31, 18 May 2024 (UTC)
This section was archived on a request by: Implemented in Special:Diff/876868575. —⁠andrybak (talk) 22:09, 4 June 2024 (UTC)