Extension:MagnetLinks

From mediawiki.org
MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
MagnetLinks
Release status: unmaintained
Implementation Tag
Description Allows creation of links to magnet URI
Author(s) Jmkim dot com
Latest version 0.2 (2015-09-04)
MediaWiki 1.16+
License GNU General Public License 3.0
Download
Example zetawiki.com

Check usage and version matrix.

The MagnetLinks extension allows to render links to magnet URI.

Installation[edit]

  • Download and place the file(s) in a directory called MagnetLinks in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php :
    require_once "$IP/extensions/MagnetLinks/MagnetLinks.php";
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Examples[edit]

The following examples should show how you can use this extension.

<magnet>magnet:?xt=urn:sha1:YNCKHTQCWBTRNJIV4WNAE52SJUQCZO5C</magnet>
<magnet>magnet:?xt=urn:sha1:YNCKHTQCWBTRNJIV4WNAE52SJUQCZO5C Magnet Link</magnet>

Known issues[edit]

  • This extension may interfere with the work of expansion MathJax used to display mathematical formulas using JavaScript
Working with expansion SimpleMathJax is OK.
  • On HTTPS pages, browser will complain about mixing HTTPS and HTTP traffic. See the Discussion page for a patch.

See also[edit]