Wiki: install extension LinkAttributes for rel="me" support

Add LinkAttributes Extension

This extension:

  • adds optional rel="me" attribute to editor-specified external links.
  • allows members of Community Working Group (etc.) to pass Verification on Mastodon.
  1. clone
cd /var/lib/mediawiki/extensions
git clone https://github.com/stanolacko/LinkAttributes.git
  1. add line to LocalSettings.php:
require_once "$IP/extensions/LinkAttributes/LinkAttributes.php";
  1. verify LinkAttributes in extensions list: https://wiki.social.coop/wiki/Special:Version

  2. add rel="me" to any link using this syntax:

[http://social.coop/@cwg_member CWG Member Profile|rel=me]

Requirements

  • MediaWiki 1.19 or higher

References

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information