Extension:SecurityApi

From mediawiki.org
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
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 place the file(s) in a directory called SecurityApi in your extensions/ folder.
  • 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' );
    
  • Yes 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