Extension:SecurityApi

MediaWiki extensions manual
SecurityApi
Release status: experimental
Description mediawiki-authed access to node-based api
Latest version 1.0
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki >= 1.33.0
License MIT License
Download
  • $wgwgSecurityApiIpoidUrl
  • securityapi-ipoid-feed
Quarterly downloads 0
Translate the SecurityApi extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The extension provides access to a node-based API using mediawiki's user and rights system for authentication. Please report any bug and/or feature requests on https://phabricator.wikimedia.org/project/profile/5870/

Installation edit

  • Download and move the extracted SecurityApi folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/SecurityApi
  • Only when installing from Git, run Composer to install PHP dependencies, by issuing composer install --no-dev in the extension directory. (See task T173141 for potential complications.)
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'SecurityApi' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parameters edit

Setting name Default value Description
$wgSecurityApiUrl false Base URL of ipoid to be called