Open main menu
Archive This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page.

Contents

Cat-a-lot and watchlist

One extension I would love to see would be: a "Add to watchlist?" check box that can be check off. Using Cat-a-lot with user preference "Add pages and files I edit to my watchlist" (among other things) caused my watchlist to get to the size I can no longer edit it. --Jarekt (talk) 00:40, 16 October 2012 (UTC)

There is a new link Preferences. Clicking that will open a dialog. Perhaps I should announce this in the watchlist. -- Rillke(q?) 06:33, 16 October 2012 (UTC)
That is very useful. Thanks --Jarekt (talk) 18:24, 29 November 2012 (UTC)
This section was archived on a request by: Rillke(q?) 15:32, 6 December 2012 (UTC)

Problem with cats containing colons

Hi, first of all, wonderful tool, would not know what to do without it. There is a slight problem with colons in category names, which cannot be selected. Try Category:Station 10: Jesus is stripped of His garments in the input box, only the part after the colon (a non-existing cat) will be shown. As a workaround you can select the parent category (colon free) and navigate to the colon-containing subcategory. This works. A fix is welcome. --Herzi Pinki (talk) 10:45, 21 October 2012 (UTC)

Hope this fixed it and didn't destruct something else. -- Rillke(q?) 19:34, 21 October 2012 (UTC)
Just in case someone would like me telling you this: According to Commons:Categories#Category structure in Wikimedia Commons, one should not use two colons in category or page names. -- Rillke(q?) 20:36, 21 October 2012 (UTC)
This section was archived on a request by: Rillke(q?) 18:04, 29 November 2012 (UTC)

Making Cat-A-Lot loading more than 50 subcategories

Recently my attention was brought to the fact that Cat-a-lot "only" loads 50 subcategories as a maximum. This seems to be not enough in some cases. Should Cat-a-lot be allowed to load more? Do you have concerns against raising the number to 150? Thanks -- Rillke(q?) 18:01, 29 November 2012 (UTC)

I do not see harm in it, but I am also hard pressed to think about the scenario where it would make a difference. When there are so many subcategories than I usually use a separate tab to browse them and than cut and paste the category name. --Jarekt (talk) 18:35, 29 November 2012 (UTC)
There is now a pref for it; let's see how it is used. -- Rillke(q?) 11:08, 6 December 2012 (UTC)
Postscript:I started using this tool a week ago, an injury temporarily crippling one hand. Today its failure to show all of Category:Midtown Manhattan confused me; guess I'll have to figure neat ways to subdivide cats. Jim.henderson (talk) 15:31, 31 March 2013 (UTC)
Just for the record: Help:Gadget-Cat-a-lot#Preferences -- Rillke(q?) 21:04, 31 March 2013 (UTC)
This section was archived on a request by: Rillke(q?) 11:08, 6 December 2012 (UTC)

Archiving could not be finished

The bot-run at 08:01, 30 November 2012 (UTC) was not successful, because the template Template:Autoarchive resolved section contains incorrect paramenters. Please have a look at the documentation and fix the mistake. Regards --SpBot (talk) 08:01, 30 November 2012 (UTC)

This section was archived on a request by: Rillke(q?) 08:45, 30 November 2012 (UTC)

Japanese translations

{{Editprotected}} Please add Japanese translations from User:Whym/Gadget-Cat-a-lot.js/ja. --whym (talk) 14:39, 6 December 2012 (UTC)

  Done Thanks for helping. -- Rillke(q?) 15:32, 6 December 2012 (UTC)
This section was archived on a request by: Rillke(q?) 15:32, 6 December 2012 (UTC)

fa.wiki

please move MediaWiki talk:Gadget-Cat-a-lot.js/fa to MediaWiki:Gadget-Cat-a-lot.js/fa Reza1615 (talk) 21:47, 14 February 2013 (UTC)

  Done by User:Mmxx --whym (talk) 10:46, 14 April 2013 (UTC)
This section was archived on a request by: whym (talk) 10:46, 14 April 2013 (UTC)

Cat-a-lot not working

Cat-a-lot has disappeared, anyone know what's happened to it and if/when it'll be back? - MPF (talk) 19:52, 8 June 2013 (UTC)

Are there error messages in the JavaScript error console of your browser? In Firefox, press Ctrl+ Shift+J. Only error messages are important. -- Rillke(q?) 20:11, 8 June 2013 (UTC)
Hmm, looks like yes, I just did that, and got a whole long list of items all dated today; here's they are:

[snipped list] MPF (talk) 22:20, 8 June 2013 (UTC)

Unfortunately, they don't mean a thing to me. - MPF (talk) 20:56, 8 June 2013 (UTC)
The issue is not only with Cat-A-Lot. Nearly everything will not work. Did you try to {{Purge client cache}} ? MediaWiki developers are responsible for this: jQuery.exps.text (where the syntax-error was thrown) does not occur in new versions served so please make sure to clear your cache. Thanks. -- Rillke(q?) 21:51, 8 June 2013 (UTC)
Thanks! That purge worked ;-) MPF (talk) 22:20, 8 June 2013 (UTC)
This section was archived on a request by: Rillke(q?) 22:32, 8 June 2013 (UTC)

Yes thanks, but could a summary of it be left in a 'Troubleshooting' section prominently visible somewhere here, in case I or others face the same problem again, please! - MPF (talk) 08:16, 9 June 2013 (UTC)

Cat-a-lot not working

Cat-a-lot has disappeared, anyone know what's happened to it and if/when it'll be back? - MPF (talk) 19:52, 8 June 2013 (UTC)

Are there error messages in the JavaScript error console of your browser? In Firefox, press Ctrl+ Shift+J. Only error messages are important. -- Rillke(q?) 20:11, 8 June 2013 (UTC)
Hmm, looks like yes, I just did that, and got a whole long list of items all dated today; here's they are:

[snipped list] MPF (talk) 22:20, 8 June 2013 (UTC)

Unfortunately, they don't mean a thing to me. - MPF (talk) 20:56, 8 June 2013 (UTC)
The issue is not only with Cat-A-Lot. Nearly everything will not work. Did you try to {{Purge client cache}} ? MediaWiki developers are responsible for this: jQuery.exps.text (where the syntax-error was thrown) does not occur in new versions served so please make sure to clear your cache. Thanks. -- Rillke(q?) 21:51, 8 June 2013 (UTC)
Thanks! That purge worked ;-) MPF (talk) 22:20, 8 June 2013 (UTC)

Yes thanks, but could a summary of it be left in a 'Troubleshooting' section prominently visible somewhere here, in case I or others face the same problem again, please! - MPF (talk) 08:16, 9 June 2013 (UTC)

And now Cat-a-lot has disappeared again - and this time, trying to purge it didn't work :-( MPF (talk) 13:44, 14 July 2013 (UTC)

No, there is a server issue which is being worked on by staff members. -- Rillke(q?) 13:49, 14 July 2013 (UTC)
Thanks! Looks to be working again now. - MPF (talk) 14:37, 14 July 2013 (UTC)
Yes. Most gadgets are back. Others are still marked as "misssing". -- Rillke(q?) 15:30, 14 July 2013 (UTC)
This section was archived on a request by: Rillke(q?) 22:32, 8 June 2013 (UTC)

Preferences don't stick

-- at least in my experience. I've reset them a couple of times so as NOT to clutter my watchlist with hundred of cat changes, but -- They're Back. Am I missing something? --Pete Tillman (talk) 03:46, 28 December 2013 (UTC)

Still a problem. "Preferences" popup says no watchlist, but it ain't so. Help? --Pete Tillman (talk) 07:18, 4 January 2014 (UTC)
Fixed. -- Rillke(q?) 20:37, 13 August 2014 (UTC)
This section was archived on a request by: Rillke(q?) 20:37, 13 August 2014 (UTC)

Simple request: Give number of pages skipped

When you do a mass copy to another category, the tool lists the pages it skipped because the new category was already present. Could a simple number be included in the text so that instead of saying "The following files were skipped..." it says "The following 14 items were skipped..." -mattbuck (Talk) 12:45, 7 March 2014 (UTC)

This section was archived on a request by: Rillke(q?) 20:00, 13 August 2014 (UTC)

Is there a problem with this gadget?

It disappears from sight as soon as I enter the cat name in the window. Oyoyoy (talk) 07:26, 28 June 2014 (UTC)

Let me guess, you are using Chrome, an older Safari or a new version Opera. -- Rillke(q?) 10:15, 28 June 2014 (UTC)
Fixed locally.

Please purge your browser’s cache. (You only need to do it once.)

Internet Explorer: Press Ctrl+F5
Mozilla Firefox: Microsoft Windows and Linux:
Hold down  Shift while clicking Reload (or press Ctrl+F5 or Ctrl+ Shift+R)

macOS:
+R (reload page) or + Shift+R (reload page and rewrite cache)

Opera/Konqueror: Press Ctrl+F5 or  Shift+F5
Apple Safari: Hold down  Shift+Alt while clicking Reload

Mac OS X:

++E (clearing browsercache) or +R (update)

Microsoft Windows:
Ctrl+R

Chrome: Ctrl+F5 or  Shift+F5 or hold down  Shift while clicking Reload
Note: in MacOS  Cmd for Ctrl
-- Rillke(q?) 10:35, 28 June 2014 (UTC)
This section was archived on a request by: Rillke(q?) 20:00, 13 August 2014 (UTC)

Broken on search?

Since yesterday cat-a-lot doesn't oben on the search page. On category pages it opens. What happened?--Avron (talk) 07:10, 9 August 2014 (UTC)

  Fixed. Sorry, missed testing on search. -- Rillke(q?) 09:37, 9 August 2014 (UTC)
This section was archived on a request by: Rillke(q?) 20:01, 13 August 2014 (UTC)

The gadget doesn't work

Since today, the tool doesn't work. The selection is OK but when i click "move" or "copy", the tool ignores it and does nothing. --ŠJů (talk) 22:12, 13 August 2014 (UTC)

Me too. Jim.henderson (talk) 22:50, 13 August 2014 (UTC)

Same for me. Firefox 31.0 JavaScript console shows "TypeError: this.showProgress is not a function" when I hit Move or Copy. It was shown variously at load.php:306 and load.php:338. Chromium 36.0.1985.125 shows this trace:

Uncaught TypeError: undefined is not a function load.php?debug=false&lang=en&modules=ext.categoryTree%7Cext.echo.base%2Cdesktop%2Coverlay%7Cext.gad…:75
(anonymous function) load.php?debug=false&lang=en&modules=ext.categoryTree%7Cext.echo.base%2Cdesktop%2Coverlay%7Cext.gad…:75
fire load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20140812T1…:44
self.fireWith load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20140812T1…:46
deferred.(anonymous function) load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20140812T1…:47
mw.loader.using load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20140812T1…:178
window.catALot.doSomething load.php?debug=false&lang=en&modules=ext.categoryTree%7Cext.echo.base%2Cdesktop%2Coverlay%7Cext.gad…:75
window.catALot.moveHere load.php?debug=false&lang=en&modules=ext.categoryTree%7Cext.echo.base%2Cdesktop%2Coverlay%7Cext.gad…:74
(anonymous function) load.php?debug=false&lang=en&modules=ext.categoryTree%7Cext.echo.base%2Cdesktop%2Coverlay%7Cext.gad…:76
jQuery.event.dispatch load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20140812T1…:65
elemData.handle load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20140812T1…:60

--Closeapple (talk) 01:13, 14 August 2014 (UTC) My hope is, the owner in Europe, or someone else competent, will awake in a few hours and repair it.

— Preceding unsigned comment added by Jim.henderson (talk • contribs) 14 August 2014, 01:47 (UTC)
This was sloppy work of mine. Should have checked the source code with a debugger instead of assuming that Resource Loader would refresh the cache in a reasonable time. Should be back to work now. -- Rillke(q?) 08:46, 14 August 2014 (UTC)
This section was archived on a request by: Rillke(q?) 08:46, 14 August 2014 (UTC)

Bug: Cat-a-Lot does not remove {{Check categories}} anymore

Proof: https://commons.wikimedia.org/w/index.php?title=Special:Contributions/XXN&offset=20161217120636&limit=4&target=XXN --XXN, 12:09, 17 December 2016 (UTC)

I don't know why it was never found out, but the regex was broken since its creation in 2012 --Zhuyifei1999 (talk) 12:31, 17 December 2016 (UTC)

{{Section resolved|XXN, 13:48, 17 December 2016 (UTC)}}

Maybe it does not remove the {{Check categories}} tag when the tool only removes a category. In some newer edits today I see that Cat-a-Lot removes that tag, when a category replacement is done. --XXN, 13:03, 26 February 2017 (UTC)
True, the relevant code is:
			if ( mode !== 'remove' ) {
				text = this.doCleanup( this.removeUncat( text ) );
			}
Meaning the "doCleanup" and "removeUncat" are activated if the code is not remove, and "doCleanup" is where {{Check categories}} is removed. --Zhuyifei1999 (talk) 14:40, 26 February 2017 (UTC)
Thank you for explanation and fix, Zhuyifei. --XXN, 18:37, 26 February 2017 (UTC)
This section was archived on a request by: --XXN, 18:37, 26 February 2017 (UTC)

Not working

Cat-a-lot is not working for me over at the English Wikipedia. It opens, and I can get as far as selecting articles to move/copy over. But when I try to, nothing happens. It's not a computer problem, as I've had the issue on two separate computers now. Nor is it a browser issue. --Ser Amantio di NicolaoChe dicono a Signa?Lo dicono a Signa. 01:40, 26 June 2015 (UTC)

  • I, too, am having a problem. I accidentally added the category "Bologna Pride 2014" to ~300 images that I transferred to Commons using Flickr2Commons. However, I am having difficulty moving the images to their proper category "Bologna Pride 2015" using Cat-a-lot. ALL of the images, except for the first one, need to be moved, but for now I can only do this manually. -Another Believer (talk) 17:20, 1 July 2015 (UTC)
This section was archived on a request by: Probably was fixed long time ago. Works perfectly now. --XXN, 23:50, 4 March 2017 (UTC)

Not working

The tool is not working now. It gets stuck at the text "Editing page 1 of 21" ("Editing page 1 of 2" etc.). --ŠJů (talk) 15:30, 7 July 2015 (UTC)

@Rillke: Something for you to fix, same problem as in other gadgets. --Denniss (talk) 15:57, 7 July 2015 (UTC)
Thanks for reporting. Should be back to work. -- Rillke(q?) 21:28, 7 July 2015 (UTC)
Yes, working now. Jim.henderson (talk) 00:39, 8 July 2015 (UTC)
This section was archived on a request by: --XXN, 23:50, 4 March 2017 (UTC)

I've lost my cat-a-lot Gadget

I've suddenly lost my gadget. I've verified it's activated, I've disabled and enabled it again, cleaned the cache... but no cat-a-lot functionality is available anymore regardless of the navigator or the computer I'm using. Have you any idea of what could be going on? Many thanks into advance --Discasto talk 15:48, 11 May 2017 (UTC)

I have the same problem today. Cnbrb (talk) 15:56, 11 May 2017 (UTC)
That's so depressing... SpiderMum (talk) 16:37, 11 May 2017 (UTC)
Works for me. Could you please check what says your browser console when you access a category page: Ctrl+Shift+J for Firefox (and probably other browsers). --XXN, 16:43, 11 May 2017 (UTC)
here . SpiderMum (talk) 17:06, 11 May 2017 (UTC)
It is. Thanks :-) --Discasto talk 18:27, 11 May 2017 (UTC)
But I can't find it on (en). I rarely do cat work, I needed it today!ClemRutter (talk) 13:27, 12 May 2017 (UTC)
@ClemRutter: Cat-a-lot it's not enabled on en.wiki. If you want to use it on enwiki, you'll need to install it as userscript, by adding some lines:
$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).then( function () {
mw.loader.load('jquery.ui.resizable');
mw.loader.load('//commons.wikimedia.org/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:Gadget-Cat-a-lot.js');
mw.loader.load('//commons.wikimedia.org/w/index.php?action=raw&ctype=text/css&title=MediaWiki:Gadget-Cat-a-lot.css', 'text/css' );
window.catALotPrefs = {watchlist:"nochange",minor:true,editpages:true};
});

to your /monobook.js. XXN, 15:13, 12 May 2017 (UTC)

This section was archived on a request by: XXN, 15:15, 12 May 2017 (UTC)

Bug: choose [all] compatibility with Gadget-GalleryFilterExtension.js

With the nice MediaWiki:Gadget-GalleryFilterExtension.js you can filter the file-type (I was not anymore aware that this is a custom gadget). Then I chooses all (Cat-a-lot), to expected would have been only the displayed get selected, but unfortunately it was really all (not displaying). Is there any chance to solve this? (@Rillke: I guess if not that must be documented?) User: Perhelion 06:26, 30 April 2016 (UTC)
PS: The Gadget-GalleryFilterExtension uses simple jQuery hide, so the simple solution would to check display: none;!? User: Perhelion 06:58, 30 April 2016 (UTC)

Suggested change, please review:
this.selectedLabels = this.labels.filter( '.cat_a_lot_selected' );
+
this.selectedLabels = this.labels.filter( '.cat_a_lot_selected:visible' );
--Zhuyifei1999 (talk) 03:47, 16 October 2016 (UTC)
  Implemented --Zhuyifei1999 (talk) 12:21, 10 November 2016 (UTC)
This section was archived on a request by: -- User: Perhelion 11:56, 13 June 2017 (UTC)

some modifications, Hebrew translations.

Hi.

so one of the sysops on hewiki asked me to convert this to work with regular pages instead of just files (we do not use categories for files much in hewiki anyway). while doing so i also added the hebrew i18n.

