Last edited 2 years ago
by WikiSysop

Navigation menus: Difference between revisions

(Changed categories.)
(Changed categories.)
 
Line 38: Line 38:
Both the Main navigation and the Custom menu can updated in source edit mode.
Both the Main navigation and the Custom menu can updated in source edit mode.
[[Category:Administration]]
[[Category:Administration]]
[[Category:Feature]]

Latest revision as of 11:34, 30 September 2022

Menus provide the basic navigation structure of the wiki.

Available menus

The knowledge base has different navigation menus:

  • Main navigation menu: This menu is shown in the left panel in desktop mode. It can also contain a book navigation.
  • Global actions menu: This menu links to special pages in the knowledge base and is not editable.
  • Custom menu: This menu is opened as a panel on the right sight. It is optional and only exists after an administrator creates it.
  • Personal menu: This menu can be customized by each user individually.

Changing the main navigation

By default, some standard links are provided as entry points to the knowledge base. Administrators can deactivate these links in the configuration manager if needed. In addition, administrators can add new links to this navigation bar. Only one level of links can be created.

Entry points (1) and custom links (2) in the main navigation
Entry points (1) and custom links (2) in the main navigation

To change the main navigation:

  1. Hover over the last link in the main navigation. The link Edit sidebar becomes visible (3).
  2. Click Edit sidebar. The sidebar page opens.
  3. Click the +-icon to add a menu header.
  4. Click Done.
    Adding a menu header
  5. Click the drop-down arrow next to the new menu header.
  6. Click new subitem.
    Adding a menu item
    Adding a menu item
  7. Add a link to an article (link target).
  8. Add the label for the link.
    Adding a link
    Adding a link
  9. Click Done.
  10. Click Save changes.

Adding a Custom menu

To add a custom menu:

  1. Click New article.
  2. Create the page MediaWiki:CustomMenu/Header.
  3. Open the page in edit mode.
    Edit menu
  4. Add the menu headers and items as described for Changing the main navigation.

Next to the user menu, you now see the new custom menu. When you delete this page, the menu icon disappears.

Custom menu

Adding links in Wikitext

Both the Main navigation and the Custom menu can updated in source edit mode.