2 "$schema": "http://json-schema.org/schema#",
3 "description": "MediaWiki extension.json schema",
8 "description": "The extension's canonical name.",
13 "description": "i18n message key of the extension's name."
17 "description": "The extension's type, as an index to $wgExtensionCredits.",
37 "description": "Extension's authors.",
41 "additionalItems": false
45 "description": "The version of this release of the extension."
49 "description": "URL to the homepage for the extension.",
54 "description": "Raw description of the extension."
58 "description": "Message key for a i18n message describing the extension."
62 "description": "Short identifier for the license under which the extension is released.",
88 "BSD-2-Clause-FreeBSD",
89 "BSD-2-Clause-NetBSD",
101 "CNRI-Python-GPL-Compatible",
160 "GPL-2.0-with-autoconf-exception",
161 "GPL-2.0-with-bison-exception",
162 "GPL-2.0-with-classpath-exception",
163 "GPL-2.0-with-font-exception",
164 "GPL-2.0-with-GCC-exception",
167 "GPL-3.0-with-autoconf-exception",
168 "GPL-3.0-with-GCC-exception",
201 "MPL-2.0-no-copyleft-exception",
281 "ResourceFileModulePaths": {
283 "description": "Default paths to use for all ResourceLoader file modules",
284 "additionalProperties": false,
288 "description": "Base path to prepend to all local paths, relative to current directory"
292 "description": "Base path to prepend to all remote paths, relative to $wgExtensionAssetsPath"
296 "description": "Base path to prepend to all remote paths, relative to $wgStylePath"
300 "ResourceLoaderModules": {
302 "description": "ResourceLoader modules to register",
303 "additionalProperties": false,
304 "patternProperties": {
305 "^[a-zA-Z0-9\\.]+$": {
307 "description": "A single ResourceLoader module descriptor",
311 "description": "Base path to prepend to all local paths in $options. Defaults to $IP"
315 "description": "Base path to prepend to all remote paths in $options. Defaults to $wgScriptPath"
319 "description": "Equivalent of remoteBasePath, but relative to $wgExtensionAssetsPath"
323 "description": "Scripts to always include (array of file paths)",
330 "description": "Scripts to include in specific language contexts (mapping of language code to file path(s))",
331 "patternProperties": {
332 "^[a-zA-Z0-9-]{2,}$": {
345 "description": "Scripts to include in specific skin contexts (mapping of skin name to script(s)",
346 "patternProperties": {
360 "description": "Scripts to include in debug contexts",
367 "description": "Scripts to include in the startup module",
374 "description": "Modules which must be loaded before this module",
381 "description": "Styles to always load",
388 "description": "Styles to include in specific skin contexts (mapping of skin name to style(s))",
389 "patternProperties": {
403 "description": "Messages to always load",
410 "description": "Group which this module should be loaded together with"
414 "description": "Position on the page to load this module at",
424 "ResourceModuleSkinStyles": {
426 "description": "ResourceLoader modules for custom skin styles"
428 "ResourceLoaderSources": {
430 "description": "ResourceLoader sources to register"
432 "ResourceLoaderLESSVars": {
434 "description": "ResourceLoader LESS variables"
436 "ResourceLoaderLESSFunctions": {
438 "description": "ResourceLoader LESS functions"
440 "ResourceLoaderLESSImportPaths": {
442 "description": "ResourceLoader import paths"
446 "description": "Registry of factory functions to create Config objects"
450 "description": "Method to add extra namespaces",
480 "defaultcontentmodel": {
485 "TrackingCategories": {
487 "description": "Tracking category message keys"
489 "DefaultUserOptions": {
491 "description": "Default values of user options"
495 "description": "Preferences users cannot set"
497 "GroupPermissions": {
499 "description": "Default permissions to give to user groups"
501 "RevokePermissions": {
503 "description": "Default permissions to revoke from user groups"
507 "description": "Implicit groups"
511 "description": "Groups a user can add to themselves"
513 "GroupsRemoveFromSelf": {
515 "description": "Groups a user can remove from themselves"
519 "description": "Groups a user can add to users"
523 "description": "Groups a user can remove from users"
527 "description": "User rights added by the extension"
531 "description": "Mapping of model ID to class name"
535 "description": "Rate limits"
537 "RecentChangesFlags": {
539 "description": "Flags (letter symbols) shown on RecentChanges pages"
543 "description": "Plugins for media file type handling. Each entry in the array maps a MIME type to a PHP class name."
545 "ExtensionFunctions": {
550 "description": "Function to call after setup has finished"
552 "ExtensionMessagesFiles": {
554 "description": "File paths containing PHP internationalization data"
558 "description": "Directory paths containing JSON internationalization data"
560 "ExtensionEntryPointListFiles": {
565 "description": "SpecialPages implemented in this extension (mapping of page name to class name)"
572 "description": "Hooks this extension uses (mapping of hook name to callback)"
576 "description": "Job types this extension implements (mapping of job type to class name)"
580 "description": "List of new log types this extension uses"
597 "LogActionsHandlers": {
606 "APIFormatModules": {
626 "description": "A function to be called right after MediaWiki processes this file"
630 "description": "Configuration options for this extension"
634 "description": "Parser test suite files to be run by parserTests.php when no specific filename is passed to it"