Jump to content

Extension:ScryfallLinks

From mediawiki.org
MediaWiki extensions manual
ScryfallLinks
Release status: stable
Implementation Hook
Description Creates Scryfall links from Magic: The Gathering card names.
Author(s) Nils Enevoldsen
Latest version 1.5 (2020-03-12)
MediaWiki 1.23+
PHP 5.3+
Database changes No
License GNU General Public License 2.0 or later
Download

ScryfallLinks is a MediaWiki extension that creates Scryfall links from *Magic: The Gathering* card names.

It is designed to be backwards-compatible with the MTG Wiki's "MTGSCards" extension.

It is based on Extension:BoilerPlate .

It makes use of the Scryfall API to load images, and Tippy.js tooltips (also MIT licensed).

Installation

  • Download and place the file(s) in a directory called ScryfallLinks in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'ScryfallLinks' );
    
  • Configure as required
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration