Extension:CategoryBreadcrumb

What can this extension do?
see http://www.leerwiki.nl/How_to_create_breadcrumb_with_Mediawiki

Two simple steps

 'Category Breadcrumb 24-07-2007', 'author' => 'Boudewijn Vahrmeijer', 'url' => 'http://www.leerwiki.nl/Hoofdpagina', 'version' => '1.11,1.10.1/1.9.3/1.9.2/1.8.2', 'description' => 'Category Breadcrumb for MediaWiki DMOZ style', );

$wgUseCategoryBrowser = true;

// hook into Skintemplate.php $wgHooks['SkinTemplateOutputPageBeforeExec'][] = array("wfBreadCrumbsDisplay");

function wfBreadCrumbsDisplay(&$q,&$p) { global $wgOut,$wgArticle,$pathToRating; if ($wgArticle == null) return $out; if ($wgArticle->getTitle->mNamespace != 0) return $out;

// get category tree $tree=explode(' ',$q->getCategories);

// kill the ugly category box below the page $p->set( 'catlinks', ''); // set tree on top of text and register into $tpl $combine=$tree[1].$wgOut->mBodytext; $p->setRef( 'bodytext', $combine );

return true;

}

?>

require_once("extensions/CategoryBreadCrumbs.php");
 * Second and final step: put insite Localsettings.php


 * Now you have your category breadcrumb ready.