Extension:RelMicroformat
![]() Release status: betaCategory:Beta status extensions |
|
---|---|
Description | Allows usage of the rel microformat |
Author(s) | Kunal Mehta (Legoktmtalk) |
MediaWiki | 1.35Category:Extensions with manual MediaWiki version |
License | GNU General Public License 3.0 or later |
Download | Category:Extensions in Wikimedia version control |
$wgRelMicroformatUrls |
|
Quarterly downloads | 0 |
Translate the RelMicroformat extension if it is available at translatewiki.net |
The RelMicroformat extension allows usage of the rel
microformat. URLs must be hardcoded in LocalSettings.php for now, and only applies to links in the sidebar.
Installation
- Download and move the extracted
RelMicroformat
folder to yourextensions/
directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/RelMicroformat - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'RelMicroformat' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration parameters
- $wgRelMicroformatUrls
- An array of URLs to the wanted
rel
value. For example to setrel="me"
on a link to your Mastodon profile:
$wgRelMicroformatUrls = [
'https://mastodon.host/@username' => 'me',
];
See also
- Extension:RealMe - allow individual users to verify their own profiles
- Extension:LinkAttributes - allows setting any arbitrary attribute on a link at the cost of more complicated/advanced syntax
- Extension:Link Attributes - allows setting any arbitrary attribute on a link at the cost of more complicated/advanced syntax
Category:All extensions
Category:Beta status extensions
Category:Extensions in Wikimedia version control
Category:Extensions with invalid or missing type
Category:Extensions with manual MediaWiki version
Category:Extensions without a compatibility policy
Category:Extensions without an image
Category:GPL licensed extensions
Category:SkinBuildSidebar extensions