X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiOpenSearch.php;h=416fc7f6e43918c4837b47cb960738683007c215;hb=5e421703a2adaef3c4b6f0f92e89cdde63753cd2;hp=e6fe27ca2a34a1dce4c65bed46d5480034788137;hpb=2b7d97e6a49c46eeb0e1018dd51ae5e79b2f373e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiOpenSearch.php b/includes/api/ApiOpenSearch.php index e6fe27ca2a..416fc7f6e4 100644 --- a/includes/api/ApiOpenSearch.php +++ b/includes/api/ApiOpenSearch.php @@ -1,10 +1,8 @@ @gmail.com" * Copyright © 2008 Brion Vibber - * Copyright © 2014 Brad Jorsch + * Copyright © 2014 Wikimedia Foundation and contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -232,7 +230,7 @@ class ApiOpenSearch extends ApiBase { break; case 'xml': - // http://msdn.microsoft.com/en-us/library/cc891508%28v=vs.85%29.aspx + // https://msdn.microsoft.com/en-us/library/cc891508(v=vs.85).aspx $imageKeys = [ 'source' => true, 'alt' => true, @@ -309,7 +307,7 @@ class ApiOpenSearch extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Opensearch'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Opensearch'; } /** @@ -382,6 +380,9 @@ class ApiOpenSearch extends ApiBase { } } +/** + * @ingroup API + */ class ApiOpenSearchFormatJson extends ApiFormatJson { private $warningsAsError = false;