MediaWiki  1.23.0
ApiQueryDisabled.php
Go to the documentation of this file.
1 <?php
38 
39  public function execute() {
40  $this->setWarning( "The \"{$this->getModuleName()}\" module has been disabled." );
41  }
42 
43  public function getAllowedParams() {
44  return array();
45  }
46 
47  public function getParamDescription() {
48  return array();
49  }
50 
51  public function getDescription() {
52  return array(
53  'This module has been disabled.'
54  );
55  }
56 
57  public function getExamples() {
58  return array();
59  }
60 }
ApiQueryDisabled\execute
execute()
Evaluates the parameters, performs the requested query, and sets up the result.
Definition: ApiQueryDisabled.php:39
php
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
Definition: skin.txt:62
ApiQueryDisabled\getAllowedParams
getAllowedParams()
Returns an array of allowed parameters (parameter name) => (default value) or (parameter name) => (ar...
Definition: ApiQueryDisabled.php:43
ApiQueryDisabled\getDescription
getDescription()
Returns the description string for this module.
Definition: ApiQueryDisabled.php:51
ApiQueryDisabled\getExamples
getExamples()
Returns usage examples for this module.
Definition: ApiQueryDisabled.php:57
ApiQueryDisabled\getParamDescription
getParamDescription()
Returns an array of parameter descriptions.
Definition: ApiQueryDisabled.php:47
ApiQueryBase
This is a base class for all Query modules.
Definition: ApiQueryBase.php:34
array
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
ApiBase\setWarning
setWarning( $warning)
Set warning section for this module.
Definition: ApiBase.php:245
ApiQueryDisabled
API module that does nothing.
Definition: ApiQueryDisabled.php:37