mediawiki/alink

Creates custom anchor links

Installs: 152

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 0

Open Issues: 0

Type:mediawiki-extension

0.2.0 2017-11-14 16:06 UTC

This package is auto-updated.

Last update: 2024-10-15 02:57:54 UTC


README

Extension for printing customizable anchor links in MediaWiki.

Examples:

{{#alink:href=https://www.mediawiki.org|target=_blank|rel=nofollow|MediaWiki}}

if no http in href, we consider wiki pages. Link text is the parameter without any '='.

{{#alink:href=Example_page|target=_blank|Example page for wiki}}

If we want to avoid urlencoding, we sample add as parameter nourlencode

{{#alink:href=Special:FormEdit/Myform/Mypage?MyTemplate[Myparam]=Acción|nourlencode|Trigger action}}

If we want that automatically a wiki page is shown without prefix (namespace), we use noprefix parameter

{{#alink:href=User:John_Smith|noprefix}}

To consider

  • Render wiki links in wikitext format. Only importance is about incoming/outcoming links storage in MW database