MediaWiki  1.23.2
MockApi.php
Go to the documentation of this file.
1 <?php
2 
3 class MockApi extends ApiBase {
4  public function execute() {
5  }
6 
7  public function getVersion() {
8  }
9 
10  public function __construct() {
11  }
12 
13  public function getAllowedParams() {
14  return array(
15  'filename' => null,
16  'enablechunks' => false,
17  'sessionkey' => null,
18  );
19  }
20 }
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
MockApi\getAllowedParams
getAllowedParams()
Returns an array of allowed parameters (parameter name) => (default value) or (parameter name) => (ar...
Definition: MockApi.php:13
MockApi
Definition: MockApi.php:3
ApiBase
This abstract class implements many basic API functions, and is the base of all API classes.
Definition: ApiBase.php:42
MockApi\getVersion
getVersion()
Returns a string that identifies the version of the extending class.
Definition: MockApi.php:7
MockApi\execute
execute()
Evaluates the parameters, performs the requested query, and sets up the result.
Definition: MockApi.php:4
array
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
MockApi\__construct
__construct()
Definition: MockApi.php:10