2 "$schema": "http://json-schema.org/schema#",
3 "description": "MediaWiki extension.json schema",
8 "description": "Version of the extension.json schema the extension.json file is in.",
13 "description": "The extension's canonical name.",
18 "description": "i18n message key of the extension's name."
22 "description": "The extension's type, as an index to $wgExtensionCredits.",
30 "description": "Extension's authors.",
34 "additionalItems": false
38 "description": "The version of this release of the extension."
42 "description": "URL to the homepage for the extension.",
47 "description": "Raw description of the extension."
51 "description": "Message key for a i18n message describing the extension."
55 "description": "Short identifier for the license under which the extension is released.",
81 "BSD-2-Clause-FreeBSD",
82 "BSD-2-Clause-NetBSD",
94 "CNRI-Python-GPL-Compatible",
153 "GPL-2.0-with-autoconf-exception",
154 "GPL-2.0-with-bison-exception",
155 "GPL-2.0-with-classpath-exception",
156 "GPL-2.0-with-font-exception",
157 "GPL-2.0-with-GCC-exception",
160 "GPL-3.0-with-autoconf-exception",
161 "GPL-3.0-with-GCC-exception",
194 "MPL-2.0-no-copyleft-exception",
274 "ResourceFileModulePaths": {
276 "description": "Default paths to use for all ResourceLoader file modules",
277 "additionalProperties": false,
281 "description": "Base path to prepend to all local paths, relative to current directory"
285 "description": "Base path to prepend to all remote paths, relative to $wgExtensionAssetsPath"
289 "description": "Base path to prepend to all remote paths, relative to $wgStylePath"
295 "description": "ResourceLoader modules to register",
296 "additionalProperties": false,
297 "patternProperties": {
298 "^[a-zA-Z0-9-\\.]+$": {
300 "description": "A single ResourceLoader module descriptor",
304 "description": "Base path to prepend to all local paths in $options. Defaults to $IP"
308 "description": "Base path to prepend to all remote paths in $options. Defaults to $wgScriptPath"
312 "description": "Equivalent of remoteBasePath, but relative to $wgExtensionAssetsPath"
315 "type": ["string", "array"],
316 "description": "Scripts to always include (array of file paths)",
323 "description": "Scripts to include in specific language contexts (mapping of language code to file path(s))",
324 "patternProperties": {
325 "^[a-zA-Z0-9-]{2,}$": {
338 "description": "Scripts to include in specific skin contexts (mapping of skin name to script(s)",
339 "patternProperties": {
352 "type": ["string", "array"],
353 "description": "Scripts to include in debug contexts",
359 "type": ["string", "array"],
360 "description": "Scripts to include in the startup module",
366 "type": ["string", "array"],
367 "description": "Modules which must be loaded before this module",
373 "type": ["string", "array", "object"],
374 "description": "Styles to always load",
381 "description": "Styles to include in specific skin contexts (mapping of skin name to style(s))",
382 "patternProperties": {
395 "type": ["string", "array"],
396 "description": "Messages to always load",
403 "description": "Group which this module should be loaded together with"
407 "description": "Position on the page to load this module at",
417 "ResourceModuleSkinStyles": {
419 "description": "ResourceLoader modules for custom skin styles"
421 "ResourceLoaderSources": {
423 "description": "ResourceLoader sources to register"
425 "ResourceLoaderLESSVars": {
427 "description": "ResourceLoader LESS variables"
429 "ResourceLoaderLESSFunctions": {
431 "description": "ResourceLoader LESS functions"
433 "ResourceLoaderLESSImportPaths": {
435 "description": "ResourceLoader import paths"
439 "description": "Registry of factory functions to create Config objects"
443 "description": "Method to add extra namespaces",
473 "defaultcontentmodel": {
478 "TrackingCategories": {
480 "description": "Tracking category message keys"
482 "DefaultUserOptions": {
484 "description": "Default values of user options"
488 "description": "Preferences users cannot set"
490 "GroupPermissions": {
492 "description": "Default permissions to give to user groups"
494 "RevokePermissions": {
496 "description": "Default permissions to revoke from user groups"
500 "description": "Implicit groups"
504 "description": "Groups a user can add to themselves"
506 "GroupsRemoveFromSelf": {
508 "description": "Groups a user can remove from themselves"
512 "description": "Groups a user can add to users"
516 "description": "Groups a user can remove from users"
520 "description": "User rights added by the extension"
524 "description": "Mapping of model ID to class name"
528 "description": "Rate limits"
530 "RecentChangesFlags": {
532 "description": "Flags (letter symbols) shown on RecentChanges pages"
536 "description": "Plugins for media file type handling. Each entry in the array maps a MIME type to a PHP class name."
538 "ExtensionFunctions": {
543 "description": "Function to call after setup has finished"
545 "ExtensionMessagesFiles": {
547 "description": "File paths containing PHP internationalization data"
551 "description": "Directory paths containing JSON internationalization data"
553 "ExtensionEntryPointListFiles": {
558 "description": "SpecialPages implemented in this extension (mapping of page name to class name)"
565 "description": "Hooks this extension uses (mapping of hook name to callback)"
569 "description": "Job types this extension implements (mapping of job type to class name)"
573 "description": "List of new log types this extension uses"
590 "LogActionsHandlers": {
599 "APIFormatModules": {
619 "description": "A function to be called right after MediaWiki processes this file"
623 "description": "Configuration options for this extension"
627 "description": "Parser test suite files to be run by parserTests.php when no specific filename is passed to it"