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.",
42 "description": "Extension's authors.",
46 "additionalItems": false
50 "description": "The version of this release of the extension."
54 "description": "URL to the homepage for the extension.",
59 "description": "Raw description of the extension."
63 "description": "Message key for a i18n message describing the extension."
67 "description": "Short identifier for the license under which the extension is released.",
93 "BSD-2-Clause-FreeBSD",
94 "BSD-2-Clause-NetBSD",
106 "CNRI-Python-GPL-Compatible",
165 "GPL-2.0-with-autoconf-exception",
166 "GPL-2.0-with-bison-exception",
167 "GPL-2.0-with-classpath-exception",
168 "GPL-2.0-with-font-exception",
169 "GPL-2.0-with-GCC-exception",
172 "GPL-3.0-with-autoconf-exception",
173 "GPL-3.0-with-GCC-exception",
206 "MPL-2.0-no-copyleft-exception",
286 "ResourceFileModulePaths": {
288 "description": "Default paths to use for all ResourceLoader file modules",
289 "additionalProperties": false,
293 "description": "Base path to prepend to all local paths, relative to current directory"
297 "description": "Base path to prepend to all remote paths, relative to $wgExtensionAssetsPath"
301 "description": "Base path to prepend to all remote paths, relative to $wgStylePath"
307 "description": "ResourceLoader modules to register",
308 "additionalProperties": false,
309 "patternProperties": {
310 "^[a-zA-Z0-9\\.]+$": {
312 "description": "A single ResourceLoader module descriptor",
316 "description": "Base path to prepend to all local paths in $options. Defaults to $IP"
320 "description": "Base path to prepend to all remote paths in $options. Defaults to $wgScriptPath"
324 "description": "Equivalent of remoteBasePath, but relative to $wgExtensionAssetsPath"
328 "description": "Scripts to always include (array of file paths)",
335 "description": "Scripts to include in specific language contexts (mapping of language code to file path(s))",
336 "patternProperties": {
337 "^[a-zA-Z0-9-]{2,}$": {
350 "description": "Scripts to include in specific skin contexts (mapping of skin name to script(s)",
351 "patternProperties": {
365 "description": "Scripts to include in debug contexts",
372 "description": "Scripts to include in the startup module",
379 "description": "Modules which must be loaded before this module",
386 "description": "Styles to always load",
393 "description": "Styles to include in specific skin contexts (mapping of skin name to style(s))",
394 "patternProperties": {
408 "description": "Messages to always load",
415 "description": "Group which this module should be loaded together with"
419 "description": "Position on the page to load this module at",
429 "ResourceModuleSkinStyles": {
431 "description": "ResourceLoader modules for custom skin styles"
433 "ResourceLoaderSources": {
435 "description": "ResourceLoader sources to register"
437 "ResourceLoaderLESSVars": {
439 "description": "ResourceLoader LESS variables"
441 "ResourceLoaderLESSFunctions": {
443 "description": "ResourceLoader LESS functions"
445 "ResourceLoaderLESSImportPaths": {
447 "description": "ResourceLoader import paths"
451 "description": "Registry of factory functions to create Config objects"
455 "description": "Method to add extra namespaces",
485 "defaultcontentmodel": {
490 "TrackingCategories": {
492 "description": "Tracking category message keys"
494 "DefaultUserOptions": {
496 "description": "Default values of user options"
500 "description": "Preferences users cannot set"
502 "GroupPermissions": {
504 "description": "Default permissions to give to user groups"
506 "RevokePermissions": {
508 "description": "Default permissions to revoke from user groups"
512 "description": "Implicit groups"
516 "description": "Groups a user can add to themselves"
518 "GroupsRemoveFromSelf": {
520 "description": "Groups a user can remove from themselves"
524 "description": "Groups a user can add to users"
528 "description": "Groups a user can remove from users"
532 "description": "User rights added by the extension"
536 "description": "Mapping of model ID to class name"
540 "description": "Rate limits"
542 "RecentChangesFlags": {
544 "description": "Flags (letter symbols) shown on RecentChanges pages"
548 "description": "Plugins for media file type handling. Each entry in the array maps a MIME type to a PHP class name."
550 "ExtensionFunctions": {
555 "description": "Function to call after setup has finished"
557 "ExtensionMessagesFiles": {
559 "description": "File paths containing PHP internationalization data"
563 "description": "Directory paths containing JSON internationalization data"
565 "ExtensionEntryPointListFiles": {
570 "description": "SpecialPages implemented in this extension (mapping of page name to class name)"
577 "description": "Hooks this extension uses (mapping of hook name to callback)"
581 "description": "Job types this extension implements (mapping of job type to class name)"
585 "description": "List of new log types this extension uses"
602 "LogActionsHandlers": {
611 "APIFormatModules": {
631 "description": "A function to be called right after MediaWiki processes this file"
635 "description": "Configuration options for this extension"
639 "description": "Parser test suite files to be run by parserTests.php when no specific filename is passed to it"