Extension:ScryfallLinks

From mediawiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
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

Check usage and version matrix.

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 https://www.mediawiki.org/wiki/Extension:BoilerPlate.

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

Installation[edit]

  • 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:
    wfLoadExtension( 'ScryfallLinks' );
    
  • Configure as required
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.