Extension:BreadCrumbsBar

The BreadCrumbsBar extension provides a real navigation bar like the extensions listed in the last paragraph of this page. These extensions use global $wgUser;.. so that if you set $wgGroupPermissions['*']['read'] = false; or others, then anonymous user has not got navigation bar even if there is $wgWhitelistRead.

Moreover, more wiki site have got a complex categories tree and each pages have got more categories. In this case, how does extension decide navigation bar? I resolved this question to thinking that there are some categories more important in comparison to others. These categories could link an category root added into $wgBreadCrumbsBarRoot. You can also see the navigation bar in the category pages or others namespace pages (see $wgBreadCrumbsBarNamespace).

I have got public pages and private pages (two categories 'root') and I create redirect pages about all public categories pages.. so that I need to decide if I want navigation bar into special page (see $wgBreadCrumbsBarTitle), if I want namespace into link and/or label about each category (see $wgBreadCrumbsBarLink and $wgBreadCrumbsBarLabel) and what it is my first link (see $wgBreadCrumbsBarHome).

Settings
In LocalSettings.php add the following code:

In Monobook.php change lines:  to: data['articleid']); echo $BreadCrumbsBar->displayBar($Title); ?> 

If you use ltrMenuPlus skin, then change lines:  to: data['articleid']); echo $BreadCrumbsBar->displayBar($Title); ?> 

Code

 * BreadCrumbsBar.php