<?php
/**
- *
- *
- * Created on July 7, 2007
- *
* Copyright © 2006 Yuri Astrakhan "<Firstname><Lastname>@gmail.com"
*
* This program is free software; you can redistribute it and/or modify
],
'namespace' => [
ApiBase::PARAM_DFLT => $this->dfltNamespace,
- ApiBase::PARAM_TYPE => 'namespace'
+ ApiBase::PARAM_TYPE => 'namespace',
+ ApiBase::PARAM_EXTRA_NAMESPACES => [ NS_MEDIA, NS_SPECIAL ],
],
'limit' => [
ApiBase::PARAM_DFLT => 10,
public function getHelpUrls() {
$name = ucfirst( $this->getModuleName() );
- return "https://www.mediawiki.org/wiki/API:{$name}";
+ return "https://www.mediawiki.org/wiki/Special:MyLanguage/API:{$name}";
}
}