Meryam Sahin (talk | contribs) No edit summary |
Meryam Sahin (talk | contribs) No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<status color="green" light="true">done</status> <br> | |||
{{DISPLAYTITLE:Organize pages with subpages}} | {{DISPLAYTITLE:Organize pages with subpages}} | ||
Pages can be organized hierarchically by creating subpages. A subpage is a page whose name is connected to another page with a slash (<code>/</code>). This creates a parent-child relationship between the pages and provides additional navigation context. | Pages can be organized hierarchically by creating subpages. A subpage is a page whose name is connected to another page with a slash (<code>/</code>). This creates a parent-child relationship between the pages and provides additional navigation context. | ||
| Line 16: | Line 17: | ||
A relatively flat page hierarchy is recommended. Deeply nested structures can make content harder to navigate and maintain, even though MediaWiki technically allows multiple levels of subpages. The practical technical limit is the maximum length of the page URL, which is 255 characters. | A relatively flat page hierarchy is recommended. Deeply nested structures can make content harder to navigate and maintain, even though MediaWiki technically allows multiple levels of subpages. The practical technical limit is the maximum length of the page URL, which is 255 characters. | ||
== Create a subpage == | == Create a subpage == | ||
<excerpt-include page="Create pages" showpanel="false" excerpt="subpage" /> | |||
== Subpage hierarchy == | == Subpage hierarchy == | ||
A subpage retains the name of its parent page as part of its full page name. The hierarchy is therefore part of the page name itself. <br> | A subpage retains the name of its parent page as part of its full page name. The hierarchy is therefore part of the page name itself. <br> | ||
Latest revision as of 14:10, 26 August 2026
done
Pages can be organized hierarchically by creating subpages. A subpage is a page whose name is connected to another page with a slash (/). This creates a parent-child relationship between the pages and provides additional navigation context.
Pages and namespaces
Every page in a wiki belongs to a namespace. The Main namespace is used when no other namespace is specified. Other namespaces provide predefined contexts for specific types of content.
Namespaces and subpages serve different purposes:
- A namespace defines the context in which a page is stored, for example, Minutes or Controlled Document.
- A subpage creates a hierarchical relationship between pages within a namespace.
Users normally do not need to select or configure namespaces manually. When specific functionality is available for a particular type of content, the corresponding entry point or creation option automatically provides the appropriate context.
For example, the Minutes overview automatically places a page created as part of a meeting in the appropriate namespace and page hierarchy.
When to use subpages
Subpages are useful when several pages belong together and their relationship should be visible in the page structure.
Typical examples include:
- Large topics: Divide a large topic into several focused pages while keeping them connected through a common parent page.
- Content sections: Organize related information into a hierarchy, such as an employee handbook with separate pages for working hours, benefits, and workplace guidelines.
- Detailed information: Separate detailed information from a general overview while maintaining the relationship between the pages.
A relatively flat page hierarchy is recommended. Deeply nested structures can make content harder to navigate and maintain, even though MediaWiki technically allows multiple levels of subpages. The practical technical limit is the maximum length of the page URL, which is 255 characters.
Create a subpage
There are several ways to create a subpage. One option is to use the New content button next to the page title in the main navigation.
Create a subpage from the New content menuCreate a subpage from the New content menu
To create a subpage from an existing page:
- Select the New content button next to the page title in the main navigation.
- Select New subpage.
The subpage is created under the current page. For example, a subpage called Tables under the page VisualEditor is displayed as VisualEditor/Tables.
The page hierarchy is shown in the breadcrumb navigation at the top of the page.
/) separates the parent page from the subpage. Do not use the slash as a regular character in a page title. For example, When/how to take a vacation creates a main page called When with a subpage called how to take a vacation, rather than a page with the title When/how to take a vacation.Subpage hierarchy
A subpage retains the name of its parent page as part of its full page name. The hierarchy is therefore part of the page name itself.
For example:
Installation guide/System preparation/Windows
The page Windows is associated with Installation guide/System preparation through the page name. The hierarchy is also shown in the breadcrumb navigation.
There is no separate hierarchy level that needs to be created or configured. The hierarchy results from the page names.
Display subpages
Subpages can be displayed as a list on a page. This can be useful for creating navigation pages or overviews of the content below a parent page.
The available functionality for displaying page lists depends on the Galaxy version and configuration. For information about the current options for displaying page lists, see Display page lists.
Subpages and other ways of organizing content
Subpages and categories serve different purposes:
- Subpages organize related pages into a hierarchy.
- Categories classify pages by shared characteristics or topics.
A page can therefore be part of a subpage hierarchy and belong to one or more categories at the same time. See Classify pages with categories for information about categories.