Manual:Extension registration/Schema

This was autogenerated from in MediaWiki core. More work to be done...

name
The extension's canonical name.

This property is required.

namemsg
i18n message key of the extension's name.

type
The extension's type, as an index to $wgExtensionCredits.

author
Extension's authors.

version
The version of this release of the extension.

url
URL to the homepage for the extension.

description
Raw description of the extension.

descriptionmsg
Message key for a i18n message describing the extension.

license-name
Short identifier for the license under which the extension is released.

ResourceFileModulePaths
Default paths to use for all ResourceLoader file modules

Properties:
 * localBasePath: Base path to prepend to all local paths, relative to current directory
 * remoteExtPath: Base path to prepend to all remote paths, relative to $wgExtensionAssetsPath
 * remoteSkinPath: Base path to prepend to all remote paths, relative to $wgStylePath

ResourceModules
ResourceLoader modules to register

This is set to the global setting.

ResourceModuleSkinStyles
ResourceLoader modules for custom skin styles

This is set to the global setting.

ResourceLoaderSources
ResourceLoader sources to register

This is set to the global setting.

ResourceLoaderLESSVars
ResourceLoader LESS variables

This is set to the global setting.

ResourceLoaderLESSFunctions
ResourceLoader LESS functions

This is set to the global setting.

ResourceLoaderLESSImportPaths
ResourceLoader import paths

This is set to the global setting.

ConfigRegistry
Registry of factory functions to create Config objects

This is set to the global setting.

namespaces
Method to add extra namespaces

Properties:
 * id: TODO: Document
 * constant: TODO: Document
 * name: TODO: Document
 * gender: TODO: Document
 * subpages: TODO: Document
 * content: TODO: Document
 * defaultcontentmodel: TODO: Document

This is set to the global setting.

TrackingCategories
Tracking category message keys

This is set to the global setting.

DefaultUserOptions
Default values of user options

This is set to the global setting.

HiddenPrefs
Preferences users cannot set

This is set to the global setting.

GroupPermissions
Default permissions to give to user groups

This is set to the global setting.

RevokePermissions
Default permissions to revoke from user groups

This is set to the global setting.

ImplicitGroups
Implicit groups

This is set to the global setting.

GroupsAddToSelf
Groups a user can add to themselves

This is set to the global setting.

GroupsRemoveFromSelf
Groups a user can remove from themselves

This is set to the global setting.

AddGroups
Groups a user can add to users

This is set to the global setting.

RemoveGroups
Groups a user can remove from users

This is set to the global setting.

AvailableRights
User rights added by the extension

This is set to the global setting.

ContentHandlers
Mapping of model ID to class name

This is set to the global setting.

RateLimits
Rate limits

This is set to the global setting.

RecentChangesFlags
Flags (letter symbols) shown on RecentChanges pages

This is set to the global setting.

MediaHandlers
Plugins for media file type handling. Each entry in the array maps a MIME type to a PHP class name.

This is set to the global setting.

ExtensionFunctions
Function to call after setup has finished

This is set to the global setting.

ExtensionMessagesFiles
File paths containing PHP internationalization data

This is set to the global setting.

MessagesDirs
Directory paths containing JSON internationalization data

This is set to the global setting.

ExtensionEntryPointListFiles
This is set to the global setting.

SpecialPages
SpecialPages implemented in this extension (mapping of page name to class name)

This is set to the global setting.

AutoloadClasses
This is set to the global setting.

Hooks
Hooks this extension uses (mapping of hook name to callback)

This is set to the global setting.

JobClasses
Job types this extension implements (mapping of job type to class name)

This is set to the global setting.

LogTypes
List of new log types this extension uses

This is set to the global setting.

LogRestrictions
This is set to the global setting.

FilterLogTypes
This is set to the global setting.

LogNames
This is set to the global setting.

LogHeaders
This is set to the global setting.

LogActions
This is set to the global setting.

LogActionsHandlers
This is set to the global setting.

Actions
This is set to the global setting.

APIModules
This is set to the global setting.

APIFormatModules
This is set to the global setting.

APIMetaModules
This is set to the global setting.

APIPropModules
This is set to the global setting.

APIListModules
This is set to the global setting.

ValidSkinNames
This is set to the global setting.

callback
A function to be called right after MediaWiki processes this file

This is set to the global setting.

config
Configuration options for this extension

ParserTestFiles
Parser test suite files to be run by parserTests.php when no specific filename is passed to it

This is set to the global setting.