Extension:RelMicroformat

Category:Extensions without an imageCategory:Extensions with invalid or missing typeCategory:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
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
Category:All extensions

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 your extensions/ 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' );
    
  • Yes 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 set rel="me" on a link to your Mastodon profile:
$wgRelMicroformatUrls = [
	'https://mastodon.host/@username' => 'me',
];

See also

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