Navigation

From Tweeki
Jump to: navigation, search

Navigational Sections

You can change the content of these via system messages and control the visibility via the {{#tweekihide:}} parser function and configuration options.


navbar
sidebar subnav
main content
(including firstHeading)
footer


navbar

The main navigation on the top of the page. In this demo installation it is hidden for anonymous users. It can scroll with the page or it can be fixed and always visible (configure it via MediaWiki:Tweeki-navbar-class).

It consists of three parts whose contents can be changed via system messages: navbar-brand, navbar-left, and navbar-right

subnav

The subnavigation, using Bootstrap's .nav classes.

Pills

Tabs

sidebar

The sidebar typically contains the edit button and the table of contents.

firstHeading

This element's content can not be changed directly but it can be hidden on certain pages or for certain users.

footer

Fully customizable.

Navigational Elements

Use these elements to define content for the navigational sections above.

EDIT

A simple "Edit" button for the current page

EDIT-EXT

A split dropdown with "Edit Page" and the other ACTIONS in the dropdown menu

TALK

A link to the talk page or the main page if you already are on the talk page.

TOOLBOX

The tools: page information, special pages, upload file, related changes, ...

VIEWS

MediaWiki standard views: read, edit, history.

ACTIONS

MediaWiki standard actions like purge, watch, move, delete.

PERSONAL

A link to the log in form for anonymous users, a dropdown with the personal tools if already logged in.

PERSONAL

Same as PERSONAL but using LOGIN-EXT's dropdown.

LOGIN

A link to the log in form for anonymous users, empty if already logged in.

LOGIN-EXT

A dropdown to allow logging in while staying on the same page.

SIDEBAR

The original content of the sidebar for Mediawiki's standard skins as defined in Mediawiki:Sidebar.

LANGUAGES

Select different languages if your wiki supports it.

SEARCH

The standard search box including autocomplete.

FIRSTHEADING

You can place the first heading in any navigational section. Note that you can control the visibility of this element with FIRSTHEADING and the original heading in the content with firstHeading, i.e. it is case sensitive.

TOC

Table of contents, if placed in the sidebar it makes use of Bootstrap's scrollspy feature.

the Logo as set via $wgLogo in LocalSettings.php. Use #p-logo to adapt the styling.