X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiOpenSearch.php;h=416fc7f6e43918c4837b47cb960738683007c215;hb=4ec93f15d6146d5881c7754ce7d3202d758b326d;hp=dc1b4e73afd61ce376841d950bb8666bbbaac0c2;hpb=212f96ec2a4f06becb4a51efe411664bd0abf856;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiOpenSearch.php b/includes/api/ApiOpenSearch.php index dc1b4e73af..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 @@ -25,7 +23,6 @@ */ use MediaWiki\MediaWikiServices; -use Wikimedia\Rdbms\Database; /** * @ingroup API @@ -233,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, @@ -383,6 +380,9 @@ class ApiOpenSearch extends ApiBase { } } +/** + * @ingroup API + */ class ApiOpenSearchFormatJson extends ApiFormatJson { private $warningsAsError = false;