Extension:SecurityApi

From mediawiki.org


MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
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
  • $wgwgSecurityApiUrl
  • securityapi-feed
Translate the SecurityApi extension if it is available at translatewiki.net

Check usage and version matrix.

The extension provides access to a node-based API using mediawiki's user and rights system for authentication

Installation[edit]

  • Download and place the file(s) in a directory called SecurityApi in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/SecurityApi/SecurityApi.php";
    
  • 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 security-api to be called