2 "$schema": "http://json-schema.org/schema#",
3 "description": "MediaWiki extension.json schema",
8 "description": "The extension's canonical name."
12 "description": "The extension's type, as an index to $wgExtensionCredits.",
32 "description": "Extension's authors.",
36 "additionalItems": false
40 "description": "The version of this release of the extension."
44 "description": "URL to the homepage for the extension.",
49 "description": "Raw description of the extension."
53 "description": "Message key for a i18n message describing the extension."
57 "description": "Short identifier for the license under which the extension is released.",
83 "BSD-2-Clause-FreeBSD",
84 "BSD-2-Clause-NetBSD",
96 "CNRI-Python-GPL-Compatible",
155 "GPL-2.0-with-autoconf-exception",
156 "GPL-2.0-with-bison-exception",
157 "GPL-2.0-with-classpath-exception",
158 "GPL-2.0-with-font-exception",
159 "GPL-2.0-with-GCC-exception",
162 "GPL-3.0-with-autoconf-exception",
163 "GPL-3.0-with-GCC-exception",
196 "MPL-2.0-no-copyleft-exception",
276 "ResourceFileModulePaths": {
278 "description": "Default paths to use for all ResourceLoader file modules",
279 "additionalProperties": false,
283 "description": "Base path to prepend to all local paths, relative to current directory"
287 "description": "Base path to prepend to all remote paths, relative to $wgExtensionAssetsPath"
291 "description": "Base path to prepend to all remote paths, relative to $wgStylePath"
295 "ResourceLoaderModules": {
297 "description": "ResourceLoader modules to register",
298 "additionalProperties": false,
299 "patternProperties": {
300 "^[a-zA-Z0-9\\.]+$": {
302 "description": "A single ResourceLoader module descriptor",
306 "description": "Base path to prepend to all local paths in $options. Defaults to $IP"
310 "description": "Base path to prepend to all remote paths in $options. Defaults to $wgScriptPath"
314 "description": "Equivalent of remoteBasePath, but relative to $wgExtensionAssetsPath"
318 "description": "Scripts to always include (array of file paths)",
325 "description": "Scripts to include in specific language contexts (mapping of language code to file path(s))",
326 "patternProperties": {
327 "^[a-zA-Z0-9-]{2,}$": {
340 "description": "Scripts to include in specific skin contexts (mapping of skin name to script(s)",
341 "patternProperties": {
355 "description": "Scripts to include in debug contexts",
362 "description": "Scripts to include in the startup module",
369 "description": "Modules which must be loaded before this module",
376 "description": "Styles to always load",
383 "description": "Styles to include in specific skin contexts (mapping of skin name to style(s))",
384 "patternProperties": {
398 "description": "Messages to always load",
405 "description": "Group which this module should be loaded together with"
409 "description": "Position on the page to load this module at",
419 "ResourceLoaderSources": {
421 "description": "ResourceLoader sources to register"
423 "ResourceLoaderLESSVars": {
425 "description": "ResourceLoader LESS variables"
427 "ResourceLoaderLESSFunctions": {
429 "description": "ResourceLoader LESS functions"
431 "ResourceLoaderLESSImportPaths": {
433 "description": "ResourceLoader import paths"
437 "description": "Registry of factory functions to create Config objects"
441 "description": "Method to add extra namespaces",
471 "defaultcontentmodel": {
476 "TrackingCategories": {
478 "description": "Tracking category message keys"
480 "DefaultUserOptions": {
482 "description": "Default values of user options"
486 "description": "Preferences users cannot set"
488 "GroupPermissions": {
490 "description": "Default permissions to give to user groups"
492 "RevokePermissions": {
494 "description": "Default permissions to revoke from user groups"
498 "description": "Implicit groups"
502 "description": "Groups a user can add to themselves"
504 "GroupsRemoveFromSelf": {
506 "description": "Groups a user can remove from themselves"
510 "description": "Groups a user can add to users"
514 "description": "Groups a user can remove from users"
518 "description": "User rights added by the extension"
522 "description": "Mapping of model ID to class name"
526 "description": "Rate limits"
530 "description": "Parser test files to run"
532 "RecentChangesFlags": {
534 "description": "Flags (letter symbols) shown on RecentChanges pages"
536 "ExtensionFunctions": {
541 "description": "Function to call after setup has finished"
543 "ExtensionMessagesFiles": {
545 "description": "File paths containing PHP internationalization data"
549 "description": "Directory paths containing JSON internationalization data"
551 "ExtensionEntryPointListFiles": {
556 "description": "SpecialPages implemented in this extension (mapping of page name to class name)"
558 "SpecialPageGroups": {
560 "description": "Mapping of special page name to group it belongs to"
567 "description": "Hooks this extension uses (mapping of hook name to callback)"
571 "description": "Job types this extension implements (mapping of job type to class name)"
575 "description": "List of new log types this extension uses"
592 "LogActionsHandlers": {
601 "APIFormatModules": {
618 "description": "A function to be called right after MediaWiki processes this file"
622 "description": "Configuration options for this extension"