*
* @since 1.29
*
- * @license GNU GPL v2+
+ * @license GPL-2.0-or-later
* @author Florian Schmidt
*/
class AddSite extends Maintenance {
/**
* Imports the site described by the parameters (see self::__construct()) passed to this
* maintenance sccript into the sites table of MediaWiki.
+ * @return bool
*/
public function execute() {
$siteStore = MediaWikiServices::getInstance()->getSiteStore();
}
}
-$maintClass = 'AddSite';
+$maintClass = AddSite::class;
require_once RUN_MAINTENANCE_IF_MAIN;