Open main menu

Extension:MagnetLinks

MediaWiki extensions manual
OOjs UI icon advanced.svg
MagnetLinks
Release status: beta
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
Translate the MagnetLinks extension if it is available at translatewiki.net
Check usage and version matrix.

The MagnetLinks extension allows to render links to magnet URI.

Contents

InstallationEdit

  • 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";
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

ExamplesEdit

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 IssuesEdit

  • 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 alsoEdit