Rosetta Code:Village Pump/How to add a subcategory when editing a page

How to add a subcategory when editing a page
This is a particular discussion thread among many which consider Rosetta Code.


How do I add the Subcategory "Assembler (360-z/OS)" under the already existing Category "Assembly"?


Recently created the Category "Assembler (360-z/OS)" for IBM Mainframe Assembly Language, from System/360 to z/OS. Then I learned there was already an "Assembly" category, with subcategories for various Assembly Languages. It seems like my new Category should also be a subcategory of "Assembly" but when I edit the "Assembly" category, I see no subcategories to add mine to. I would like to know how to add my new category as a subcategory of "Assembly".

I also now realize it might have been better to have separate categories for the various IBM Assembly languages than a single category for all. Being "upward compatible", they are largely the same, but there are subtle differences, the biggest being those between VSE and MVS regarding the operating system interface. Would it be better to create those categories now (with considerable redundancy!) or wait until the best structure becomes more apparent?

Subcategories actually have pretty much nothing to do with their parent categories except their names. I'll use an example. Say we have a category called Category:Parent category. To make a "subcategory" you just have to add a slash to the name and then add the subcategory's name like this: Category:Parent category/Subcategory. The wiki recognizes that these two pages are related because their names start with the same text (the text up to the slash) and it should put a link to the parent category on the subcategory's page (I think we have that option enabled). Other than that these are treated as totally separate categories until we link them somehow through other wiki-means. --Mwn3d 20:18, 21 October 2012 (UTC)
Formally, a subcategory is a category that is a member of the parent category, i.e., that has a link to the parent category done with [[Category:Parent]] and not [[:Category:Parent]] (the colon is significant). –Donal Fellows 21:44, 21 October 2012 (UTC)