Extension:Scopus

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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
License GNU General Public License 2.0 or later
Download
$wgScopusApiKey
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').

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

Installation

  • <translate> <tvar name=1>Download</tvar> and place the file(s) in a directory called <tvar name=name>Scopus</tvar> in your <tvar name=ext>extensions/</tvar> folder.</translate>
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'Scopus' );
    $wgScopusApiKey = /* Scopus Application KEY GOES HERE */;
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Configuration parameters

$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

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

  • This example displays the citation count of a document:

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