<?php
/**
- * Created on Oct 13, 2006
- *
* Copyright © 2006 Yuri Astrakhan "<Firstname><Lastname>@gmail.com"
* Copyright © 2008 Brion Vibber <brion@wikimedia.org>
- * Copyright © 2014 Brad Jorsch <bjorsch@wikimedia.org>
+ * 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
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,
}
public function getHelpUrls() {
- return 'https://www.mediawiki.org/wiki/API:Opensearch';
+ return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Opensearch';
}
/**
}
}
+/**
+ * @ingroup API
+ */
class ApiOpenSearchFormatJson extends ApiFormatJson {
private $warningsAsError = false;