Extension:RDFa Breadcrumbs
From Linux Web Expert
RDFaBreadcrumbs Release status: stable |
|
---|---|
Implementation | User interface, Parser function |
Description | Allows users to include breadcrumbs on pages which will get RDFa markup |
Author(s) | Hendrik Brummermanntalk |
MediaWiki | |
Database changes | No |
License | Creative Commons Attribution 3.0 |
Download | https://sourceforge.net/p/nikitools/RDFaBreadcrumbs |
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
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:
Main Page > Extensions > RDFa Breadcrumbs
In addition it will include RDFa markup so that Google will recognize it as Breadcrumb.
Installation
- <translate> <tvar name=1>Glone the Git Repository https://sourceforge.net/p/nikitools/RDFaBreadcrumbs/</tvar> and place the file(s) in a directory called <tvar name=name>
RDFaBreadcrumbs
</tvar> in your <tvar name=ext>extensions/
</tvar> folder.</translate> - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
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;
}
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
Categories:
- Pages with script errors
- Pages with broken file links
- Stable extensions
- Extensions without an image
- User interface extensions
- Parser function extensions
- Extensions without a compatibility policy
- Extensions without MediaWiki version
- Creative Commons licensed extensions
- ParserFirstCallInit extensions
- All extensions
- Extensions not in ExtensionJson
- Link extensions
- Breadcrumbs extensions