the modified script is here. the way it is, i did not "add" support for regular cats but rather _replaced_ the support of files with regular pages. i am sure you won't find it too difficult to teach it to work with both.

i tried to keep the diff to a minimum (except the translation part, of course), so it should be fairly easy to just diff these two files to view all my modifications (based on 2.15).

btw: did you consider putting it on some public source site, e.g. github?

some points:

  • i had to add continuation support in getSubCats().
  • both getSubCats() and getParentCats() should have titles/cmtitle: this.localCatName + ':' + this.currentCategory rather than 'Category:' + this.currentCategory
  • the "float:" in css did not do it for us - it creates display problems (esp. with rtl language...). i moved li.append(symbol).append(' ').append(link); _after_ the "Copy..Move" buttons. i think you probably want to do it too.
  • i also found it advantageous to add to the cat_a_lot_category_list div style "white-space:nowrap;", as it prevents line breakage on long category names (esp. when you type in a new category in the input box - at least in chrome the menu width is sometimes calculated incorrectly in this case). i did it in the code instead of the css, but this is just because i'm not a sysop so i found it easier.

peace, קיפודנחש (talk) 17:29, 26 May 2011 (UTC)

update: so the same sysop asked me to also allow one to choose the subcats for manipulation (i.e., select them like you select regular pages). this of course allows one to create some weird stuff, as in making circular categorization, or make a category a member of itself. i do not worry too much about this, but i *do* worry about the fact that the code got uglier, manly b/c my jQuery-fu is not that high. will be grateful for any useful comment on my talk page or here wrt how to make this functionality less ugly.
peace, קיפודנחש (talk) 02:23, 27 May 2011 (UTC)
@קיפודנחש: Why here on Commons exists not the Hebrew translation?? Can you please make some? I'll then insert these. -- User: Perhelion 23:11, 5 June 2017 (UTC)
@Perhelion: - please see he:mediawiki:Gadget-Cat-a-lot.js/he. it may not correlate 1-to-1 with current gadget- there may be obsolete keys, as well as missing ones. let me know if something is missing, and i'll translate it (we run very old version of the gadget - i tried to move to the latest about a year or so ago, but something did not work correctly, and i reverted to our outdated version). peace - קיפודנחש (talk) 23:58, 5 June 2017 (UTC)
@קיפודנחש: Thanks for fast response. I've created MediaWiki:Gadget-Cat-a-lot.js/he. I'm quite not sure it is correct. The formatting for the singular / plural is also missing. I can't read Hebrew also the right formating of strings is very confusing. Please check and comment there. -- User: Perhelion 17:04, 6 June 2017 (UTC)
@Perhelion: thanks. i think this message cat-a-lot-skipped-server was a bit warped - note the T at the very end of the hebstring. as to plural - replace in appropriate message the phrase הדפים להלן with {{PLURAL:$1|הדף הבא|$1 דפים}} (it looks warped, b/c of directionality - read it with bidi=override to verify). i am not sure about using cat-a-lot from commons - if i have time' i'll try to change hewiki to use the canonical version, but for now, we are still on the old one. can't recall what were the issues. btw: "loadlocalization" function is somewhat hostile: it loads the subpage from the _local_ wiki, instead of from commons, so if i add to hewiki something like mw.loader.load('//commons.wikimedia.org/wiki/MediaWiki:Gadget-Cat-a-lot.js') (with the usual embellishments of action=raw, ctype etc.), it will try to load the hebrew translation from hewiki, not from commons. this is not a good practice, and it can hinder using the commons version from other wikis (without copying the code). i would try to replace the line url: mw.util.wikiScript() with something a bit more sophisticated maybe something like
url: window.cat_a_lot_commons_url || mw.util.wikiScript(),
(i.e., allow the local installation to define some global variable, that might point to 'commons.wikimedia.org/w/index.php', and default to mw.util.getScript() if no such variable is defined. peace - קיפודנחש (talk) 18:52, 6 June 2017 (UTC)
@קיפודנחש: I've fixed the relative path to absolute path here and the language seems now working on extern import. Anyway I can't edit your requested string, absolutely horrible. Can you please post the whole line!? Or please give an more detailed hint how this can be reached (I've tried Notpadd++, Windows Notepad and the Wiki-texteditor). :-) I also don't know why is a latin 'T' in the string. I also don't see the validity of the H5 tag in your local string, absolutely horrible. ^^ -- User: Perhelion 23:33, 12 June 2017 (UTC)
Sorry about it. I should have known - the code editor is atrocious with bidi. Tbh, when i need to do bidi stuff, i often switch code editing off (the </> linkett). As soon as i'll get to a real computer, i,ll post a full snippet. Peace - קיפודנחש (talk) 01:34, 13 June 2017 (UTC)
@Perhelion: here goes:
	'cat-a-lot-skipped-already': '{{PLURAL:$1|הדף הבא לא שונה, משום שכבר הכיל|$1 הדפים הבאים לא שונו, משום שכבר הכילו}} את הקטגוריה:',
	'cat-a-lot-skipped-not-found': '{{PLURAL:$1|הדף הבא לא שונה|$1 הדפים הבאים לא שונו}}, משום שהקטגוריה לא נמצאה:',
	'cat-a-lot-skipped-server': '{{PLURAL:$1|הדף הבא לא שונה|$1 הדפים הבאים לא שונו}}, בגלל בעית תקשורת:',
peace - קיפודנחש (talk) 11:56, 13 June 2017 (UTC)
  Done Thanks, you can now try to implement the gadget from here directly. Peace ;) -- User: Perhelion 12:11, 13 June 2017 (UTC)
@Perhelion: sorry for the noise - i edited the snippet again, after some reflection. it's not critical - the current phrasing is (almost) passable. however, it is not 100% proper Hebrew. the current snippet is. peace - קיפודנחש (talk) 12:40, 13 June 2017 (UTC)
 OK -- User: Perhelion 12:50, 13 June 2017 (UTC)
@Perhelion: thanks. while i have you on the line, i have a question: the gadget uses .resizable in several places, which, as far as i understand, requires loading jquery.ui.resizable. however, i do not see anywhere where this library is loaded - MediaWiki:Gadgets-definition says nothing about it, and the gadget itself does not load it manually (it _does_ load some other stuff manually, like jquery.ui.dialog). is there some secret sauce somewhere? what loads this library? (on commons, when i add "?debug=1" to address line, i can see this library in the sources list in my debugger, but i can't figure out what caused it to load). thanks, peace - קיפודנחש (talk) 22:05, 13 June 2017 (UTC)
Good question, I don't know, but the modules are indeed loaded without Cat-a-lot. I add the dependencies to the definitions. -- User: Perhelion 22:45, 13 June 2017 (UTC)
@Perhelion: apologies for being a pain, but it turns out i forgot one:
'cat-a-lot-files-selected': '{{PLURAL:$1|דף אחד מסומן|$1 דפים מסומנים}}.',
peace - קיפודנחש (talk) 00:16, 14 June 2017 (UTC)
┌─────────────────────────┘
Ok, I wondering it works, because the closing PLURAL brackets are not recognizable. :P -- User: Perhelion 00:52, 14 June 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 01:00, 15 June 2017 (UTC)

Bugs

1) Please make it possible to remove from a category. This would be super helpful for maintaining bot upload dumpgrounds such as Category:Rain. Admins can circumvent this by moving selected files to an unexisting category, then setting CommonsDelinker to empty that cat, but a) CommonsDelinker has enough work already and editing its job list is unwieldy due to the time it takes to load the page just once b) this method doubles the number of new revisions, i.e. creates unnecessary clutter.

2) In case of categories with numerous subcats (such as Category:Close-ups of flowers) Cat-a-lot doesn't list nearly all subcats, forcing manual input in case of subcats down in the alphabetic order. In this category's case, only 52 subcats out of +70.

3) Cat-a-lot refuses to move files that have spaces in their filename, the error message says "The following pages were skipped, because the old category could not be found:" Case in point, Category:Close-ups of plants, files including the following:

File:2012-11-16 14-08-53-gouttes-eau.jpg
File:2012-11-16 14-10-55-gouttes-eau.jpg
File:2012-11-16 14-11-51-gouttes-eau.jpg
File:2012-11-16 14-17-28-gouttes-eau.jpg
File:2012-11-16 14-15-32-gouttes-eau.jpg
File:2012-11-16 14-15-50-gouttes-eau.jpg
File:2012-11-16 14-18-11-gouttes-eau.jpg
File:2012-11-16 14-19-04-gouttes-eau.jpg

--Pitke (talk) 14:43, 25 April 2013 (UTC)

Concerning #2, there is a pref in cat-a-lot allowing you to increase the number up to 500. Of course a load-on-demand-technique should be developed.-- Rillke(q?) 20:11, 25 April 2013 (UTC)
This section was archived on a request by: -- User: Perhelion 12:57, 14 June 2017 (UTC)

Load in categories only

As far as I can remember, this gadget only works from categories. However, according to mw.loader.inspect() it added 21.3 KB to JavaScript payload on a random file description page (third biggest for me, after HotCat and AjaxQuickDelete). I will always love cat-a-lot nevertheless, but maybe someone will see this and find an easy enhancement. --Nemo 09:08, 19 February 2014 (UTC)

Conditional loading by page name or namespace is not supported by the current implementation of gadgets in MediaWiki. -- Rillke(q?) 09:19, 19 February 2014 (UTC)
This section was archived on a request by: -- User: Perhelion 12:59, 14 June 2017 (UTC)

Using Cat-a-lot from search page

 
Cat-a-lot request

Do not show by default the categories: Category:Category redirects and Category:Pictures and images when cata-lot is used from special page "Search page" --JotaCartas (talk) 02:22, 21 October 2015 (UTC)

  Fixed --Zhuyifei1999 (talk) 16:44, 23 December 2016 (UTC)
This section was archived on a request by: -- User: Perhelion 10:33, 14 June 2017 (UTC)

Incorporation of user flooder/bot status

I just had a flooder group added to Ladino Wikipedia so that I could use this tool without clogging recent changes. But even when I have assigned myself the flooder flag, Cat-a-lot edits do not show as bot edits. Can that be changed? Thanks. StevenJ81 (talk) 18:57, 11 April 2016 (UTC)

If it can be changed, please specify if the change is global or on a site-by-site basis, as I would like to see it on another site as well. Thanks. --Auntof6 (talk) 19:47, 11 April 2016 (UTC)
I probably should have asked you first, but I didn't expect that to have been a problem. (crooked grin) StevenJ81 (talk) 19:49, 11 April 2016 (UTC)
Auntof6, Zhuyifei1999, Rillke, or any other user. For a site-by-site, like eswiki, do you know how to change it? I have the same problem: my flood or bot flags didn't mark edits like a bot. Jmvkrecords Contributions/Jmvkrecords Intra talk 15:40, 20 December 2016 (UTC)
@Jmvkrecords: See mw:API:Edit: Just add a line, from:

var data = { action: 'edit', summary: comment, title: file[ 0 ], text: text, starttimestamp: starttimestamp, basetimestamp: timestamp, watchlist: this.settings.watchlist, token: this.edittoken }; to: var data = { action: 'edit', summary: comment, title: file[ 0 ], text: text, bot: true, starttimestamp: starttimestamp, basetimestamp: timestamp, watchlist: this.settings.watchlist, token: this.edittoken }; Though I'm not sure about its impact on regular users without bot/flood rights (whether they will have errors on save). If that goes problematic, feel free to ping me and I'll check how to do an automatic rights detection. --Zhuyifei1999 (talk) 15:59, 20 December 2016 (UTC)

Great Zhuyifei1999! Tool is running with my flood flag, and now all is perfect. Thank you, Jmvkrecords Contributions/Jmvkrecords Intra talk 19:05, 20 December 2016 (UTC).
I tested on Simple English Wikipedia, and it works there, too. Thanks very much for this great improvement! --Auntof6 (talk) 19:27, 20 December 2016 (UTC)
Actually, the test I did there wasn't the right one. When I did the right one, this didn't work. @StevenJ81:, have you tested on a Wikipedia? --Auntof6 (talk) 17:41, 23 December 2016 (UTC)
@Auntof6: Not yet. Will try next couple of days. StevenJ81 (talk) 17:44, 23 December 2016 (UTC)
I can't figure out where I'm supposed to make this edit. StevenJ81 (talk) 18:02, 22 February 2017 (UTC)
@Zhuyifei1999: Where would I make this edit to make this work on lad:? StevenJ81 (talk) 23:06, 27 February 2017 (UTC)
@StevenJ81: I don't see where cat a lot is on lad:Special:Gadgets --Zhuyifei1999 (talk) 00:46, 28 February 2017 (UTC),
@Zhuyifei1999: I'm running it as a script from my global.js. Do I have to install it locally? StevenJ81 (talk) 02:17, 28 February 2017 (UTC)
Well, since you are loading the script from here directly, not from your local version, the change must be done here. I can do this unless anyone objects (I'll wait a week) --Zhuyifei1999 (talk) 03:45, 28 February 2017 (UTC)
Thank you. StevenJ81 (talk) 15:18, 28 February 2017 (UTC)
@StevenJ81:   Done --Zhuyifei1999 (talk) 15:31, 8 March 2017 (UTC)
@Zhuyifei1999: Thanks. I'll give it a whirl. StevenJ81 (talk) 15:39, 8 March 2017 (UTC)
@Zhuyifei1999: It worked. Thanks very much! StevenJ81 (talk) 14:43, 10 March 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 13:23, 14 June 2017 (UTC)

Missing "Move" command

At the moment, I can only get the "add" command to come up in the Cat-a-lot pop-up box. Thus I have 500 files in the new Commons Category:Photographs by Bob Wick, with no way to move them out of the parent cat, Photographs by Bureau of Land Management. Help? TIA, --Pete Tillman (talk) 03:08, 6 September 2016 (UTC)

Fixed this problem by logging out/logging in [doh!]. But see below. --Pete Tillman (talk) 14:52, 6 September 2016 (UTC)
This section was archived on a request by: -- User: Perhelion 13:22, 14 June 2017 (UTC)

Problems with "Remove from this category" command

Here's the problem:

  • Create a new category, use cat-a-lot tool to add same to a list of files.
  • Attempt to remove a (now-superfluous) parent of the new cat from the same list
  • Tool instead removes all files in the list from the new cat! Very frustrating!

I read the instructions carefully and fiddled with this for quite a while and can't solve it. Help! --Pete Tillman (talk) 15:08, 6 September 2016 (UTC)

I have a similar case. Whenever I try to move or remove images from a category I receive the message "The following x pages were skipped, because the old category could not be found". E.g. from Category:Images from Wiki Loves Monuments 2016 in Bulgaria to Category:Images from Wiki Loves Monuments 2016 in Bulgaria, Unchecked Images. A whole bunch of people would be happy if the bug would be fixed. --Lord Bumbury (talk) 18:20, 14 September 2016 (UTC)
If the category is added by a template, then Cat-a-Lot can't remove it. Cat-a-Lot can only work with categories that are hardcoded. Keep in mind, though, that in some cases (which very likely include these WLM ones), it's possible that both categories should remain, even if it looks like overcategorization. --Auntof6 (talk) 18:28, 14 September 2016 (UTC)
This section was archived on a request by: -- User: Perhelion 13:02, 14 June 2017 (UTC)

Please highligt selected row

  • Please highligt selected row (tr:hover) --Butko (talk) 05:19, 22 October 2016 (UTC)

For example: #cat_a_lot_category_list tr:hover {background:#D7D7D7;} --Butko (talk) 20:46, 25 October 2016 (UTC)

  Done That was bugging me for quite sometime myself. Sebari – aka Srittau (talk) 18:20, 23 December 2016 (UTC)
This section was archived on a request by: -- User: Perhelion 13:22, 14 June 2017 (UTC)

Assert

{{Editprotected}} Hello, would it be possible to add the following line to the params on the line 520? assert: 'user' A user on cswiki was able to make several edits as an IP adress, this change should allow editing only and only if users are really logged in, see mw:API:Assert. Matěj Suchánek (talk) 13:27, 12 January 2017 (UTC)

  Not done @Matěj Suchánek: First, I can't see a connection between an anonymous editor on cswiki and Commons. Second, as per Wikimedia's privacy policy, I don't think it is possible to disable Cat-a-lot for anonymous users. But I suggest you to ask for opinions e.g. on COM:VP. --jdx Re: 18:33, 9 March 2017 (UTC)
Your comments are irrelevant. This change should prevent logged in users to edit as anonymous (eg. because of session problem) and reveal their IP address. We made this change in our fork on cswiki (where the problem was discovered) and now I'm suggesting merging it to this master version (so that other wikis also have this bug fixed). Unless you are its maintainer, you'd better this request leave to one. (But I'm not here to command Commons, this report was just my goodwill.) Matěj Suchánek (talk) 19:04, 9 March 2017 (UTC)
I don't see a reason to disallow anons from using the gadget. If the session problem exists it should be fixed in MediaWiki; not in a random gadget. If the gadget must do assert user it must be done when the user is logged in while loading the page. --Zhuyifei1999 (talk) 02:27, 10 March 2017 (UTC)
  Strong support, massedits should never done by IPs for several reasons. -- User: Perhelion 13:38, 14 June 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 15:05, 14 June 2017 (UTC)

Make compatible as extern load

It would be good if other projects can load this script central from here, not to have countless copies. The major problem seems currently the language files, because they are loaded dynamically before the Cat-a-lot init. To solve this we need either the mw.hook function or the DOM init should be only with the catALot.run function (which is every time needless created, even if not used, so the lang messages can be loaded after the init). -- User: Perhelion 16:01, 6 June 2017 (UTC)

please read my previous comment: the loadLocalization() function loads the localization from the _local_ wiki, rather than from commons. peace - קיפודנחש (talk) 18:57, 6 June 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 13:05, 14 June 2017 (UTC)

Not working

Cat-a-Lot hasn't been working for me for the past couple days (it works on contributions but not on category pages). I've tried reloading the page, logging out, purging the cache, but it still isn't showing up. MB298 (talk) 23:54, 15 June 2017 (UTC)

Here, too. Stopped working without any changes on my side. @Perhelion: Is it perhaps the smarter loading part? Because I have a quite slow, sometimes unstable connection. Could it perhaps be, that I run into a time-out? Or should it in theory be actually better with this change? — Speravir – 01:54, 16 June 2017 (UTC)
It has been hit-and-miss for me. Most recently, it worked, but when I scrolled to page to select things, the Cat-a-Lot area scrolled with it! --Auntof6 (talk) 02:09, 16 June 2017 (UTC)
Hm* I removed the new draggable feature.
@MB298: there is no rationale the tool works on contributions and not on category pages, except there is a module load problem (indeed it maybe not loaded the new draggable module). E.q. I see on your JS an outdated script: User:ZooFari/licensereviewer.js (and probably User:Kanonkas/twinkle.js too).
@Speravir: Why you include the gadget in your JS?? :-P
Thanks for report. -- User: Perhelion 08:38, 16 June 2017 (UTC)
@Perhelion: I don't understand why you have window.setTimeout( ..., 400 ). Theoretically the wrapped function could be run before document.ready, and DOM being unready may cause troubles. --Zhuyifei1999 (talk) 09:00, 16 June 2017 (UTC)
Because the whole DOM of this gadget get created immediately without need (and slow down other loads on every page!), so this timeout is only a workaround. And that could not be the reason, as a timeout is rather against "unready". -- User: Perhelion 09:20, 16 June 2017 (UTC)
@Perhelion: “Why you include the gadget in your JS??” This was just as reaction trying to get it work with individual loading inside of mw.loader.using. This said after your latest change “remove draggable feature” Cat-a-lot works now again in categories, where it did not the last days. Therefore:  . @Auntof6, MB298: How is it for you? — Speravir – 17:10, 16 June 2017 (UTC)
@Speravir: Seems to be working fine now. Thanks! MB298 (talk) 23:23, 16 June 2017 (UTC)
Hmm, very strange, it's not appearing any more. MB298 (talk) 00:20, 17 June 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 20:01, 17 June 2017 (UTC)

English Wikipedia

I wonder, could this be made available for use on the English Wikipedia? Autoconfirmed users have had the ability to move categories for months now, but there is no good way to clean-up after a category move. One is required to do all the work manually. Cat-a-lot could easily remedy this situation, and would be of great use. RGloucester (talk) 17:38, 12 March 2015 (UTC)

That would be up to wikipedia community. You would need to first ask for approval there and then check with the maintainers here if they will be willing to customize and maintain the code on the wikipedia. Alternatively you could try to find English Wikipedia users familiar with JavaScript who would be willing to adopt it. --Jarekt (talk) 18:58, 12 March 2015 (UTC)
This section was archived on a request by: -- User: Perhelion 13:31, 27 June 2017 (UTC)

[Request] Enable Cat-a-Lot on more special pages

Thank you for your efforts, Zhuyifei. Tested on Special:UncategorizedFiles, and seems to work. --XXN, 17:31, 23 December 2016 (UTC)
  Done and no problem :) --Zhuyifei1999 (talk) 06:41, 24 December 2016 (UTC)
On Special:ListFiles/$1 still not working, but I know, it's "a bit" different DOM model, and I'm patient:) --XXN, 23:42, 4 March 2017 (UTC)
Btw. ListFiles seems now working. For Watchlist I can really not imagine a useful usage. -- User: Perhelion 13:42, 14 June 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 13:33, 27 June 2017 (UTC)

