User:The Transhumanist/CopyCats.js

// CopyCats.js

/*This script is for portals. It copies the categories from the corresponding root article to the current portal.

It copies only subject categories.

It doesn't copy categories that are already there.