dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make API documentation links language aware
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiRsd.php
diff --git
a/includes/api/ApiRsd.php
b/includes/api/ApiRsd.php
index
4fac37d
..
fdc62a8
100644
(file)
--- a/
includes/api/ApiRsd.php
+++ b/
includes/api/ApiRsd.php
@@
-89,7
+89,7
@@
class ApiRsd extends ApiBase {
'apiLink' => wfExpandUrl( wfScript( 'api' ), PROTO_CURRENT ),
// Docs link is optional, but recommended.
'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' => '',
// Some APIs may need a blog ID, but it may be left blank.
'blogID' => '',