Remove newline character when removing a category

@Magnus Manske, DieBuche, Rillke:

When Cat-a-lot removes a category from a page, it won't remove any newline character, leaving an extra empty line. This edit is one example. I hope someone can fix this problem. --Lt2818 (talk) 05:55, 13 December 2016 (UTC)

  • Endorse. Perhaps a better example - diff: CAL leaves an empty line between two categories. --XXN, 17:45, 25 February 2017 (UTC)
  •   Fixed -- User: Perhelion 13:05, 14 June 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 13:32, 27 June 2017 (UTC)

Latest Files/User Uploads

Is there a reason this doesn't work with latest files or user uploads? Or... am I just doing something wrong? TimothyJosephWood 19:14, 8 June 2017 (UTC)

Hello Timothyjosephwood, I mean not. How could this be useful if you don't see the existing categories? -- User: Perhelion 12:13, 13 June 2017 (UTC)
PS:  OK I added support for Special:PrefixIndex and Special:ListFiles. -- User: Perhelion 22:22, 13 June 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 13:33, 27 June 2017 (UTC)

Cat-a-lot causes a strange error

@Perhelion, could you look at phab:T176496? --jdx Re: 13:08, 24 September 2017 (UTC)

This section was archived on a request by: -- User: Perhelion 23:09, 24 September 2017 (UTC)

Hebrew translation; miscellaneous;

