/**
* API for MediaWiki 1.17+
*
- * Created on October 26, 2010
- *
* Copyright © 2010 Bryan Tong Minh and Brion Vibber
*
* This program is free software; you can redistribute it and/or modify
'apiLink' => wfExpandUrl( wfScript( 'api' ), PROTO_CURRENT ),
// Docs link is optional, but recommended.
- 'docs' => 'https://www.mediawiki.org/wiki/API',
+ 'docs' => 'https://www.mediawiki.org/wiki/Special:MyLanguage/API',
// Some APIs may need a blog ID, but it may be left blank.
'blogID' => '',
'name' => $name,
'preferred' => wfBoolToStr( $name == 'MediaWiki' ),
'apiLink' => $info['apiLink'],
- 'blogID' => isset( $info['blogID'] ) ? $info['blogID'] : '',
+ 'blogID' => $info['blogID'] ?? '',
];
$settings = [];
if ( isset( $info['docs'] ) ) {