Extension:RDFa Breadcrumbs
![]() Release status: stableCategory:Stable extensions |
|
---|---|
Implementation | User interfaceCategory:User interface extensions, Parser functionCategory:Parser function extensions |
Description | Allows users to include breadcrumbs on pages which will get RDFa markup |
Author(s) | Hendrik Brummermanntalk |
MediaWiki | Category:Extensions without MediaWiki version |
Database changes | No |
License | Creative Commons Attribution 3.0 |
Download | https://sourceforge.net/p/nikitools/RDFaBreadcrumbs |
The RDFa Breadcrumbs extension allows users to include breadcrumbs on pages which will get RDFa markup. It does not depend on categories but allows the definition on the individual pages.
Usage
{{#breadcrumbs: [[Main Page]] | {{ll|Manual:Extensions|Extensions}} | [[Extension:RDFa Breadcrumbs|RDFa Breadcrumbs]] | ... }}
This will look like this:
In addition it will include RDFa markup so that Google will recognize it as Breadcrumb.
Installation
- Glone the Git Repository https://sourceforge.net/p/nikitools/RDFaBreadcrumbs/ and place the file(s) in a directory called
RDFaBreadcrumbs
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'RDFaBreadcrumbs' );
- Edit [[MediaWiki:common.css]] and add the following section at the end:
.breadcrumbs {
clear: both;
border:1px solid #AAAAAA;
background-color:#F9F9F9;
padding:5px;
}
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed. Category:Link extensions Category:Breadcrumbs extensions Category:Extensions in SourceForge version control
Category:All extensions
Category:Breadcrumbs extensions
Category:Creative Commons licensed extensions
Category:Extensions in SourceForge version control
Category:Extensions not in ExtensionJson
Category:Extensions without MediaWiki version
Category:Extensions without a compatibility policy
Category:Extensions without an image
Category:Link extensions
Category:ParserFirstCallInit extensions
Category:Parser function extensions
Category:Stable extensions
Category:User interface extensions