Jump to content

Extension:Scopus

From mediawiki.org
MediaWiki extensions manual
Scopus
Release status: unmaintained
Implementation Parser function
Description Pulls data from the Scopus API into wiki pages
Author(s) Nischay Nahata (Nischayn22talk)
Latest version 0.1 (April 2018)
MediaWiki 1.25+
PHP 5.3+
Database changes No
$wgScopusApiKey
Licence GNU General Public License 2.0 or later
Download

The Scopus extension uses parser functions to pull data from the Scopus API into wiki pages. Scopus is an academic reference manager.

Installation

[edit]
  • Download and place the file(s) in a directory called Scopus in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'Scopus' );
    $wgScopusApiKey = /* Scopus Application KEY GOES HERE */;
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parameters

[edit]
Name Required? Description
$wgScopusApiKey Required Your Application ID from Scopus

To get these values you need to Login and Register an application here: https://dev.elsevier.com/apikey/create

Usage

[edit]

The scopus parser function takes two parameters, in the form of {{#scopus:doi=DOI|parameter=PARAMETER}}.

Where doi is required to identify the document and "parameter" is the name of the parameter that should be displayed. The full list of parameters is available here.

Examples

[edit]
  • This example displays the citation count of a document:

{{#scopus:doi=10.1103/PhysRevA.20.1521|parameter=citedby-count}} → 519