MediaWiki Extension JSBreadCrumbs

From NovaOrdis Knowledge Base
Revision as of 04:55, 1 January 2024 by Ovidiu (talk | contribs) (→‎Configuration)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

External

Internal

Installation

Follow https://www.mediawiki.org/wiki/Extension:JSBreadCrumbs instructions.

Untar.

Add to the bottom of LocalSettings.php:

wfLoadExtension( 'JSBreadCrumbs' );

Configuration

To change "Last x Pages Viewed" update JSBreadCrumbs/i18n/en.json.

To change he separator ("»"), update JSBreadCrumbs/i18n/en.json or LocalSettings.php $wgJSBreadCrumbsHorizontalSeparator

To change the gray background and border: TODO

To change the number of breadcrumbs:

$wgDefaultUserOptions['jsbreadcrumbs-numberofcrumbs'] = 6;