Description | Lists recent category additions/removals on a category page |
---|---|
Updated | September 11, 2023 (10 months ago) |
Browser support | Chrome, Firefox, etc. ( ES2017+ needed) |
Source |
You can track additions and removals of a category by adding it to your watchlist, but categories with heavy traffic can often inundate the watchlist to the point of uselessness. With this script, you can see a list of recent additions and removals of a category on the category page itself, whether it's in your watchlist or not.
Clicking Search on a category page will show you something like this (taken from Category:Articles with missing files):
± | Date | Page | User | Bot |
---|---|---|---|---|
− | 2020-10-12T15:23:18Z ( diff | hist) | Chess symbols in Unicode | CommonsDelinker ( talk | contribs) | Yes |
− | 2020-10-12T15:10:28Z ( diff | hist) | Seth Curry | LuK3 ( talk | contribs) | No |
+ | 2020-10-12T15:10:13Z ( diff | hist) | Seth Curry | 52.144.111.240 ( talk) | No |
Add the following to your common.js or global.js:
mw.loader.load('//en.wikipedia.org/?title=User:Nardog/CatChangesViewer.js&action=raw&ctype=text/javascript');
Or you may enable the script installer in Preferences → Gadgets and click "Install" in the infobox on this page.
If "Duplicates" is checked, only the most recent change on each page will appear (takes precedence over the other checkboxes).
The default number of changes to retrieve at a time, 50 by default (max: 500), and the number of lines per page, 20 by default, can be modified by adding lines like below to your common.js or global.js (this example doubles the numbers):
window.catchangesviewerDefaultLimit = 100;
window.catchangesviewerChangesPerPage = 40;
Description | Lists recent category additions/removals on a category page |
---|---|
Updated | September 11, 2023 (10 months ago) |
Browser support | Chrome, Firefox, etc. ( ES2017+ needed) |
Source |
You can track additions and removals of a category by adding it to your watchlist, but categories with heavy traffic can often inundate the watchlist to the point of uselessness. With this script, you can see a list of recent additions and removals of a category on the category page itself, whether it's in your watchlist or not.
Clicking Search on a category page will show you something like this (taken from Category:Articles with missing files):
± | Date | Page | User | Bot |
---|---|---|---|---|
− | 2020-10-12T15:23:18Z ( diff | hist) | Chess symbols in Unicode | CommonsDelinker ( talk | contribs) | Yes |
− | 2020-10-12T15:10:28Z ( diff | hist) | Seth Curry | LuK3 ( talk | contribs) | No |
+ | 2020-10-12T15:10:13Z ( diff | hist) | Seth Curry | 52.144.111.240 ( talk) | No |
Add the following to your common.js or global.js:
mw.loader.load('//en.wikipedia.org/?title=User:Nardog/CatChangesViewer.js&action=raw&ctype=text/javascript');
Or you may enable the script installer in Preferences → Gadgets and click "Install" in the infobox on this page.
If "Duplicates" is checked, only the most recent change on each page will appear (takes precedence over the other checkboxes).
The default number of changes to retrieve at a time, 50 by default (max: 500), and the number of lines per page, 20 by default, can be modified by adding lines like below to your common.js or global.js (this example doubles the numbers):
window.catchangesviewerDefaultLimit = 100;
window.catchangesviewerChangesPerPage = 40;