Help:Magic links/be-tarask

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Help:Magic links and the translation is 0% complete.

Other languages:
English • ‎polski • ‎беларуская (тарашкевіца)‎ • ‎українська • ‎עברית • ‎日本語

Magic links are a feature of MediaWiki core that create automatic links for three hardcoded external identifiers. As of MediaWiki 1.28, this feature is disabled by default but may be enabled using the $wgEnableMagicLinks configuration parameter.

Examples:

ISBN is hardcoded to link to Special:Booksources, while the URLs for PMID and RFC can be changed by editing the system messages pubmedurl and rfcurl, respectively.

Alternatives

Because magic links are hardcoded and inflexible, you can also use more straightforward interwiki or links:

Creating local templates similar to Wikipedia's w:Template:ISBN, w:Template:IETF RFC, and w:Template:PMID or Wikiversity's v:Template:ISBN, v:Template:RFC, and v:Template:PMID may be useful.

See also