Last edited 2 years ago
by WikiSysop

2 Category manager

No edit summary
Tag: 2017 source edit
(Changed categories.)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<bookshelf src="Book:Administration" />
The category manager makes it easier to create and manage a hierarchical category system in the wiki.
The category manager makes it easier to create and manage a hierarchical category system in the wiki.


==Where can I find the category manager?==
==Where can I find the category manager?==
The menu item {{Icon|bi bi-gear-fill||blue|}}''Global actions > Management > Categories'' loads the page ''Special:Category manager''.
The menu item {{Global actions}}''Global actions > Management > Categories'' loads the Category manager.
==Create a category==
==Create a category==


Line 43: Line 44:
</syntaxhighlight>
</syntaxhighlight>
# '''List''' the parent category (if you want to assign one) in the ''Free text'' column, using the correct syntax to include a category in the source code of the page.<syntaxhighlight lang="text">
# '''List''' the parent category (if you want to assign one) in the ''Free text'' column, using the correct syntax to include a category in the source code of the page.<syntaxhighlight lang="text">
[[Category:Marketing]]
 
</syntaxhighlight>[[File:Category import.png|alt=category import file|none|thumb|350x350px|category import file]]
</syntaxhighlight>[[File:Category import.png|alt=category import file|none|thumb|350x350px|category import file]]
# '''Import''' the ''xlsx'' spreadsheet from the page ''Special:ImportSpreadsheet.''  The message that the pages are imported might not disappear. Simply check after some time in the Category manager, if the pages have been added.
# '''Import''' the ''xlsx'' spreadsheet from the page ''Special:ImportSpreadsheet.''  The message that the pages are imported might not disappear. Simply check after some time in the Category manager, if the pages have been added.


[[Category:Administration]]
[[Category:Administration]]
[[Category:Feature]]

Latest revision as of 11:33, 30 September 2022

The category manager makes it easier to create and manage a hierarchical category system in the wiki.

2.1 Where can I find the category manager?

The menu item Global actions > Management > Categories loads the Category manager.

2.2 Create a category

To create a category:

  1. Select the category under which you want to create the new category. If you don't want to create a subcategory, start with the next step.
  2. Click the "plus" button.
  3. Enter the desired category name.
  4. Click Okay.
    Create a category
    Create a category

2.3 Actions

The following actions are available for a category:

(1) Delete category: The category page is deleted. The category is also deleted from all pages that contain this category. This creates a new version of the affected pages.

(2) View category page: The category page opnes in a new browser tab. If this category is a "wanted category" (i.e., a category that is already used on a page but has not yet been created in the wiki), the page can then be created.

(3) Rename category: The category is also renamed on all pages that contain this category. This creates a new version of the affected pages.

Actions icons for a category
Actions

2.4 Create a subcategory

The subcategory structure can be changed by dragging and dropping categories in the list with the mouse directly on top of another category (rather than between two categories). To move a subcategory outside the parent, wait for a dotted line to appear.

If there are too many categories and dragging-and-dropping no longer works, the category pages have to be manually edited to assign them a parent category.

To manually assign a parent category to a category:

  1. Click on the eye-icon in the Actions menu of the category manager. Alternatively, search for the category page (e.g.,Category:Marketing) in the title search.
  2. Add the parent category to the page (e.g., Department).

The category Department is now the parent category of the category Marketing.

2.5 Importing categories

If you have a lot of categories, an administrator can add them to a spreadsheet and import the spreadsheet.

Warning!There is no mass-undo functionality to importing pages.

To import categories:

  1. Create an xlsx-Spreadsheet with two columns: Title, Free text
  2. List the category pages you want to create in the Title column.
    Category:Marketing
    
  3. List the parent category (if you want to assign one) in the Free text column, using the correct syntax to include a category in the source code of the page.
    category import file
    category import file
  4. Import the xlsx spreadsheet from the page Special:ImportSpreadsheet. The message that the pages are imported might not disappear. Simply check after some time in the Category manager, if the pages have been added.