@Perhelion: - (opening a new section - old one outlived its useful life):

  1. hebrew translation (MediaWiki:Gadget-Cat-a-lot.js/he: still some breakages, this time with the edit summary. below is the right translation:
		'cat-a-lot-summary-add': 'Cat-a-lot: הוספת [[קטגוריה:$1]]',
		'cat-a-lot-summary-copy': 'Cat-a-lot: העתקה מ[[קטגוריה:$1]] ל [[קטגוריה:$2]]',
		'cat-a-lot-summary-move': 'Cat-a-lot: העברה מ[[קטגוריה:$1]] ל [[קטגוריה:$2]]',
		'cat-a-lot-summary-remove': 'Cat-a-lot: הסרה מ[[קטגוריה:$1]]'

now, these present a problem: these summaries are good for hewiki, but i don't think they are good for Hebrew speakers on commons. i can't think of a good solution, but if we are to use the translation from commons, maybe it's not such a hot idea to share the translation file... maybe, what i asked you to do before (make the path to the translation absolute) was wrong, and we want the current translation to stay on commons (i.e., all the UI strings translated, but the links to help pages and edit summaries to remain canonical). TBH, i don't see why the summaries should be in the language of the editor that used the gadget - they should be in a language understood by most _other_ editors, i.e., in the main language of the project where the gadget is run.

so maybe, we should revert this "absolute path" change, and use the translation installed locally in each wiki, or, hopefully, you can come up with a way to use the translation from commons, but allow local projects to override the translations of (only) the summaries.

(i ignored the "save preferences" translation - preferences do not work on other projects, since they depend on a couple other gadgets from commons, which i have no intention to import - not enough bang for the buck...)

peace - קיפודנחש (talk) 23:59, 14 June 2017 (UTC)

Hey קיפודנחש, I don't agree with "absolute path", so far I understand you. What should be wrong? Please be more concrete. The translated summaries only appearing on not English projects. If you would create a translation of the Commons help page (as many other languages) then we could also add the link there!?
@SettingsManager: I could program the code to the effect that the settings modules are also loaded locally (on extern import) and only when needed.
So all in all there seems no really limitations here. peace -- User: Perhelion 00:59, 15 June 2017 (UTC)
@Perhelion: it is highly likely i'm missing something. the problem, as i see it, is that the summaries we want in hewiki, (which you just added - thanks!) are _not_ the summaries you want in commons - they would make no sense here, and indeed, would not even work (b/c of the localized namespace name used in internal links to category pages). i do not know if there's anyone actively using this gadget on commons using hebrew as interface language, so this may be academic at this point. it is still best to keep it localized, so other projects, such as wikitext, wiktionary etc. can use it. as to "settings": their usefulness is marginal at best for hewiki: 2 items are useless ("remove check categories" - those "check categories" are specific to commons, and "Allow categorising pages (including categories) that are not files" - this is, of course, the _only_ mode of operation that makes sense outside of commons, and we set it hard-code). the rest is also not very useful (i also hard-coded the "maximum number of subcats" to 500. admittedly, the use of slider for this item is cute, but cuteness is not good enough reason to use the (otherwise irrelevant) preferences. for now, i simply injected a little css on hewiki to hide the "preferences" linkette. peace - קיפודנחש (talk) 16:35, 15 June 2017 (UTC)
Of course, 2 items are useless on external use, but I mean that, we can look away about this. PS: I will not install the preferences for external import, as it would indeed need some more complicated code (and with additional module load wait). -- User: Perhelion 20:07, 17 June 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 16:16, 25 September 2017 (UTC)

Not currently working in English Wikipedia

I have been using Cat-a-lot regularly for two years, but it has recently disappeared. (I last used it on 12 August.) It's the same in all browsers that I use regularly. Fayenatic london (talk) 20:47, 26 August 2017 (UTC)

There are problems in other non-Commons wikis as well. StevenJ81 (talk) 14:45, 1 September 2017 (UTC)
@Fayenatic london: You are using importScript (en:User:Fayenatic london/common.js), it still works? I understand it was disabled in mid-August, but I can be wrong. --Metrónomo's truth of the day: "That was also done by the president" not an excuse. 07:00, 2 September 2017 (UTC)
@StevenJ81: You too, you are using importScriptURI and importStylesheetURI (m:User:StevenJ81/global.js). Steven, you may copy the import from en:User:קיפודנחש/cat-a-lot.js and Cat-a-Lot will work again. --Metrónomo's truth of the day: "That was also done by the president" not an excuse. 07:13, 2 September 2017 (UTC)
I could not find any updated instructions when I reported the issue. Anyway, I noticed yesterday that it is now working again. Fayenatic london (talk) 12:30, 2 September 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 04:40, 29 September 2017 (UTC)

Cat-a-lot as a gadget on sl.wiki

Hi. I would like to introduce Cat-a-lot as a gadget on sl.wiki. I have no idea which scripts to copy where and how to adjust them. I would be very thankful for any kind of help. --Janezdrilc (talk) 19:15, 23 September 2017 (UTC)

Hello Janezdrilc, you have simply to do:
  1. c&p the following code into sl:MediaWiki:Gadget-Cat-a-lot.js
    /**
     * Cat-a-lot - changes category of multiple files
    **/
    window.catALotPrefs = {editpages:  true};
    mw.loader.load('//commons.wikimedia.org/w/load.php?modules=ext.gadget.Cat-a-lot');
    
  2. write a description on sl:MediaWiki:Gadget-Cat-a-lot
  3. and finally add it to the definitions (as I see you already edited there) with this line:

Cat-a-lot[ResourceLoader|dependencies=mediawiki.util]|Cat-a-lot.js

I have not tested this case, but it should be the recommended way.
PS: As I compared a working inclusion on heWiki, you can also add this line:
mw.util.addCSS("#cat_a_lot_settings { display:none !important; }"); // Preferences depend on some Commons gadgets, not available locally
-- User: Perhelion 11:01, 24 September 2017 (UTC)

I copied your instructions, anyway it seems something still makes the code not working. Maybe you could try to enable the gadget as a slwiki user, just to check the situation? Is it possible that server just needs few days to enable the gadget (as it occurs in the case of translatewiki.net translations)? --Janezdrilc (talk) 22:09, 24 September 2017 (UTC)

@Janezdrilc: Oh* indeed, take the code (from the mentioned heWiki):
if (mw.config.get('wgNamespaceNumber') === 14) {
	window.catALotPrefs = { editpages: true, subcatcount: 500 };
	mw.loader.using(['jquery.ui.resizable', 'mediawiki.util']).done(function () {
		mw.util.addCSS("#cat_a_lot_settings { display:none !important;}"); // Preferences depend on some Commons gadgets, not available locally
		mw.loader.load('//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-Cat-a-lot.js&action=raw&ctype=text/javascript');
		mw.loader.load('//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-Cat-a-lot.css&action=raw&ctype=text/css', 'text/css');
	});
}
and change also the definition entry. -- User: Perhelion 23:04, 24 September 2017 (UTC)

Funny, Cat-a-lot now works but just in every 5th or 7th category - mostly it doesn't show up. Sometimes when I click a random category there's no Cat-a-lot, then I reload or purge a page few times and it appears again. I copied your script also in sl.wikisource and made some tests. There it works just great - it shows up in every category with no exeptions. As I see that also the Add an [edit] link for the lead section of a page gadget doesn't work to me on sl.wiki, but works fine on sl.wikisource, I suppose that w:sl:MediaWiki:Common.js must have some kind of mess within it's code. Thanks for now. I really appreciate your effort. --Janezdrilc (talk) 14:45, 25 September 2017 (UTC)

@Janezdrilc: Oh yes, your assumptions are right, the sl:MediaWiki:Common.js looks hilarious. That can be a big hazard for the whole project. Check with http://jshint.com/, you can try to fix all this warnings and undefined variables. Thanks too and more success. You should look in the log in your browser console, preferable with debug=true!? See en:Wikipedia:Reporting_JavaScript_errors. -- User: Perhelion 15:43, 25 September 2017 (UTC)

@Perhelion: Dou you think it's ok if I add your instructions to Help:Gadget-Cat-a-lot#Install on other projects? --Janezdrilc (talk) 18:41, 26 September 2017 (UTC)

Go ahead! -- User: Perhelion 19:17, 26 September 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 04:40, 29 September 2017 (UTC)

Meaning of a sentence

In the help page, there is a sentence Note: The market lines are optional.. Meaning of that is not immediately understandable (at least to me). I couldn't find any marked lines also. Could someone explain so that it can be translated.--Praveen:talk 04:35, 2 October 2017 (UTC)

Hello Praveenp, you mean you don't see the color? marked line -- User: Perhelion 14:41, 2 October 2017 (UTC)
Only now I saw that.   Thank you.. I changed Market as Marked, please verify.--Praveen:talk 15:28, 2 October 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 20:55, 2 October 2017 (UTC)

Link to Help:Gadget-Cat-a-lot

Could a link to Help:Gadget-Cat-a-lot be added to the cat-a-lot dropdown. While I am using it I sometimes need help on figuring out something. Especially if it is something I haven't tried yet. Or if I have been away from editing with cat-a-lot for awhile. --Timeshifter (talk) 07:50, 29 October 2014 (UTC)

  Implemented -- User: Perhelion 13:15, 14 June 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 20:52, 3 October 2017 (UTC)

For galleries

Would it be possible to make it available for galleries? For logs in gallery form like User:OgreBot/Watercraft this could most helpful. --  Docu  at 07:09, 12 February 2012 (UTC)

This section was archived on a request by: -- User: Perhelion 22:15, 4 October 2017 (UTC): No target for this tool, VisualFileChange is here more appropriate.

Problems in Monobook

Firstly I use monobook- I have custom.js that I use but have not copied over and suspect this might be causing a conflict.

  • On a new computer or after I have reset my preferences- cat-a-lot works. I click the button, up it comes, I do the changes and the changes register. The second time I go to use it I press the button and no-action happens. No popup appears. So I change the skin to Vector- and it works once more, and again and again. I reset to monobook- and once more it works but just once. --ClemRutter (talk) 00:09, 26 October 2012 (UTC)
This section was archived on a request by: -- User: Perhelion 17:28, 4 October 2017 (UTC): seems very outdated

Not working if loaded via "withJS"

It doesn't seem to work anymore if loaded via "withJS" parameter. It worked on June 13th. Now the gadget loads, I can select a file on category page, click "Move", and it says "Moved to category <other category>", but file page actually isn't edited. 62.65.58.38 11:19, 23 June 2017 (UTC)

You mean for IPs? That should not work anymore. As massedits are not allowed for IPs. -- User: Perhelion 13:23, 27 June 2017 (UTC)
As I understand there is no rule against IPs using scrips for tedious tasks, and it's technically still possible, though harder. To address concerns there is 8 edits per minute limit for new users and IPs.
Being able to use this via "withJS" was useful, and I don't think there is good reason to disallow it unless there has been significant abuse and it's certain that allowing it does more harm than good. I'd appreciate if you can make it work again. 62.65.58.38 18:20, 27 June 2017 (UTC)
Ok, I would like to hear more votes to this. -- User: Perhelion 00:22, 28 June 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 22:20, 4 October 2017 (UTC)

Adding basque translation

The translation is ready here: eu:MediaWiki:Gadget-Cat-a-lot.js/eu but I can't copy or create here a new translation file! -Theklan (talk) 22:03, 30 July 2017 (UTC)

@Theklan:   Done Also, I notice you are fluent in Spanish, and MediaWiki:Gadget-Cat-a-lot.js/es is a redlink, so we could use your help there. Magog the Ogre (talk) (contribs) 00:18, 1 August 2017 (UTC)
I'm using it in Basque Wikipedia as a Gadget but is not loading the language interface there. Do you know why, Magog the Ogre? -Theklan (talk) 08:08, 1 August 2017 (UTC)
@Theklan: it's probably cached by your browser. Click this link, then refresh the page if it doesn't appear. If all else fails, just empty your cache. Magog the Ogre (talk) (contribs) 00:19, 2 August 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 22:19, 4 October 2017 (UTC)

Draggable

Another question (apart from the still existing problems @MB298, Speravir, Zhuyifei1999, Auntof6:) would it be useful to add this feature?! I personally think, of course, I found the resize feature by myself only per comments by Rillke. What do you mean? -- User: Perhelion 19:36, 17 June 2017 (UTC)

I don't mind either way --Zhuyifei1999 (talk) 19:38, 17 June 2017 (UTC)
What is this feature for? Making the Cat-a-Lot overlay movable/draggable? This would be very useful, indeed. But is there for testing purposes some code I could separately add to my common.js? Could it perhaps be, that the now removed code actually placed the overlay outside of the visible area for MB298 and me? — Speravir – 21:48, 17 June 2017 (UTC)
Perhelion? — Speravir – 17:39, 21 June 2017 (UTC)
@Speravir, Zhuyifei1999, Auntof6, Speravir, MB298: Here is a draggable testing version MediaWiki:Gadget-Cat-a-lot.js/sandbox.js (or you can also testing it on Beta Commons). Greetings -- User: Perhelion 13:22, 27 June 2017 (UTC)
PS: here the install code:
mw.loader.using(['mediawiki.util'], function(){
	  importScript('MediaWiki:Gadget-Cat-a-lot.js/sandbox.js');
});

-- User: Perhelion 13:39, 27 June 2017 (UTC)

I first tested on Beta-Commons, and it worked finegreat. Then I deactivated CaL here in my preferences and tested the sandbox version above by loading on the browser console, and it also worked! I do not know, whether you’ve changed something from the latest not working version, but I hope it will work, when you make it the default version. The draggable feature is sometimes very useful. — Speravir – 20:59, 27 June 2017 (UTC)
That could be very useful. --Auntof6 (talk) 05:00, 28 June 2017 (UTC)
@Perhelion: I tried the install code and it seems to work fine now. MB298 (talk) 20:55, 27 June 2017 (UTC)
@Perhelion: well, it worked for ten minutes. MB298 (talk) 21:12, 27 June 2017 (UTC)
Perhaps restoring it for now to its old (pre-June 12) version would eliminate problems until the draggable feature can be successfully added. MB298 (talk) 21:15, 27 June 2017 (UTC)
Thanks for feedback. @MB298: What do you mean exact with "eliminate problems"? (indeed the sandbox version added and removing something) @Speravir: Yes I added something more. One thing is still to do, the click function must temporary deactivated on drag. It needs more test. -- User: Perhelion 00:20, 28 June 2017 (UTC)
@Perhelion: Cat-a-Lot first stopped working for me around June 12 or 13, shortly after you made a large number of edits to the gadget, so I think that may have something to do with it. MB298 (talk) 00:22, 28 June 2017 (UTC)
The current live version should be fine. I found another small problem on the sandbox version, if we drag and then resize the first time, the box jumps to some top position. -- User: Perhelion 00:33, 28 June 2017 (UTC)
Hm, I am experiencing the same problems I have been (works for about the first 5 minutes and then disappears, however still works on everything except for category pages.) MB298 (talk) 17:46, 28 June 2017 (UTC)
@MB298: That is very mysterious, you mean in both versions? Please describe so much details as possible. I recommend another test for you, by deactivate (the 8 years old script) User:Kanonkas/twinkle.js and also to outdated User:ZooFari/licensereviewer.js. -- User: Perhelion 20:07, 28 June 2017 (UTC)
I installed the .js script mentioned on the Help page today while removing the one you mentioned above; it seems to work in some cases but not others; for example I am currently using it in Category:Photographs by MB298 to mass-move files to subcategories; although I need to purge the cache to make it appear at all, and even then sometimes it does not work. I'm not sure if this is particularly relevant but it seems to load on categories with a larger amount of files (therefore a longer loading time) and not categories with a small number of files. MB298 (talk) 20:11, 28 June 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 21:15, 13 October 2017 (UTC): I've fixed this

Help

Hello,
Sadly my Gadget-Cat-a-lot does not work anymore.
It opens with "Select all – none" + "Suppress from this cat" + "Preferences" + "Cat-a-lot".
No category are displayed!
I have to click on Preferences, Save the preferences, close the reopen Cat-a-lot to have categories.
PS: so many thanks for that wonderfull tool.
best regards Liné1 (talk) 13:09, 11 September 2017 (UTC)

Hello Liné1, the problem still exists? -- User: Perhelion 11:16, 24 September 2017 (UTC)
Hello Perhelion. Yes sadly. Cheers Liné1 (talk) 18:53, 24 September 2017 (UTC)
@Liné1: Can you take a look in your browser log console (preferable with debug=true)⁉ And see en:Wikipedia:Reporting JavaScript errors, if there is an error you can paste the log here. -- User: Perhelion 15:56, 25 September 2017 (UTC)
Hello Perhelion. Yes, there is an error:
VM56:106 Uncaught TypeError: $container.resizable is not a function
at Object.run (<anonymous>:106:957)
at HTMLAnchorElement.<anonymous> (<anonymous>:95:335)
at HTMLAnchorElement.dispatch (load.php?debug=false&lang=fr&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=monobook&version=1b6aucj:69)
at HTMLAnchorElement.elemData.handle (load.php?debug=false&lang=fr&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=monobook&version=1b6aucj:66)
Cheers Liné1 (talk) 19:46, 25 September 2017 (UTC)
@Liné1: I've made an earlier load of this module (as might other reported load problems related too). Maybe clear your browser cache. -- User: Perhelion 04:39, 29 September 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 21:14, 13 October 2017 (UTC)

Resizing problems

I'm recently having some issues with resizing the Cat-a-lot box. When I try to change the vertical size of the box (to clear up space when there are many subcategories), the bottom edge of the box separates from the bottom of the window. This is unintended, since I only want to adjust the top edge. Further, if I now type in a new category (after resizing), the top edge stays in the same place, but the bottom edge moves down to accommodate the new subcategories. This often moves the bottom edge below the end of the window, and effectively hides the bottom options (Remove from this category, Preferences...). Can the box be resizable without moving it around at the same time? kennethaw88talk 22:20, 30 September 2017 (UTC)

Hey kennethaw, this seems an jQuery bug. I inserted a workaround, is it fixed? -- User: Perhelion 20:40, 1 October 2017 (UTC)
No, the problems are still there. kennethaw88talk 02:51, 2 October 2017 (UTC)
@Kennethaw88:, next try, how it appears now? -- User: Perhelion 16:07, 3 October 2017 (UTC)
Not quite; it's still behaving weirdly. And by the way, thanks a bunch for making it follow soft-redirects. That is really useful. kennethaw88talk 00:21, 4 October 2017 (UTC)
Nevermind, it seems to be working normally again. Thanks! kennethaw88talk 00:27, 4 October 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 21:14, 13 October 2017 (UTC)

Feature request: select entire rows

I haven't used Cat-a-lot for a long time but I can already say that it's a great and very helpful script. Without it, the life of the "categorizators" would be a huge mess. Adding the ability to select entire rows (10 images) in a single click would be awesome.

I have to select about 100 images from a category. That means I have to click 100 times. This script can add a small button at the left or right side of each row, so the users can select all the images in that row by simply clicking that button. In my case, it would reduce my work from 100 clicks to 10 - and that would be extremely nice! Fructibus (talk) 11:08, 14 October 2017 (UTC)

Hello Fructibus, to select/de-select multiple files "in a row" (Fig. 1), first select file A, then hold down  Shift and select file B. The state of file B will be toggled (selected if it was not previously and vice-versa) and then assigned to all files from A through B. -- User: Perhelion 15:17, 14 October 2017 (UTC)
Ohh, this is awesome, I didn't know about that, thanks!! Fructibus (talk) 15:30, 14 October 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 16:33, 14 October 2017 (UTC)

Bugs and suggestions

Just used this tool for the first time today. Overall, very impressive, easy to use, and helpful. But...

  1. As others have reported, the tool sometimes hangs when moving or copying multiple files; in fact, it almost always hangs at some point even if only a few files are being moved or copied. When this happens, the modal dialog spinner just spins and spins and spins. There seems to be no way to cancel an operation once started; a cancel option would be a good addition, but fixing the cause of hang-ups would be even better.
  2. If the category names are long enough and there are enough subcategories, it is possible for the popup box in the lower right to completely cover the last file on the page, so that it cannot be selected or deselected, and there is no way to move the popup box. (It is possible to work around this by resizing the browser window, but that is awkward and inconvenient.) How about adding a left-arrow icon which, when clicked, moves the whole box to the lower left (and, of course, changes the left-arrow to a right-arrow so that you can reverse the process)?

Thanks for your contribution! --R'n'B (talk) 14:52, 5 August 2011 (UTC)

This section was archived on a request by: -- User: Perhelion 20:58, 28 October 2017 (UTC): Both fixed

One of the DUMBEST tools here

Whoever made it not only made it complicated but also somewhat retarded, it doesn't do what you tell it to do...I tried using it but everytime it messes it up...why can't it just MOVE all the pics I selected to the category I selected instead of mucking around and moving it to some SUB-CATEGORY which I do not care about?...they should rename it to Cat-everything-except-what-you-want.js.....--Stemoc (talk) 04:13, 24 August 2013 (UTC)

Hi,
I suggest:
  1. Avoiding as much as possible to be mean to whoever was involved in this tool.
  2. Describing clearly the problem you face and how to reproduce it − see good advice at mw:How to report a bug.
For your information, I have been using Cat-a-lot for the past 3 years without any problem at all. So being a little more specific might help here.
Cheers, Jean-Fred (talk) 14:27, 24 August 2013 (UTC)
You can see my recent contribution, I went to this category, (Category:Vampire Diaries Panel at the 2011 Comic-Con International), i ran cat-a-lot I typed the name "Julie Plec" for her category and then i selected 32 images there which had Julie Plec in them, but there was no option to move those images i selected to her category, i figured i may have read it wrong because, honestly its confusing the way it written and instead of "copying" it to Julie Plec's category, it coped it to one of the cats on that page)..so yes, its a dumb tool, how hard would it be to select pics and then add it to the category OF YOUR CHOICE, not the one the script chooses for you?...--Stemoc (talk) 14:43, 24 August 2013 (UTC)
Just enter "Julie Plec" in the text field of the gadget and press enter. Also, read the help page. — Julian H.✈ (talk/files) 14:57, 24 August 2013 (UTC)
Didn't work the last time i tried, i pushed enter a few times adn it refused to give me a "Julie Plec" category.....it worked now...what went wrong then?--Stemoc (talk) 15:07, 24 August 2013 (UTC)
That's why, when something doesn't do what it should, I like to give up for now and try again hours later. If it works, this method does not tell me whether the tool was temporarily dumb or I was, but if again it doesn't, it gives me more confidence when I complain. Jim.henderson (talk) 13:41, 26 August 2013 (UTC)
This section was archived on a request by: -- User: Perhelion 18:00, 2 November 2017 (UTC)

Selecting of more than one file

In Firefox it's necessary to select more than one file with Strg+Click. The selcting is working okay, but simultan with the click the selected images are opened in a separate TAB. Are there a possibilty with an other key combination or an other way? thx in advance --K@rl (talk) 19:34, 30 August 2013 (UTC)

Normally, left-clicking on the file size info under each image should work to select images. I tried it with Firefox and it worked. — Julian H.✈ (talk/files) 20:05, 30 August 2013 (UTC)
It's true, it works, but simultan the selcted image will be opened in a separate TAB. All thesse must be closed after finishing categorizing ;-) --K@rl (talk) 15:32, 31 August 2013 (UTC)
Can't confirm that, nothing is opened in Firefox/Chrome. — Julian H.✈ (talk/files) 15:36, 31 August 2013 (UTC)
It's really crazy, because I can not show this phanomen. All its okay, if I select all files, also only one - but how can you select two files to categorize in one step? --K@rl (talk) 16:26, 31 August 2013 (UTC)
PS: Nachdem ich sehe, dass du ja deutsch Muttersprachler bist, beschreibe ich es nochmals auf deutsch - englisch ist leider nicht das meine. Zum Thema: Normalerweise kannst du bei FF mit Strg und Click auf einen Link diesen in einem neuen Tab öffnen. Dieser Vorgang findet auch im Cat-a-lot gleichzeitig mit dem Markieren eines Bildtitels statt. Das heißt der Vorgang der im FF standardmäßig statfindet wird nicht ausgeschaltet. --K@rl (talk) 16:30, 31 August 2013 (UTC)
Du musst ja nicht auf einen Link klicken, sondern kannst auch irgendwo in die freie Fläche z.B. oberhalb oder unterhalb des Bildes klicken. -- Rillke(q?) 16:40, 31 August 2013 (UTC)
Okay, danke gewonnen - es funkt so, sorry für die ..Frage ;-) --gruß K@rl (talk) 15:23, 1 September 2013 (UTC)
This section was archived on a request by: -- User: Perhelion 18:00, 2 November 2017 (UTC)

Removing category problems

Hi, I've had this problem a couple of times recently:

  • Create a new category, use catalot tool to add same to a list of files.
  • Attempt to remove a (now-superfluous) parent of the new cat from the same list (ie, files in the new subcat)
  • Tool instead removes all files in the list from the new cat! Very frustrating!

See, forex revision history of such a file. This happened twice in one day, as I was categorizing a huge file-dump from Flickr that was poorly-categorized. I was careful the second time to RTFM carefully before attempting the removal. Help? TIA, Pete Tillman (talk) 18:48, 22 December 2013 (UTC)

This section was archived on a request by: -- User: Perhelion 18:02, 2 November 2017 (UTC): it is now possible

Request for custom edit summary in Cat-a-lot

I love this gadget but I would really appreciate the possibility to add edit summaries while using it. Would it be possible to add a user-customised edit summary to this tool? - Takeaway (talk) 00:14, 25 September 2014 (UTC)

I also would be pleased with a simple way to tell all watchers why I moved a particular bunch of files. Not in as many words as an ordinary edit summary allows, however. Jim.henderson (talk) 14:50, 26 September 2014 (UTC)
This section was archived on a request by: -- User: Perhelion 18:04, 2 November 2017 (UTC): done

Undo mistake?

I've done shit, is there an easy option (function) to undo or repair an done operation (70 files)??User: Perhelion (Commons: = crap?)  19:08, 11 December 2014 (UTC)

I think this will require either individual edits with HotCat, or a batch edit with VisualChange, which is complex. Is this the set of changes you're trying to undo? If so, someone with VisualChange experience can try and rewrite the categories by putting them in a temporary sandbox gallery and doing a replacement on them. (A mistake in VisualChange can cause more trouble than Cat-a-lot though.) --Closeapple (talk) 22:15, 11 December 2014 (UTC)
If that's the edits, an admin can also roll them back and Perhelion can then re-categorize them correctly. But for that, we'd need to know which edits to roll back exactly. Lupo 22:41, 11 December 2014 (UTC)
I've rolled back the 117! edits pointed out by Closeapple because most of them were obviously wrong. This has done the job on the contribs page with the erroneous edits (thanks for sorting them out, closeapple!):
$rollBackLinks = jQuery.makeArray( $('.mw-rollback-link a') );
var rollback = function() {
  $.get( $( $rollBackLinks.pop() ).attr('href') ).done( rollback );
};
@Lupo: Do we have a new administration/ curation tool for mass rolling back edits? -- Rillke(q?) 23:21, 11 December 2014 (UTC)
Thanks a lot and sorry (I was not aware of my huge edit, the most files in this Category:Black and white are wrong, so around 1000)! The real Cat should be simple Category:Black and white photographs (which should have no subcat).User: Perhelion (Commons: = crap?)  23:51, 11 December 2014 (UTC)
@Rillke: Not that I know of. Might be handy, though. I would just have used the low-tech approach: click 117 times (open in new tab). Lupo 05:46, 12 December 2014 (UTC)
Perhelion himself is a rollbacker and consequently would be able to do the same. -- Rillke(q?) 09:50, 12 December 2014 (UTC)
@Rillke: the function is not working anymore? Maybe there is now an API-Request needed? (I've done this now with window.open, but the loop maximum is 20 ^^) User: Perhelion 06:47, 30 April 2016 (UTC)
This section was archived on a request by: -- User: Perhelion 18:04, 2 November 2017 (UTC)

Minimize window

Would it be possible to add inside the Cat-a-lot window the possibility to minimize it during its use? The window interfere sometimes with the pictures underneath that can't be accessed. This function could improve this already useful tool. --Djiboun (talk) 15:29, 15 May 2015 (UTC)

Although not as convenient as requested, but you can drag the top frame and shrink the cat-a-lot overlay "window". -- Rillke(q?) 18:30, 15 May 2015 (UTC)
Thanks Rillke, this will be fine.--Djiboun (talk) 05:44, 16 May 2015 (UTC)
This section was archived on a request by: -- User: Perhelion 18:06, 2 November 2017 (UTC): resizable and draggable

Return to page

Dear programmer, is it possible to make the message Done! all pages processed, Return to page, to make the return to page that needs to be clicked to continue, so that pressing enter will do the same, so there is no need to go there with the mouse pointer? Regards, Alfvanbeem (talk) 20:28, 2 June 2015 (UTC) PS thanks for this GREAT tool!

This section was archived on a request by: -- User: Perhelion 18:04, 2 November 2017 (UTC): done

Remove from other category

I would appreciate to have the capacity to remove a set of images from a predefined category without having to navigate to this category page. Sometimes, I find a category having say 20 images and all the images belong to 3 categories other than the current one. If I want to remove the 20 images from these other categories, I need to navigate to the 3 category's pages and redo the selection of the images. If I could remove directly, it would be more efficient. I hope my explanations are clear. Pmau (talk) 12:51, 19 September 2015 (UTC)

I have the exact same problem. When I am in a species cat (Category:Conus_striatus) I want to remove fromm all files the genus cat (Category:Conus)
The reason for that is that User:Hansmuller uploaded 270.000 pictures. And placed all of this pictures in a species AND a genus cat (which is called overcategorizing)
I took the work to create the species category when they don't exist. But I need a way to remove the genus cat once I have created the species cat.
This is a lifetime work if you don't help me.
PS: You tool is amazing. We love it all.
Cheers Liné1 (talk) 09:08, 22 February 2016 (UTC)
Perhaps off topic for the general case, but as a workaround anybody can remove the superfluous twice categorised images from say Category:Conus (or any category) with VisualFileChange (click "category", "just try", "custom replace", replace string "[[Category:Conus]]" with one space) keeping the other images, takes a few minutes, if only all underlying species categories exist. (This was checked with List of species and genera in Category:Mollusc specimens at Naturalis Biodiversity Center.) Regards, Hansmuller (talk) 15:21, 22 February 2016 (UTC)   Done for Conus. Hansmuller (talk) 16:02, 22 February 2016 (UTC)
This section was archived on a request by: -- User: Perhelion 16:51, 2 November 2017 (UTC): done

Category redirect

Cat-a-lot really should automatically redirect to or at least show the correct category when typing in a redirected category. For example, after typing in "Chippewa" and pressing enter, it should show "Ojibwa". In many cases it is very cumbersome to find the correct name and slows down the categorization process. --P 1 9 9   17:23, 2 March 2016 (UTC)

i believe this should be very easy to fix: add to the opensearch API call redirects: 'resolve'. this will tell the autocompletion not to return redirects, i think. peace - קיפודנחש (talk) 16:22, 9 March 2016 (UTC)
Thanks!
  1. Can you confirm it works?
  2. There is he:מדיה_ויקי:Gadget-Cat-a-lot.js that might need updates as well.
-- Rillke(q?) 16:45, 9 March 2016 (UTC)
Hum, the example is a {{Category redirect}} so it works for real #redirects only, I suppose. -- Rillke(q?) 16:49, 9 March 2016 (UTC)
Sorry no, doesn't work. --P 1 9 9   14:43, 10 March 2016 (UTC)
This is still not resolved. @קיפודנחש:@Rillke: Can someone modify the gadget to get it to redirect to the correct category when typing in a redirected category? Thanks. --P 1 9 9  P199 14:10, 5 April 2016 (UTC)
@P199: can you give an example of a redirected category? i still believe what i said is true, but i am not familiar with commons {{Category redirect}}. i do not think this is real "redirects" in the sense wiki understands redirects, and if it isn't, then my suggestion will probably have no effect (BTW: do category redirects make sense at all? it seems entirely counterproductive, b/c it will cause a person clicking on the cat from a page or a file to get to a cat page that does not include this page or file. i can't see the point of "true" category redirects, and can't think of a sane use case for them). peace - קיפודנחש (talk) 14:29, 5 April 2016 (UTC)
category:Chippewa, {{Category redirect}} is a template, custom stuff at Wikimedia Commons, not a redirect that MediaWiki would detect. -- Rillke(q?) 14:33, 5 April 2016 (UTC)
Indeed. You are free to submit a patch. I have run POTY and surprisingly have a real life. -- Rillke(q?) 14:33, 5 April 2016 (UTC)
I look forward to this feature being added to Cat-a-lot. It's very frustrating to be unable to follow category redirects via Cat-a-lot. A very large number of (valid) category redirects are under Category:Aviation, and many more will be needed to deal with cat name variations and their many sub-cats. PeterWD (talk) 08:26, 4 May 2016 (UTC)
I hope this proposal will be taken seriously, to enable us to move down through the category tree without hitting a dead end, and no way back up. Hotcat works in a different way, but that manages to deal with category redirect templates at Commons very satisfactorily.PeterWD (talk) 10:49, 2 December 2016 (UTC)
+1 for this. I do a lot of categorization for Hawaiian images, and need this at lot for characters with diacritics. For example, Category:Kilauea is a soft redirect to Category:Kīlauea, but I can't easily type the "ī" character, so I'm usually forced to go to another tab, go to the real category, then copy-paste the name into the Cat-a-lot search box. Thanks. howcheng {chat} 21:57, 14 February 2017 (UTC)
  Done @Howcheng, PeterWD, קיפודנחש, P199: I've implemented this feature for soft-redirects. Please check it out. -- User: Perhelion 20:57, 3 October 2017 (UTC)
Docu -- User: Perhelion 10:58, 4 October 2017 (UTC)
@Perhelion: Yes, worked for me. Many thanks!!! --P 1 9 9   13:01, 4 October 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 18:11, 2 November 2017 (UTC)

I love it, but I have a suggestion for improvement... 2

  1. Currently Cat-a-lot is limited to categories. Why not extend it to picture galleries?
    In commons, biology, all the pictures of species included in a species gallery should/can be in the species category with the same name.
    Example: If you look at Percina kathae, the image should/can be put also in the species category Category:Percina kathae. Currently the image is in the genus category Category:Percina which is very bad (there are a lot of images in Category:Percina as if these images were from unidentified species.
  2. In a category, you propose "Remove from this category" which is excellent. But you could also propose Remove for all the categories.
    Example:

So from Category:Percina kathae, we would be able to remove Category:Percina from all pictures in Category:Percina kathae.
Best best regards Liné1 (talk) 15:14, 23 December 2011 (UTC)

Good idea and maybe extend it to user contributions too for those users that put a million of tags on their images. --Foroa (talk) 15:37, 23 December 2011 (UTC)
Or just users that upload a bunch of related uncategorized files which you want to add to a category. Nemo 17:51, 26 December 2011 (UTC)
Use VisualFileChange to add any Wikitext to uploads of one user or files in one category or perform replacements. -- RE rillke questions? 11:01, 17 March 2012 (UTC)
Case 2 (removing files that are in one category from a second category) is really the only case in which I constantly want to use this tool. Is there any way to do this? --Julian H. (talk/files) 09:18, 14 April 2013 (UTC)
This could be easy done, but until an undo function is implemented, this feature stands back. Any dissenting opinion? -- User: Perhelion 22:18, 4 October 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 18:21, 6 November 2017 (UTC): both done

Invisible characters in Category names

I do not know where they come from, but only by cutting and pasting I sometimes manage to add categories with invisible characters to files, which are not handled properly by Cat-a-lot. For example File:Colima - Anthropomorphic Tubular Duct Flute - Walters TL200920138 - Three Quarter.jpg is in Category:Archeological sites in Colima, but the string "Category:Archeological sites in Colima" ends with invisible a character #26 for some reason, which is ignored by most of the software. However, Cat-a-lot can not remove that category or move that file. Would it be possible to tweak the script to ignore it as well?--Jarekt (talk) 20:23, 19 June 2012 (UTC)

The invisible character in your example is U+200E. Since it causes problems, I can add a fix for it within my bot script. -- Basilicofresco (msg) 21:25, 27 June 2012 (UTC)
Thanks for the fix of this example. I was hoping for changes to Cat-a-lot so invisible characters would be stripped from the category names, before they are added to the files. --Jarekt (talk) 19:03, 18 September 2012 (UTC)

The bug continues. File pages containing unvisible control characters in the category link are displayed in the category but Cat-a-lot is not able to remove them from the category. (Btw., HotCat is able to handle such pages.) --ŠJů (talk) 14:34, 19 August 2013 (UTC)

This section was archived on a request by: -- User: Perhelion 21:02, 9 November 2017 (UTC): fixed

Any idea why ...

Any idea why cat-a-lot cannot move or remove categories from the items in Category:Buildings and structures in Valletta ? --Foroa (talk) 10:46, 7 May 2013 (UTC)

The wikitexts of the category members contains a character with char code 8206 (a en:Left-to-right mark) between the last letter and the first closing bracket: [[Category:Buildings and structures in Valletta→‎←]]. Cat-A-Lot does not consider it as whitespace but MediaWiki does. This has to be fixed in Cat-A-Lot. -- Rillke(q?) 11:22, 7 May 2013 (UTC)
You might want to take a look at the regexps HotCat uses to get around this problem. Lupo 11:57, 7 May 2013 (UTC)
SieBot seems to be able to handle that. And again in Category:Buildings and structures in Barcelona, probably same author. --Foroa (talk) 12:05, 10 May 2013 (UTC)
This section was archived on a request by: -- User: Perhelion 21:02, 9 November 2017 (UTC): fixed

Feature request: Invert selection

An "Invert selection" option would be useful, please. Bonus points if it works after an operation; for example, select all the files in a category about men, and move them to the relevant sub-category; then invert the selection, and move the rest to the sub-category about women. Andy Mabbett (talk) 22:25, 16 August 2013 (UTC)

This section was archived on a request by: -- User: Perhelion 21:03, 9 November 2017 (UTC): added in version: 4.4

all / all media / all categories / none

Currently it's only possible to select "all" or "none". "all" is either "all files" or "everything" depending on preferences. For Commons, it can be helpful to be able to select just "all categories" or "all files". For the later, without going through all the changes. --  Docu  at 07:59, 14 December 2013 (UTC)

Select first item (e.g. category), hold down  Shift and select the end item. This is nearly as quick as pressing a link. Help:Gadget-Cat-a-lot#Moving files between categories, and removing files from a category -- Rillke(q?) 10:43, 14 December 2013 (UTC)
Thanks for pointing out the workaround. For categories this works, but for search results it's a bit more tricky.
Changing "all | none" to "all | media | categories | none" wouldn't use up much of the GUI. --  Docu  at 14:15, 15 December 2013 (UTC)
This section was archived on a request by: -- User: Perhelion 20:43, 9 November 2017 (UTC): done in version: '4.42'

What is happen with Cat-a-lot?

Hi at all. Every now and then Cat-a-lot does not work. The moment I give the order to move the files to the correct subcategory that appears on the right, he declares that it is not possible because "the following pages were skipped, because the old category could not be found". This is absurd. Cat-a-lot does not execute the movements because it denies the existence of the category of departure, where the files are located, and from which instead should leave. Why? Usually Cat-a-lot work for me, but then suddenly no longer works, then it works again after an hour, or maybe the next day. It's very boring. Because if I change my pc it is the same thing. What's going on? What crashes? It is just my problem, or Cat-a-lot is malfunctioning for all? Thanks for the answers, tips, solutions. Best regards, --DenghiùComm (talk) 16:40, 21 February 2014 (UTC)

Check if the files are categorized through templates (rather than explicit [[Category:FooBar]] wiki code). --Dschwen (talk) 23:18, 21 February 2014 (UTC)
No, this is not the matter. To move the files into the correct category I was finally forced to move them individually with HotCat. --DenghiùComm (talk) 00:33, 22 February 2014 (UTC)

[copied from the discussion in the Village Pump] Assuming you are trying to move from an existing category, I think this happens because the file has already been moved to another category and no longer is a member of the source category; if you are trying to move a file to more than one category, you should copy to the first, then move to the second. If you refresh the category view between Catalot runs, those images which have been moved no longer appear. I haven't had any problems with this, and hope that helps. Rodhullandemu (talk) 17:11, 21 February 2014 (UTC)

I know exactly how it works Cat-a-lot. If the files are moved, it is obvious that it do not accept again a move request, even if the pictures still appear. The fact is that the files are really in the category, and when Cat-a-lot goes crazy I can only move them individually using HotCat. It's a big waste of time. This evening it happens that Cat-a-lot works for copying; when I request to move 5 files (tree of this statue and two of this other statue) the tool moved me only the files of Apollo, not that of Artemis; for these last two files I must use HotCat. It's very strange! A mystery! --DenghiùComm (talk) 00:49, 22 February 2014 (UTC)
Maybe there was something odd about the syntax? I would suggest that the category might have been added by a template, but if that were the case I shouldn't think HotCat could do anything about it either ... —SamB (talk) 05:12, 22 February 2014 (UTC)
I believe I have answered the question here... TeleComNasSprVen (talk) 06:55, 22 February 2014 (UTC)
If there are invisible characters put in the category name by FrescoBot, then I cannot do anything. But I look to the chronology of these files of Artemis, and I see that FrescoBot doesn't touch them. So the mystery still stay there. If it is a problem of cache (did I understand correctly TeleComNasSprVen?), I will try next time to clean it when Cat-a-lot will be crazy again, in the hope that after it will works correctly. Thank you very much at all for your answer! Cheers, --DenghiùComm (talk) 08:22, 22 February 2014 (UTC)
Actually, FrescoBot is trying to remove the characters in order for Cat-a-lot to work. I contacted BasilicoFresco, the maintainer of FrescoBot, on the English Wikipedia and he's assured me he will restart the bot's jobs. Maybe later the bot will get around to removing the characters from the files. TeleComNasSprVen (talk) 10:32, 22 February 2014 (UTC)
I think what you have suggested doing, cleaning cache, definitely helps in this case. But I think Commons needs a more efficient way to solve this problem than relying on the bot, when the bot owner goes on WikiBreak. TeleComNasSprVen (talk) 10:34, 22 February 2014 (UTC)

YES ! SO IT WORKS !!! Thank you so much TeleComNasSprVen ! When Cat-a-lot became crazy and doesn't ricognize the files, it's necessary to clean the cache. After it works. Fine! Wonderful! Thank you very much again ! Cheers, --DenghiùComm (talk) 11:34, 24 February 2014 (UTC)

This section was archived on a request by: -- User: Perhelion 20:28, 9 November 2017 (UTC)

Add Category to Multiple images

You say "Turn on the gadget: after activation, you will see a little post-it-note labeled "cat-a-lot" in the lower-right corner of every category page. " Yet you do not say how to turn on the gadget. No post-it-note is visible, so I'm at a loss. All I want to di is add a Category to all my uploads. Many thanks. Wici Rhuthun 1 (talk) 10:21, 4 April 2014 (UTC)

In addition to category pages, it should also show up on a search results page, try this one. Junkyardsparkle (talk) 07:42, 7 April 2014 (UTC)
This section was archived on a request by: -- User: Perhelion 20:27, 9 November 2017 (UTC): done

Removed from category $1

When you remove items from a category, it displays "Removed from category $1" in the category page. -mattbuck (Talk) 08:12, 15 October 2014 (UTC)

This section was archived on a request by: -- User: Perhelion 20:26, 9 November 2017 (UTC)

Cat-a-lot at the gallery pages

I often create lists of files that need something put <gallery></gallery> around them, place it somewhere like User:Jarekt/a and do some operations on them, like add {{No license}} template, etc. It would be great if I can use Cat-a-lot to classify images in such a group, or with any collection of images displayed on a page using <gallery></gallery> or other means. Is it possible? --Jarekt (talk) 13:17, 18 December 2014 (UTC)

  Done @XXN, Jarekt, A.Savin, Herzi Pinki, Fructibus:, but only for normal galleries with description text (for gallery-namespace and user-namespace)!? -- User: Perhelion 12:50, 6 November 2017 (UTC)

  Thank you. I kind of forgot about it. --Jarekt (talk) 12:56, 6 November 2017 (UTC)
@Perhelion: Thanks a lot! Possible bug report: I just tried it now and it freezes when it says "Editing page 1 of 2". I am using Chrome 61. I tried it in Firefox 56 too and it is doing the same thing. I tried to add the images at User:Fructibus/A in the category Category:Pendants in the Metropolitan Museum of Art -- Fructibus (talk) 18:10, 7 November 2017 (UTC)
  Fixed @Fructibus: thank you too. -- User: Perhelion 20:26, 7 November 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 21:05, 9 November 2017 (UTC)

Filter out invisible LTR marks

Hi! I noticed that very often Cat-a-lot users insert the invisible character U+200E (LTR mark) at the end of the category name, just before the closing double brackets. You can use this tool to actually see the invisible character or the backspace to "feel" it. Some examples: [1] [2] [3] [4] [5] [6] These LTR marks come from cut-and-pasting a subcategory name from a category. Is it possible to filter out this invisible character every time a user insert it? Thanks in advance! -- Basilicofresco (msg) 13:09, 17 January 2015 (UTC) See also MediaWiki talk:Gadget-Cat-a-lot.js#Invisible characters in Category_names. -- Basilicofresco (msg) 08:26, 18 January 2015 (UTC)

  Fixed in last version, Basilicofresco. -- User: Perhelion 21:07, 9 November 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 21:07, 9 November 2017 (UTC)

New user interface

All wrong. Has this been beta-tested and is there any way of reverting to the old one? Rodhullandemu (talk) 12:15, 28 October 2017 (UTC)

Hey Rodhullandemu, yes/no, it depends what you mean withe the very concrete "all wrong"?? -- User: Perhelion 12:25, 28 October 2017 (UTC)
"Cancel" means "I realise I don't want to do this, stop"- but it only appears once the moves have been actioned. "Revert" is useful but should not be so prominent as it could be (and has been) hit by accident. But the thing you really want, "Done" appears not as a button but as highlighted text which you might not realise if you're colourblind- that should be a button too. HTH. Rodhullandemu (talk) 12:41, 28 October 2017 (UTC)
@Rodhullandemu: ok, thanks for feedback. It is indeed a very early version of this new features.
  • The only thing I understand clear is the "Revert" objection. What do you think about to made this only as small text-link with red color, in the right corner?
  • Another idea, maybe this function should only appear after closing the progress window on the main box!?
  • "Cancel": That is it for what Cancel is intended, stops actions that has been actioned. So you want more, close the window? Maybe this functions should und a close button (X) on the top right corner?
  • "Done" You mean the new buttons should be text too? Or the existing text-link "Return to page" should be a button too?
-- User: Perhelion 13:09, 28 October 2017 (UTC)
I front-ended databases and was a UI designer for ten years so I hope you'll forgive my frustration. In my experience "Cancel" is used to (a) close a dialog box without making any changes, or (b) stop an action already in progress- although I don't advocate that because it may leave the underlying data in an uncertain state. Since it only appears after the processing has completed, it's the wrong label for that button in any case and explains the confusion about that button's purpose. "Revert" is OK, as would "Undo" be, but I don't see it necessary to be in a different colour. I see no problem in replicating the text "return to category" as a "Done" or "Close" button; that's a minor change but is clear what's going on. Rodhullandemu (talk) 14:18, 28 October 2017 (UTC)

@Perhelion:, I personally appreciate the new functionality that you added and I am OK with the UI. If anything, it should probably resemble OOui as much as possible.

However, I have an objection regarding your use of the 'Move' message from MW instead of the one from the translations. Perhaps in English and German in sounds good, but in languages like French and Romanian the operation is translated as 'Rename', which in the context of Cat-a-lot does not make any sense. Could you please revert this to using cat-a-lot-move?--Strainu (talk) 20:42, 28 October 2017 (UTC)

  Done (Unfortunately your request comes one minute to late ^^) What do you think about this #Remove from other category? @OOui: I also thought about it, it is planned. -- User: Perhelion 20:49, 28 October 2017 (UTC)
Sounds like a good idea, although I never felt the need myself. Could be used when some files are in cat A and B and you create cat C which is included in cat A and B. What is really useful is that it could save a line from the GUI (according to the mock-ups), which means a lot on 13" screens, especially when they're wide (16:9).--Strainu (talk) 21:01, 28 October 2017 (UTC)
  • Just tried it. Much better, thanks. Rodhullandemu (talk) 21:07, 28 October 2017 (UTC)
    • Thanks again for your feedback (your both, especially from a UI designer). I always try to make things as simple as possible. This tool is now the most used opt-in gadget on Commons, so it is really not harmless to change something. -- User: Perhelion 21:19, 28 October 2017 (UTC)

I just tried to move three files from Category:Bridges in Greece to Category:Rio-Antirio Bridge (construction). When I checked the files afterwards, they had been removed from the target cat rather than from Category:Bridges in Greece. [7], [8], [9]. --Sitacuisses (talk) 16:03, 29 October 2017 (UTC)

Hey Strainu, come on, really? Can you/someone other reproduce it? -- User: Perhelion 22:07, 29 October 2017 (UTC)
It just happened again. I wanted to move all files from Category:Comedypreis 2017 to Category:Deutscher Comedypreis 2017 (they were in both), but they were removed from Category:Deutscher Comedypreis 2017 instead. --Sitacuisses (talk) 01:06, 30 October 2017 (UTC)
Same here. If I try to move files from category A to category B when they are already in category B, the tool removes B instead of removing A. A second identical "edit" fixes it, by actually changing A to B. kennethaw88talk 07:22, 30 October 2017 (UTC)
  Fixed Oh* yes, sorry for that, It was happen if the moving target already exists there. Btw. I added a prompt for a custom reason. (maybe I need a break) -- User: Perhelion 08:50, 30 October 2017 (UTC)

Help! I just gathered up about 70 files by searching for Pin Mill -Bodnant and that was fine. I selected ALL then went through and deleted about 6 or 8 and MOVEd them all to category Pin Mill, Suffolk. Except I didn't, I moved them to a Category called Images. and I can't reverse them. There are odd things happening in my cat-a-lot menus. I use a Mac. How do I get rid of these images mistakenly put by me into Images when the only menu does not permit me to remove them? Thanks, Eddaido (talk) 04:15, 1 November 2017 (UTC)

I've just removed Category:Images from all those referring to Pin Mill, Suffolk. Personally I find the 8-bit MS-DOS interface a bit old-fashioned, although I accept there is a screen real estate issue. Rodhullandemu (talk) 11:05, 1 November 2017 (UTC)
Thank you very much for sorting out my mistake. Best, Eddaido (talk) 20:26, 1 November 2017 (UTC)

Would it be possible to return to the words "Remove", "Move", and "Add" instead of the little arrows? The latter are hard to discern for me. --Schlosser67 (talk) 07:38, 2 November 2017 (UTC)

Hello Schlosser, Rodhullandemu, the words make the menu really big (in view, that this obscures the actual target area, this is a main conflict of functionality), some other gadgets (e.q. more used like HotCat) have very similar much smaller buttons. But I could simply made the "MS-DOS" like interface to Wiki toolbar like buttons. -- User: Perhelion 09:57, 2 November 2017 (UTC)
I didn't find the words in the Cat-a-lot interface that big, not even on a smallish notebook screen. HotCat buttons are the size of the normal display font, and thus big enough for me. As a rule, I do better with words (at least if I have some idea of the language) than with pictograms (which often need an explanation anyway). Would it be possible to let the users chose the look and feel of the tools? --Schlosser67 (talk) 13:57, 2 November 2017 (UTC)
@Schlosser67: Please take a look at the new buttons, the words are seeming only in some languages like English (or syllable characters like Chinese) very short (3 action links and the category name could become the half of the page). I see no really advantage of words. I mean this is only "habituation to the old" (as Rodhullandemu says, "I find a bit old-fashioned"), but if some agree for textlinks only option, I'll do this. -- User: Perhelion 16:42, 2 November 2017 (UTC)
I've worked using computers for more than 50 years but I know nothing of code or programming etc. When those little arrows appeared I knew there was some hiccup in the machinery. This was confirmed when suddenly the menu changed its nature completely and now offered me only "images". So I clicked on that and brought about the mess Rodhullandemu kindly fixed. Pluses and minuses and arrows are rational and logical but please may we go back to words. Thanks, Eddaido (talk) 21:17, 2 November 2017 (UTC)
Perhelion, in which language would the words become so long that they cover "half the page"? Most computer users are familiar with the English terms anyway, even if they do not know much English otherwise. Also, in case you have mislaid your reading glasses, a familiar word pattern is easier to recognize than a tiny symbol. If there is a question of the menu covering the target area, can't it be made so that it can be moved around, or moved to another corner of the browser window? I just noticed that this can be done. The larger symbols are better, but the words are still more straightforward in my view. --Schlosser67 (talk) 05:11, 3 November 2017 (UTC)
@Schlosser67, Eddaido:   Done as option. -- User: Perhelion 10:55, 3 November 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 20:21, 9 November 2017 (UTC)

Stuck on "Loading..."

I've been using this tool for a while now, but as of yesterday (or a few days ago?) it keeps getting stuck on "Loading..." whenever I click on it. I thought it had something to do with the fact that I was loading it from a user script, so I added it as a gadget to my home wiki here by following these instructions, but I'm still getting the same issue. Basically, if you go to any category ("Sportski logoi" is the one I'm trying to rearrange a bit) with the files/pages you want to move and click on the tool, it just gets stuck on "Loading..." and there's a "TypeError: $(...).text(...).button is not a function" in the console. What gives? – Srdjan m (talk) 09:44, 3 November 2017 (UTC)

@Srdjan m:   Fixed -- User: Perhelion 10:51, 3 November 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 20:20, 9 November 2017 (UTC)

Change default preference

Hi, is it possible to set the preference “Alloy categorising pages (including categories) that are not files” by default? This way the gadget could be used on other wikis with no images only by importing this gadget directly, not modifying it locally, that can be difficult.--Syum90 (talk) 10:52, 11 August 2015 (UTC)

@Syum90: Changing this would probably result in many miscategorisations here on Commons by people who expected the gadget to only touch files. Replacing the false with a true at name: 'editpages' shouldn't be difficult (unless more adaptations are required to change this) …    FDMS  4    17:10, 11 August 2015 (UTC)
Would it be possible to make this switchable by a variable, so when you import the script you can set the variable to change the behaviour and you don't have to further maintain the script locally. Akoopal (talk) 06:42, 12 August 2015 (UTC)
@FDMS4, Akoopal: Thank you for your ideas; well, the ideal would be to import directly because we would always have the gadget updated, but if will cause problems here on Commons we will have to modify the code locally and to update it periodically.--Syum90 (talk) 08:33, 12 August 2015 (UTC)
This section was archived on a request by: -- User: Perhelion 01:32, 17 November 2017 (UTC): done

Editing problem

Hi,

I am affraid that this gadget is causing the problem, when we cannot type "space" and some other charecters. Can we fix it?--Juandev (talk) 08:22, 26 October 2015 (UTC)

I am sorry, it is probably not caused by this gadget. Its pretty difficult to find out, where is the problem.--Juandev (talk) 09:00, 26 October 2015 (UTC)
You mean, you press the [space] key and no space is inserted in the input field that is currently focussed? [yes|no] -- Rillke(q?) 11:02, 26 October 2015 (UTC)


  Info I had the same problem a couple of times since beginning of summer, but as far as I remember it was in "search page - search field". I assumed it was a problem with my browser (Google Chrome), I closed the page, reinitialized the browser and problem solved.--JotaCartas (talk) 11:24, 26 October 2015 (UTC)

This section was archived on a request by: -- User: Perhelion 01:03, 17 November 2017 (UTC)

Propylaea

Propylaea means entrance and this words may be used to various buildings. Would it be possible to change Category:Propylaea to Category:Propylaea of Athens. I will do the minor changes later. --Io Herodotus (talk) 02:25, 19 May 2017 (UTC)

@Io Herodotus: there exists Propylaea (architecture) for the type of entrance in general. I guess the idea was that most people would think of Athens on seeing “the Propylaea”, and we can’t disambiguate proper names from ordinary terms by capitalizing only the former. If you disagree, though, this page is not the best place to discuss the question, as it concerns only the Cat-a-lot Gadget itself, not the work we do with it. You could propose renaming on the Talk page of either category or, more formally, open a discussion at COM:CFD.—Odysseus1479 (talk) 01:44, 21 May 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 00:01, 17 November 2017 (UTC)

Another issue with new UI

Pic. Where are the plus buttons? p.s. any hope for returning to verbal 'move' and 'copy'? Retired electrician (talk) 02:26, 13 November 2017 (UTC)

  • (P.S.: I hope not, sorry. But maybe an optional setting?) -- Tuválkin 20:09, 13 November 2017 (UTC)
@Tuvalkin, Retired electrician: Yes, there is an option (last point under settings). But I'll fix these soon. Can you please describe more details, which resolution, category, browser? (I can't reproduce it in any resolution or browser). -- User: Perhelion 18:45, 14 November 2017 (UTC)
@Retired electrician, @Juandev: Fixed? -- User: Perhelion 19:52, 14 November 2017 (UTC)
Yes. Thank you, Retired electrician (talk)
This section was archived on a request by: -- User: Perhelion 23:32, 16 November 2017 (UTC)

Removing instead of moving

In some cases, if the user choose to move files from an existing category to a non-existing category, Cat-a-lot only removes files from the old category and doesn't add the new category (without report any error). --ŠJů (talk) 15:43, 24 September 2011 (UTC)

This section was archived on a request by: -- User: Perhelion 23:24, 17 November 2017 (UTC): seems fixed

Misalignments

 
5 lines and 4 links; which ones are related to which ones ?

I use cat-a-lot and often I got bad surprise: my photos are moved to the wrong category. It is due to misalignments of the category names and "Copy Move" messages in the box: they are not on the same lines, and often the "Copy Move" concerns the category displayed one line above (or below). I have to count up or down the lines from one end to guess the good category. Thanks, Jack ma (talk) 08:49, 12 February 2012 (UTC)

I guess your category names are just too long ;)
More seriously: it happens occasionally: a workaround is to click on a category above or below and then select the target category from there. --  Docu  at 10:18, 12 February 2012 (UTC)

Misalignments in the box are really a source of hesitation before clicking, to avoid correcting back if moved/copied to the wrong category. And there is no tooltip to help. In the image on the right, there are 5 lines and 4 links. I just know that the 2 last links concern the 2 last lines. So which one for "Buildings in Charente" (the first line) ? Is there any hint I missed ? It seems, surprisingly, to concern nobody else than me, but I think choosing the correct link should be the key point in cat-a-lot. Jack ma (talk) 08:06, 31 March 2012 (UTC)

I added some orange lines.

Please purge your browser’s cache. (You only need to do it once.)

Internet Explorer: Press Ctrl+F5
Mozilla Firefox: Microsoft Windows and Linux:
Hold down  Shift while clicking Reload (or press Ctrl+F5 or Ctrl+ Shift+R)

macOS:
+R (reload page) or + Shift+R (reload page and rewrite cache)

Opera/Konqueror: Press Ctrl+F5 or  Shift+F5
Apple Safari: Hold down  Shift+Alt while clicking Reload

Mac OS X:

++E (clearing browsercache) or +R (update)

Microsoft Windows:
Ctrl+R

Chrome: Ctrl+F5 or  Shift+F5 or hold down  Shift while clicking Reload
Note: in MacOS  Cmd for Ctrl
Does it look better now? If not, which browser are you using? Thank you. -- RE rillke questions? 08:55, 31 March 2012 (UTC)
 
clearer, but still alignment problem
Many thanks for the improvement (orange lines). Unfortunately, the problem still remains (see image); the two last lines are even shifted down. I use Windows XP and Firefox 3.0.5 (and don't want to upgrade because everything else works fine). Jack ma (talk) 08:19, 1 April 2012 (UTC)
Hmm. This looks odd. Firefox 3.0.5 is out of support. I am on WinXP, too and have the latest firefox. Some Add-Ons (if you have them) might stop working but the majority of them can be updated. Unfortunately, I have no FF3.0.5 so I can't test. -- RE rillke questions? 09:39, 1 April 2012 (UTC)
For me, with FF11 it looks like this. -- RE rillke questions? 09:52, 1 April 2012 (UTC)
If you correct the thing, ok, otherwise not a big problem. I just have to do care by counting the lines. E.g. in this other example, 3 first lines on the right concern the 3 first lines on the left (till the horizontal arrow which is the current category), then all other lines are shifted down by 1 line. (I tried in English, same result; apparently not a problem with line wrapping). Thanks anyway, Jack ma (talk) 10:21, 1 April 2012 (UTC)
This section was archived on a request by: -- User: Perhelion 23:23, 17 November 2017 (UTC): There is a line highlighter now

Fail unsafe

Hi, Cat a Lot isn't working at the moment, I can appreciate that sometimes even computers need to take a rest. But it is somewhat frustrating that you only realise that it hasn't worked when you actually look at your contributions, and discover that all the time you've spent selecting images and moving them to other categories has not actually resulted in any edits. Can you at least make it come up with a message that it isn't working rather than slowly bring up the dialogue box, allow you to select loads of images and then tell you it has moved them without actually doing so? WereSpielChequers (talk) 21:55, 23 October 2012 (UTC)

This behaviour of Cat-a-lot is very unfortunate. Was this (particular move/copy action) a one-time error or can you reproduce it? Thanks in advance. -- Rillke(q?) 16:32, 24 October 2012 (UTC)
Hi Rillke, I was getting that problem for an hour or two, but it has gone away now. I should have checked on my netbook to see if it was replicated there on a different PC and O/S, will do that next time I get such a glitch. Cheers WereSpielChequers (talk) 17:36, 26 October 2012 (UTC)
This section was archived on a request by: -- User: Perhelion 23:19, 17 November 2017 (UTC)

collapsing box for selecting

Hi, I am working a bit more with cat-a-lot now, and one of the things I struggle with is that the box of cat-a-lot if above the pictures. If you are on a cat with a lot of sub-cats you can't select the right-most column of pictures. If you collapse the box by clicking on cat-a-lot, the selecting is switched off, so you can't select. Is it possible to create a way to collapse the box, while cat-a-lot stays active? Akoopal (talk) 11:55, 6 January 2013 (UTC)

AFAIK, you can change the size of the Cat-A-Lot-Box. Hover the topmost border, and the cursor changes to the change-size-vertically icon, and then click and drag the size. -- Rillke(q?) 13:08, 6 January 2013 (UTC)
Ahh, that already helps. Thanks! However I still think it makes sense to collapse the box, so you see everything, select what you want, and then expand and select the copy or move you want. Akoopal (talk) 17:27, 6 January 2013 (UTC)
I agree with Akoopal that collapsing would be nice but, I imagine, fiddly to implement. Knowing that the size can be changed by dragging is very helpful, though. HJ Mitchell | Penny for your thoughts? 13:00, 8 January 2013 (UTC)
This section was archived on a request by: -- User: Perhelion 23:18, 17 November 2017 (UTC): collapsing and sragging added

Does Cat-a-lot always remove {{Uncategorized}}?

Is there any possibility of Cat-a-lot asking for permission to do this, or making it optional? HotCat asks the user's permission, which is occasionally very useful. --moogsi (blah) 10:49, 14 February 2013 (UTC)

This section was archived on a request by: -- User: Perhelion 23:17, 17 November 2017 (UTC): now optional

overview

I have only recently come across the work of this bot, and because of its use can I ask if there is any overseer system. Who decided other than the editor who started the process! that an image needs to be moved from one category into another. I am specificially speaking about my continuing experience on the following files - [10] and [11]. Thanks Edmund Patrick ( confer work) 05:59, 30 April 2015 (UTC)

@Edmund Patrick: This is not a bot; it is a script and you are right; the script is tied to the one who makes use of it who solely decides what to do with it and is consequently responsible for that. Therefore, I suggest you talk to Mabalu. If one finds non-constructive edits that do not look like accidents, one may report them to COM:AN/V. -- Rillke(q?) 08:27, 30 April 2015 (UTC)
@Rillke: thanks still in discussion with Mabalu, yours, Edmund Patrick ( confer work) 05:42, 1 May 2015 (UTC)
This section was archived on a request by: -- User: Perhelion 23:06, 17 November 2017 (UTC)

Feature request: always on top switch

Every time when changing the source folder, the Cat-a-lot window is closing. It would be very nice to have an option to tell the Cat-a-lot window to stay always open (in that particular browser tab where I do the work). I change the source folder quite often, it's quite a waste of time to carefully locate the mouse so many times in order to click on the "Cat-a-lot" label (it's quite small!) to open the window. Fructibus (talk) 15:30, 14 October 2017 (UTC)

What do you mean with "source folder" exactly? And then the window stays always open until you close the tab or close the window? I'm not sure. Can you give a concrete example of usage!? -- User: Perhelion 21:29, 14 October 2017 (UTC)
@Perhelion: sorry I forgot to check this page in a while. By "source folder" I mean the folder where I am at this moment. For example Category:Wrist clasps in the Portable Antiquities Scheme - I am looking for drawings there, so I copy them into the Category:Drawings in the Portable Antiquities Scheme. Then I change the folder (source folder) to Category:Dress hooks in the Portable Antiquities Scheme to find more drawings and so on. -- Fructibus (talk) 00:57, 24 October 2017 (UTC)
This should be with MW.JavaScript not possible, but your request one above (#Feature request: keep a destination category in the Cat-a-lot window until removing it) should solve your problem partially. -- User: Perhelion 20:20, 9 November 2017 (UTC)
  Done @Fructibus:!? -- User: Perhelion 00:00, 17 November 2017 (UTC)
@Perhelion: Big thanks! These are really nice features. The life of a commoner is so beautiful with Cat-a-lot :) -- Fructibus (talk) 04:40, 17 November 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 22:47, 17 November 2017 (UTC): I'm glad to hear this

Sorting in searches

One of the most brilliant uses I had for cat-a-lot was doing a search and putting the results in a category. This appears to have broken since the new search options were released. Can it be patched please? -- (talk) 05:25, 2 October 2014 (UTC)

This section was archived on a request by: -- User: Perhelion 13:35, 19 November 2017 (UTC): outdated

Searchbox- Window text

In the searchbox, if you place Enter the destination cat-name instead of Enter category name, it will give quick understanding of the first step of this tool. --THAuzhavan (talk) 07:12, 13 January 2015 (UTC)

This section was archived on a request by: -- User: Perhelion 13:34, 19 November 2017 (UTC): not really necessary

Bug: can't move files with cat with slash

As we can see here: Category:Farm-Fresh people ?! User: Perhelion 20:41, 3 April 2016 (UTC)

Category:Farm-Fresh peopleCategory:Farm-Fresh web icons people (e.g. File:Farm-Fresh gruppe3.png). Requested wiki text from API, got wiki text, no edit, says done, background green, white after "return to page". -- Rillke(q?) 20:50, 3 April 2016 (UTC)
Hej yes, it says "Can't find cat..." This 5 files are left from mass-move. User: Perhelion 21:10, 3 April 2016 (UTC)
(the cat with a slash is Category:Farm-Fresh web icons/derivations) --AVRS (talk) 11:11, 4 April 2016 (UTC)
Remark: user:Wieralee has moved the five files per hand (for example to reconstruct the situation). User: Perhelion 11:59, 5 April 2016 (UTC)
This section was archived on a request by: -- User: Perhelion 13:31, 19 November 2017 (UTC)

Speed cap?

When using Cat-a-Lot editors can get very high edit rates. 200 edits in 30 seconds is plausible (I'm not sure what the maximum possible is I haven't timed). If the user is doing a big batch, they might well use it for several thousand files.

Given that bots are normally restricted to lower speeds, it seems odd that this script allows humans to work semi-automatically at faster speeds. Especially when edits with Cat-a-Lot are not bot tagged, and are not minor edits, and so have potential to things like flood watchlists.

I don't want to restrict the tool's utility, but the above is odd. A possible solution could be put a speed cap on, but if being run on a bot-flagged account allow higher speeds and mark the edits as bot edits.--Nilfanion (talk) 10:02, 13 October 2012 (UTC)

Currently it is violating mw:API:Etiquette (because it sends all requests the same time and also queries each single file while more than one could be queried with one request). I think, I'll make it using MediaWiki:Gadget-libAPI.js which will limit the number of simultaneous requests and also has a cleverer error-handling, especially for anonymous users or users with rate limits. After I did so, it will behave like VisualFileChange (regarding to editing), which is I think a good compromise. This, of course will add additional dependencies and other Wikis using this gadget will have to import all of them. -- Rillke(q?) 10:47, 13 October 2012 (UTC)
I hope that doesn't result in some sort of speed cap. I can appreciate that when you hit enter to move over 100 images from one category to another the actual processing can take an irritatingly long time, but what possible benefit could there be in slowing that down? The person using catalot isn't going to be doing anything else if you slow the process, or at least not online, though I sometimes start a catalot run and go off and make a cup of tea. If you have concerns about people misusing catalot then slowing it down would just waste people's time, surely a better option would be to take the tool away from those who misuse it? WereSpielChequers (talk) 23:44, 14 October 2012 (UTC)
Perhaps if this is a real issue (has it created any issues that someone can point to?) then this could be a user flag so that large (over 100 images in a batch?) and high speed changes are limited to users flagged as trusted to do this work while unflagged have reasonable speed limitations on the assumption that they probably only want to change less than 100 images at a time? -- (talk) 09:24, 15 October 2012 (UTC)
Yes, we could apply different defaults to different user groups for the number of simultaneous requests. -- Rillke(q?) 09:38, 15 October 2012 (UTC)
Yes it is a real issue, I suspect it is the answer to this bug report and one I received at the London Meetup. I'm pretty sure that there is a whitelisting process on Commons, and so one solution would be to tell people who hit this problem to apply for whitelisting. WereSpielChequers (talk) 13:51, 15 October 2012 (UTC)
White lists and restrictions for JavaScript applications are simply stupid since it runs at the client side and can be easily bypassed. Setting reasonable defaults is enough. There is a white list for AWB but I am not inclined consulting this one. -- Rillke(q?) 16:13, 15 October 2012 (UTC)
Since your reply indent leads me to the conclusion that you're answering to my comment: My goal will be preventing sending 200 simultaneous requests to the API. I will let it to the user how many s(he) allows sending at once (a preference) so no one will be able to complain when you are blocked from editing through the API due to a violation of mw:API:Etiquette. Having only 4 requests at once (what I used as a default for VisualFileChange) won't slow down the process a lot; at least for smaller batches. But it will help reducing the database replication lag and the bad impact of it to other editors. If you want to move most files from cat containing a huge number of files to another, you may use {{Move}}. If you want to change multiple categories at once, replacing templates, … VisualFileChange is the better choice anyway. -- Rillke(q?) 09:38, 15 October 2012 (UTC)
Maybe, it sounds like a techincal change will address the issue without compromising too much. I don't really get on with VFC, it seems more reliable and quicker for me to write a bit of Python than puzzle over how to do what I want with VFC (which is rather slow, but this might be my macmini). Cat-a-lot, however, seems easier for simple jobs, even largish re-cats. I guess I am a 'sophisticated user' so if I struggle with VFC, I am not sure that telling less experienced users that Cat-a-lot sucks and forcing them to use VFC would be a good solution for everyone. -- (talk) 14:29, 15 October 2012 (UTC)
You made a lot of words but didn't tell what confused you so much. I don't force anyone to change. I just said it's more flexible than Cat-A-Lot (because you have direct access to the WikiMarkup through option custom replace). But this discussion does not belong here at all; just wanted to give a "preview" how the editing-speed of the tool will change and that, in case you plan to do something more sophisticated, it could be beneficial using VisualFileChange. -- Rillke(q?) 16:13, 15 October 2012 (UTC)
Hi Rillke, forgive my ignorance but I don't understand all the jargon in this thread. Is Cat a Lot going to change so that I can only change the categories of 4 files at a time, or will I still be able to select all and recategorise scores of images - though a bit more slowly than at present? WereSpielChequers (talk) 22:58, 15 October 2012 (UTC)
You will be able to use it as you could use it before. It is just internal stuff that happens behind the scenes in your browser. For larger categories, it will be slightly slower, especially the edit-time-pattern will change (currently there is a long lag and then the counter rises, then it will be more balanced). -- Rillke(q?) 23:11, 15 October 2012 (UTC)
Thanks Rillke, that's very reassuring. WereSpielChequers (talk) 09:07, 16 October 2012 (UTC)
This section was archived on a request by: -- User: Perhelion 23:25, 20 November 2017 (UTC)

Cat-a-lot doesn't understand a category with diacritics?

Cat-a-lot refused to move some files, perhaps the problem is with diacritics in the original category name? Images whee to be moved from Category:Osiedle Tysiąclecia (Katowice) to Category:Church of St. Mary of Piekary Śląskie in Katowice. Done! All pages are processed. Return to page The following pages were skipped, because the old category could not be found: File:Katowice July 2013 008.JPG File:Katowice July 2013 010.JPG File:Katowice July 2013 007.JPG File:Katowice July 2013 009.JPG File:Katowice July 2013 013.JPG File:Katowice July 2013 011.JPG

Similarly, image File:Katowice July 2013 017.JPG couldn't be moved to Category:Rondo Sławika w Katowicach‎.

Interestingly, Cat-a-lot was able to move images into the Category:Osiedle Tysiąclecia (Katowice) category yesterday so unless something was changed in the last 24h or so, the problem is with the part of the script that tries to find a category that needs to be moved from. Please ping me when this is fixed so I can move the listed images (or just tell me it was done). Cheers, --Piotr Konieczny aka Prokonsul Piotrus Talk 15:21, 4 January 2014 (UTC)

This section was archived on a request by: -- User: Perhelion 12:54, 20 November 2017 (UTC): there was a LTR mark which is now supported

Cryptic error msg

When I want to move files from one category (the visible one I am working from) to another one, Cat-a-lot refuses to do so with "The following pages were skipped, because the old category could not be found:" — I cannot understand what this message will tell me. What is the old category? Can be nothing than the category just displayed. Cache refresh doesn't help. sarang사랑 17:46, 8 May 2014 (UTC)

Now I see: I moved with Cat-a-lot into a category "xxxx (yyy)". This worked well. But when I try to remove from this category I get the error msg. I am out of my wits what to do now. I am not amused from the imagination to remove more than 170 files with Hotcat, one by one. Has anyone a better idea? sarang사랑 11:49, 9 May 2014 (UTC)

@Sarang: If you haven't solved the problem yet, point out the category you mean. --Junkyardsparkle (talk) 23:18, 9 May 2014 (UTC)
@Sarang: Is this still actual? Should the wording be better "source category"? (Nevertheless there is now an remove button for every cat) -- User: Perhelion 12:59, 20 November 2017 (UTC)
I can barely remember the troubles I had some years ago. May be that I tried to cat-a-lot items from a non (not-yet) existing category: It is possible to select such items for cat-a-lot, but when it is tried to execute the selected items this error msg occurs. A possible workaround is to establish this category temporarely, perform the hot_cat, and then to delete that not needed category; as far as I can remember I did it that way.
@Perhelion: The problem is still actual - but it can be handled the way I did. Yes, "source category" might express better the difficulties of Cat-a-lot. -- sarang사랑 17:38, 20 November 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 21:32, 20 November 2017 (UTC)

unnecessary message box

Is it possible to suppress the message box when the script did all the changes for the selected files? In my opinion this message is unnecessary because every file is tagged with its own status.[12] --Olei (talk) 20:45, 22 July 2014 (UTC)

Even making it easier to dismiss, with the ESC key for instance, would be an improvement.--jnkyrdsprkl (talk) 21:28, 22 July 2014 (UTC)
The Enter key works. This should be sufficient? -- User: Perhelion 23:10, 17 November 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 12:54, 20 November 2017 (UTC): done also with ESC

Weird glitch with files that refuse to be moved/relocated.

Not sure what's going on here. I tried moving Category:Clothing designed by Max Azria for Fall-Winter 2010 (171 F) to Category:Clothing designed by Max Azria for Fall-Winter 2010 (removing the file count that accidentally got pasted into the original file name) and there are 114 files in the original category that REFUSE to be moved by Cat-a-Lot, can't be removed from the category, etc - despite already being in the renamed category. I was able to copy them into the renamed category though. I fixed one manually by directly editing it to remove the ghost category but it doesn't seem to be removable otherwise. What did I do to cause the glitch? Mabalu (talk) 09:18, 21 April 2015 (UTC)



action query format json prop categories titles Category:Clothing designed by Max Azria for Fall-Winter 2010 (171 F) {"query":{"pages":{"39701062":{"pageid":39701062,"ns":14,"title":"Category:Clothing designed by Max Azria for Fall-Winter 2010 (171 F)"}}}} TypeError: cats is undefined https://bits.wikimedia.org/commons.wikimedia.org/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20150416T192716Z line 4 > eval Line 329 action query cmlimit 50 cmtitle Category:Clothing designed by Max Azria for Fall-Winter 2010 (171 F) cmtype subcat format json list categorymembers {"query":{"categorymembers":[]}} -- Rillke(q?) 12:57, 21 April 2015 (UTC)

I'm sorry I don't understand? Mabalu (talk) 13:19, 21 April 2015 (UTC)
This section was archived on a request by: -- User: Perhelion 12:54, 20 November 2017 (UTC): not reproducible, anyway there is now a remove feature

Category placement

I've been using Cat-a-Lot over at the English Wikipedia, and it appears that of late it is ignoring category syntax when it populates the categories. See this dif as an example - that last category belongs before the stub tag, not after. Unless I've been more oblivious than usual I'd be prepared to swear that this didn't used to be the way it did things. Can it be fixed? --Ser Amantio di Nicolao (talk) 20:45, 6 February 2016 (UTC)

Hey Ser Amantio di Nicolao, this seems rather an EN:WP special case. Categories should always be at the bottom (except if some special Wiki-syntax is present like noinclude, in this case it appears only general at the template namespace, which is not really supported yet). -- User: Perhelion 12:02, 13 June 2017 (UTC)
The issue at the English Wikipedia is that stub templates add stub categories. Categories are displayed in the source order on the rendered page and we want stub categories to be at the end per w:Wikipedia:Manual of Style/Layout#Order of article elements and w:Wikipedia:Manual of Style/Layout#cite note-4. Stub categories are not hidden so the order matters to readers. w:Category:Stub message templates has around 28,000 templates but they should all end in "-stub". PrimeHunter (talk) 10:21, 27 July 2017 (UTC)
  Done @PrimeHunter, Ser Amantio di Nicolao: I've have taken a bit code from HotCat (anyway I guess for Commons this case rarely happens). You can try the new version (4.6b after cache clearing). -- User: Perhelion 22:54, 17 November 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 23:20, 20 November 2017 (UTC)

option to re-enable following links

Could an option be added to re-enable following links, i.e. undo Special:Diff/202801008 via the preferences pane? (Safari allows selecting pages using Cat-a-lot, visiting a page and going back to where I left off.) Ping Perhelion (once again).    FDMS  4    21:24, 11 October 2016 (UTC)

@FDMS4: Links still work if you click on the thumbnail instead of the filename. --Sebari (talk) 22:01, 12 October 2016 (UTC)
@Srittau: Not for non-file pages and only if you have disabled the MediaViewer (or don't need the content in the same tab).    FDMS  4    04:12, 13 October 2016 (UTC)
Hello @FDMS4:, I don't fully understand your request. Is it actual? Would it be helpful to use the Ctrl key for this feature? (PS: This was a fix to this request) -- User: Perhelion 00:46, 17 November 2017 (UTC)
  Done per Ctrl!? -- User: Perhelion 01:33, 17 November 2017 (UTC)
@Perhelion: For me it would be nice to be able to visit the file page in the same tab (ctrl opens file pages in a new tab, and does not work at all on non-file pages), for example to check the contents of a category before selecting it (Safari doesn't reload the category Cat-a-lot was used on when going back there, thus allowing me to continue selecting categories where I left off). However, I'm using the "picture-in-picture-like" web page preview feature of macOS (three-finger-click or Force Touch) now as an alternative, so my 2016 request for a preference checkbox to restore previous behaviour definitely is no longer "urgent" or anything.    FDMS  4    13:58, 18 November 2017 (UTC)
So this should be a very rare case and no update is needed, except you can tell another key for it. Alt? -- User: Perhelion 16:25, 19 November 2017 (UTC)
Yeah, it's definitely not a must-have. Alt-click downloads the page as an HTML file.    FDMS  4    16:42, 19 November 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 12:54, 20 November 2017 (UTC)

Feature request: keep a destination category in the Cat-a-lot window until removing it

I need to move various items, from various source categories, into a certain destination category (Category:Islamic carpets). And then I need to keep this destination category "sticked" to the Cat-a-lot window, so I won't need to add it every time when I change the source category. When I finish moving the items into Category:Islamic carpets, the program should allow me to remove the category from the gadget window. Is it possible to implement this feature please? Fructibus (talk) 19:28, 13 October 2017 (UTC)

There are many requests to this feature, I plan to implement this in near future. -- User: Perhelion 21:14, 13 October 2017 (UTC)
  Done @Fructibus:!? -- User: Perhelion 00:00, 17 November 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 12:54, 20 November 2017 (UTC)

Not working for webm files

I tried to move videos from Category:Sports in the Netherlands to Category:Videos of sports in the Netherlands, but got error messages "Uncaught TypeError: cannot read property 'ns' of undefined". I tried to move arround some other videos and I keep getting this error instead of having the files moved to a different category. --Vera (talk) 14:07, 13 November 2017 (UTC)

Seems to be fixed now--Vera (talk) 11:30, 15 November 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 12:54, 20 November 2017 (UTC)

Not working with gadget GalleryDetails

There have been a lot great additions and improvements in these days/weeks (thanks, guys!) but I just noticed that Cat-a-lot stopped working when a category page is displayed with the GalleryDetails gadget. Is this a bug or a feature? -- Tuválkin 20:08, 13 November 2017 (UTC)

@Tuvalkin: Thanks for report, maybe fixed now? -- User: Perhelion 19:53, 14 November 2017 (UTC)
Or what you mean exactly? It is working for me. -- User: Perhelion 01:34, 17 November 2017 (UTC)
  • Yes, it is working properly now, thank you! -- Tuválkin 01:15, 18 November 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 12:54, 20 November 2017 (UTC)

New buttons

Hi, Is there any way to remove the buttons ?, The 2nd image was alot more helpful to me - The buttons mean I have to stop and constantly highlight the mouse over the buttons thus slowing me down quite a lot, I prefered the actual words, Thanks, –Davey2010Talk 22:39, 18 November 2017 (UTC)

@Davey2010: Does #Another issue with new UI help? Jc86035 (talk) 11:39, 19 November 2017 (UTC)
@Davey: What do you mean with "slowing me down quite a lot"? Any improvement proposal would be helpful. -- User: Perhelion 13:07, 19 November 2017 (UTC)
Perhelion - I have to stop and constantly highlight the mouse over the buttons to see what they are before moving, For me the only improvement I can suggest is maybe having some sort of option to disable the buttons (ie revert back to words),
Ah thanks for that Jc86035 I'll take a look, Thanks, –Davey2010Talk 13:22, 19 November 2017 (UTC)
Ah yes my issue is the same as above - When I click the box tho nothing happens, Thanks, –Davey2010Talk 13:24, 19 November 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 10:47, 20 November 2017 (UTC)

Edit comments

Checking the edit comment checkbox, I was prompted for an edit comment, but instead of that edit comment, undefined was used (example).    FDMS  4    11:43, 19 November 2017 (UTC)

  Done Hey FDMS4, thank you,   there was indeed a typo. -- User: Perhelion 12:49, 19 November 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 10:47, 20 November 2017 (UTC)

Navigate to category page

When using cat-a-lot, I would like to be able to easily navigate, in a new tab, to the category page of one of the categories listed in the tree. I'd expect center-click on the mouse to do this, as it does with other wikilinks. This does not currently seem possible. —[AlanM1(talk)]— 03:22, 6 March 2014 (UTC)

@AlanM1:   Done -- User: Perhelion 11:30, 13 December 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 11:44, 13 December 2017 (UTC): fulfilled

Process custom list with cat-a-lot

Cat-a-lot only seems to be available on search and category pages. I generate image lists with Catscan2 that I would like to then process with cat-a-lot. I can put them in a wikitable and save them to a page, but cat-a-lot doesn't appear. What can I add to the page to make this happen? I can probably figure out how to mimic the exact HTML that such pages use and plug my images into it, but I'm hoping there's a less complex way. —[AlanM1(talk)]— 03:27, 6 March 2014 (UTC)

Cat-a-lot isn't able to do that. If you enclose your list in <gallery> tags and save the page in your user namespace, you can process it using VisualFileChange (action custom replace or the like or append text, it's a mass editing tool, not dedicated for categories). -- Rillke(q?) 10:52, 6 March 2014 (UTC)
This section was archived on a request by: -- User: Perhelion 11:43, 13 December 2017 (UTC)

Cat-a-lot for Wikipedia

It seems as if Cat-a-lot is only usable for Wikimedia Commons. However I recently saw a user copy categories using it: w:Special:Contributions/Ser Amantio di Nicolao

So now my question is: how do you use Cat-a-lot for moving article-cats within Wikipedia?
In the case that the code / program is just available to few selected users (because of how easy it is to cause large havoc with it) I think it would be a good idea to add some info about it to this page (especially as the edit-descriptions link here) and think about ways to allow more users to take advantage of it, by either:

  • also programming a "cat-a-lot-vandalism reverter" that easily undoes a (large) cat-a-lot action if that's not possible via other tools. Also some tool that shows all cat-a-lot actions would be useful - probably via a cat-a-lot "tag". Additionally there could be requirements like "autoconfirmed" which would drastically reduce the amount of trolls/vandals misusing the tool.
  • or establishing some "request for copy/move"-system that either:
    • allows users to get a permission (with that I mean a permission by technical means) for the specific action they intend to do (and whose reasonableness they have to explain here) [this would probably require a change to Wikipedia itself]
    • or would be executed by more trusted users who have access to the code/program

But maybe that's not even the reason why I can't use it for Wikipedia?

--Fixuture (talk) 19:09, 15 June 2015 (UTC)

@Fixuture: For the enwiki version, the script is here. Epic Genius (talk) 01:33, 26 June 2015 (UTC)
This section was archived on a request by: -- User: Perhelion 20:35, 24 January 2018 (UTC)

Verify before leaving page

@DieBuche, Rillke: it would be nice if the Gadget could add a beforeunload listener that checks that there are no checked elements. It is far too easy to accidentally click a link and navigate to another page. Something like this (not tested across browsers):

$(window).on("beforeunload", function() {
    if ($(".cat_a_lot_selected")[0]) {
        return confirm("Are you sure you want to leave the page? You have categories/files selected!");
    }
});

Magog the Ogre (talk) (contribs) 22:42, 29 August 2015 (UTC)

Hello Magog the Ogre, this event can have a negative performance effect (known bug, I mean not so old browsers). Anyway I mean this check is not really necessary, as we should not brother users in general (as leaving checked elements are really not tragic and should be user learning). So we can archive your request? Greetings -- User: Perhelion 11:51, 13 December 2017 (UTC)
@Perhelion: Do you have a source for that? No offense but the statement, as I've interpreted it, sounds implausible. Also it's quite annoying after selecting 40 elements to lose one's work and have to start over. Magog the Ogre (talk) (contribs) 02:20, 14 December 2017 (UTC)
@Magog the Ogre: Indeed, it sounds implausible. I heard it this year somewhere (and a similar behavior about window.onload), but I found it not anymore too, only a cache issue on MDN docs  Page-leaving warning on editforms seems standard now, so we/I could indeed bring it on the next version (but only if some was selected). -- User: Perhelion 11:40, 14 December 2017 (UTC)
@Perhelion: sounds good to me! Magog the Ogre (talk) (contribs) 22:01, 14 December 2017 (UTC)
@Magog the Ogre: I found that statement now. -- User: Perhelion 00:21, 15 December 2017 (UTC)
@Perhelion: I don't think this should affect modern browsers, especially people using cat-a-lot installed. Wikimedia already uses a beforeunload here. Magog the Ogre (talk) (contribs) 02:17, 15 December 2017 (UTC)
@Magog the Ogre:   Done ps. happy xmas   -- User: Perhelion 13:39, 24 December 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 20:35, 24 January 2018 (UTC)

'Remove from this category'

The option 'Remove from this category' has disappeared from the options? Can it be restored, please? - MPF (talk) 00:43, 4 December 2017 (UTC)

Hey MPF, it seems a bit redundant now. Can you please be more specific why the existing remove buttons are not sufficient? The link was removed to this requests:[13][14] -- User: Perhelion 17:03, 5 December 2017 (UTC)
@Perhelion: I don't get you - there's nothing saying 'remove' anywhere when I look at Cat-a-lot, those two links don't look like anything I get when I open Cat-a-lot. But 'remove' is very definitely not redundant, it is extremely useful for exactly the example of overcat'ing given. - MPF (talk) 22:56, 5 December 2017 (UTC)
@MPF:There should be on every Cat, left from the move button, a remove button [-] like shown here (on the left site of the image)!? -- User: Perhelion 23:51, 5 December 2017 (UTC)
@Perhelion: - yes, I've got a bar showing there as well as an arrow and a + sign, is that bar 'remove' then? It isn't labelled 'remove' in the way it is in the links 6 & 7 above. - MPF (talk) 01:15, 6 December 2017 (UTC)
Yes it is remove ^^, it is also labeled as remove on mouseover. This 'bar' should be the normal and very common symbol for remove (already used on many tools)!? So it seems you got only pushed out of the familiar environment. If you wan't text-links again, you can find them as 'option' in the settings. -- User: Perhelion 01:26, 6 December 2017 (UTC)
@Perhelion: - Thanks! Yes, "pushed out of the familiar environment" is right - something I'm not very good with :-)) MPF (talk) 18:37, 6 December 2017 (UTC)
Currently I'm unable to remove files from a redirecting category (Category:Ruinas). The name of this cat doesn't appear in the menu, only the target of the redirect does. And since 'Remove from this category' has gone, Cat-a-lot doesn't work here. --Sitacuisses (talk) 18:39, 11 December 2017 (UTC)
@Sitacuisses: Okay, I will add this link again, as there are 2 marginal cases where this link could be useful. But an redirect Cat should normally never be removed only, use the move function and it works (as I moved all to Category:Ruins in Ecuador). -- User: Perhelion 23:06, 11 December 2017 (UTC)
(I guess I'm too impatient.) It still doesn't work in Category:Arqueologia (I hit Strg + F5, but didn't restart the browser). The only category needed here is Category:Ingapirca (I added it to Category:Ruins in Ecuador), the rest is overcategorization. From your point of view it may be marginal cases, but it's something I see very often from new uploaders. --Sitacuisses (talk) 23:52, 11 December 2017 (UTC)
@Sitacuisses:   Done You are right, I added the remove for the origin Cat always. -- User: Perhelion 11:55, 12 December 2017 (UTC)
Btw: I added a new feature (old request), make over-categorization visible (only experienced users? as this needs some Api traffic). -- User: Perhelion 11:33, 13 December 2017 (UTC)
This section was archived on a request by: -- User: Perhelion 20:32, 24 January 2018 (UTC)

Is there a problem with cat-a-lot?

I used it earlier today with no problem, but now its button has disappeared from the bottom of catalog pages. Any ideas how I can get it back please? -- DeFacto (talk). 20:34, 9 February 2018 (UTC)

I have the same prob --Oo91 (talk) 20:50, 9 February 2018 (UTC)

I have the same problem as well. --Edelseider (talk) 20:53, 9 February 2018 (UTC)

Same here. @Perhelion: did your edit today break the tool? Thanks. Mike Peel (talk) 21:29, 9 February 2018 (UTC)

  • It's back again now, since Perhelion undid an edit. Thanks. -- DeFacto (talk). 22:02, 9 February 2018 (UTC)
    • There was a time gap between Perhelion undoing the edit, and the tool starting to work again. So I'm not sure that those changes were the only issue here - maybe something else changed at the same time. Thanks. Mike Peel (talk) 22:14, 9 February 2018 (UTC)
Yes, I can't reproduce or discover the error. But I got also the mystic error message on this version (after pinging me):

(unknown) JavaScript parse error: Parse error: Unexpected token; token 3 expected in file 'MediaWiki:Gadget-Cat-a-lot.js' on line 1452 mw.loader.implement.css

I've nothing big changed, but I parsed the script withe MW eslint.json. Maybe I remove the function importStylesheet. -- User: Perhelion 22:22, 9 February 2018 (UTC)
This section was archived on a request by: -- User: Perhelion 01:23, 10 February 2018 (UTC)

Removal of comment

Cat-a-lot fails to remove the comment <!-- Remove this line once you have added categories --> when a category is being added (example). --Leyo 15:20, 9 February 2018 (UTC)

  Done @Leyo: Thank you! I see a "move" from such "Uncategorized" Cats is not possible. Maybe a better handling of this situation would be useful!? -- User: Perhelion 18:54, 9 February 2018 (UTC)
Thank you. It looks fine to me. --Leyo 23:50, 10 February 2018 (UTC)
This section was archived on a request by: -- User: Perhelion 22:48, 17 February 2018 (UTC)

How to translate Cat-a-lot into Vietnamese?

How to translate Cat-a-lot into Vietnamese? I don't have access to create page. Phjtieudoc (talk) 13:30, 12 May 2018 (UTC)

Hello Phjtieudoc, here is an advice I was given a few years ago: take MediaWiki:Gadget-Cat-a-lot.js/translating as a template and paste the translated result here together with an {{Edit request}} for the page MediaWiki:Gadget-Cat-a-lot.js/vi. --Djiboun (talk) 18:03, 21 May 2018 (UTC)
Hello @Djiboun:: I have made an edit request at Gadget-Cat-a-lot.js/vi

I saved my file at my local page at vi:Thành_viên:Phjtieudoc/Gadget-Cat-a-lot.js, please add it to MediaWiki:Gadget-Cat-a-lot.js/vi. Regards! Phjtieudoc (talk) 09:09, 2 July 2018 (UTC)

This section was archived on a request by: -- User: Perhelion 11:17, 2 July 2018 (UTC): thank you

New categories don't show up

 
Example of endless Loading... message for Cat-a-lot discussion

If I create a new category, and try to apply it to an image in a Category page using cat-a-lot, when I type the first couple of letters to bring up the drop-down list, the new category does not appear. I assume this is some kind of caching issue, and the new categories eventually will appear?

If I continue to type the complete category name and press  Enter, it just says Loading... forever, and never displays the "tree" with the Copy/Move links. It seems to only do this for categories that are not, themselves, a member of any category. For example, Category:Sandbox3 is in Category:Sandbox4, which is in Category:Sandbox5, which is in no category. Sandbox3 or Sandbox4, when typed in the text field, immediately return the tree after pressing  Enter. With Sandbox5, though, it just says Loading...

Workaround: I just realized that, if you press  Enter twice in succession, it solves the problem, so I suppose that's a workaround that we can document if this behavior remains. —[AlanM1(talk)]— 01:57, 7 March 2014 (UTC)

The current version allows moving pages to a non-existent category, so I think this problem is resolved or obsolete.--Roy17 (talk) 17:34, 17 June 2019 (UTC)
  This section is resolved and can be archived. If you disagree, replace this template with your comment. Roy17 (talk) 17:34, 17 June 2019 (UTC)

I can not turn on the gadget on category page

Hello, since 22:46, 6 February 2019 my Cat-a-lot gadget is not running. The little post-it-note labeled "cat-a-lot" in the lower-right corner is still showing, but clicking it does nothing (no box is shown, nothing happens). I have been using Cat-a-lot for months and I have never experienced such a bug. Does anybody know what is happening? Is the problem on my side or is it a known bug? Thanks.--Montesita (talk) 06:25, 7 February 2019 (UTC)

Same here. I heard some rumours that a MediaWiki update by WMF could be the source of the problem. @Raymond: knows a lot about all these backgrounds, maybe he can help here? Best, —DerHexer (Talk) 10:10, 7 February 2019 (UTC)

Same issue here, since 6th February, 23:30. Using Brave and Safari. --Ruthven (msg) 10:41, 7 February 2019 (UTC)
MeToo, but arn't we replacing categories by SD? :;-) --Herzi Pinki (talk) 12:19, 7 February 2019 (UTC)
have the same issue. --Derzno (talk) 12:22, 7 February 2019 (UTC)
Did anyone follow mw:How to report a bug yet?   — Jeff G. please ping or talk to me 13:00, 7 February 2019 (UTC)
Nobody --Zhuyifei1999 (talk) 16:25, 7 February 2019 (UTC)
It just sits there and looks at me funny. Pinging @Perhelion   — Jeff G. please ping or talk to me 13:06, 7 February 2019 (UTC)

The error is Error: "Unknown dependency: mediawiki.api.messages" I'm checking what is going on. --Zhuyifei1999 (talk) 16:25, 7 February 2019 (UTC)

  Fixed --Zhuyifei1999 (talk) 16:31, 7 February 2019 (UTC)
@Zhuyifei1999: It opens again for me, thanks! Pinging @Montesita, Retired electrician, MB-one, Gbawden @Raymond, DerHexer, Ruthven, Herzi Pinki, Derzno.   — Jeff G. please ping or talk to me 16:43, 7 February 2019 (UTC)
@Zhuyifei1999: Now it works again, thanks!--Montesita (talk) 20:46, 7 February 2019 (UTC)
  This section is resolved and can be archived. If you disagree, replace this template with your comment. Roy17 (talk) 17:34, 17 June 2019 (UTC)

Not workin

When I try to make an edit it processes and it shows on the page "removed from category" but none of the changes are made. They are not in the history or my contributions. Shofet tsaddiq (talk) 00:26, 15 February 2019 (UTC)

@Shofet tsaddiq: It appears to have worked for me.   — Jeff G. please ping or talk to me 03:01, 15 February 2019 (UTC)
  This section is resolved and can be archived. If you disagree, replace this template with your comment. Roy17 (talk) 17:34, 17 June 2019 (UTC)

Remove Category

Where is this feature? It was maybe the most important, to be able to cope with the "tag" crap instead of proper categories from FlickR and such. --Anvilaquarius (talk) 10:07, 7 April 2019 (UTC)

@Anvilaquarius: Please search the documentation at Help:Gadget-Cat-a-lot for "Remove (Delete)(-)".   — Jeff G. please ping or talk to me 12:12, 7 April 2019 (UTC)
Thanks. I didn't find that. Wasn't there a "remove category" text link before? Well, thanks anyway. --Anvilaquarius (talk) 13:50, 8 April 2019 (UTC)
@Anvilaquarius: You're welcome.   — Jeff G. please ping or talk to me 14:06, 8 April 2019 (UTC)
@Anvilaquarius: there was, but it referred only to the current page, not the cat named in the panel—as I discovered the hard way … Now there’s a removal link for each cat shown in the panel.—Odysseus1479 (talk) 19:34, 8 April 2019 (UTC)
  This section is resolved and can be archived. If you disagree, replace this template with your comment. Roy17 (talk) 17:34, 17 June 2019 (UTC)

Cat-a-lot box won't close

After expanding the cat-a-lot box in the lower right-hand corner by clicking on it, I'm not able to shrink it again. It stays expanded in both my browsers even though I only opened it in one.

Thank you for any advice you can offer. Vzeebjtf (talk) 17:02, 8 April 2019 (UTC)

I figured it out -- it's the "x" in the lower left-hand corner! Vzeebjtf (talk) 21:11, 8 April 2019 (UTC)
  This section is resolved and can be archived. If you disagree, replace this template with your comment. Roy17 (talk) 17:34, 17 June 2019 (UTC)
Return to "Gadget-Cat-a-lot.js/Archive 2" page.