User:PrimeHunter/Category source.js: Difference between revisions

Content deleted Content added
encode special characters in category name, reuse url
add link brackets to Special:MyPage/common.js so it renders as a link
 
Line 3:
"Source-added" searches category members which were added with category code in the source.
"Template-added" shows all category members not found by "Source-added".
To use the script, add the following line to [[Special:MyPage/common.js]]:
importScript('User:PrimeHunter/Category source.js'); // Linkback: [[User:PrimeHunter/Category source.js]]