MediaWiki Extension JSBreadCrumbs: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 19: Line 19:
=Configuration=
=Configuration=


To change "Last x Pages Viewed" and the separator ("»"), update <code>JSBreadCrumbs/i18n/en.json</code>.
To change "Last x Pages Viewed" update <code>JSBreadCrumbs/i18n/en.json</code>.
 
To change he separator ("»"), update <code>JSBreadCrumbs/i18n/en.json</code> or <code>LocalSettings.php</code> <code>$wgJSBreadCrumbsHorizontalSeparator</code>


To change the gray background and border:
To change the gray background and border:

Revision as of 04:49, 1 January 2024

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: