User:1Veertje/Tips/CatPerson

Buttons to pre-fill the category being created

When creating a category, you are presented with buttons to that contain elements commonly used for the categories about people, ships and museums. This script improves the button for "People" by attempting to fill the DEFAULTSORT template with the switched around name of the category.

To install, add the below script to your common.js.

//Person category creation script///////////////////////////////////////
//<nowiki>
importScript('User:1Veertje/Tips/CatPerson.js');
//</nowiki>
//End Person category creation script///////////////////////////////////////