2 "$schema": "http://json-schema.org/schema#",
3 "description": "MediaWiki extension.json schema",
8 "description": "The extension's canonical name.",
13 "description": "The extension's type, as an index to $wgExtensionCredits.",
33 "description": "Extension's authors.",
37 "additionalItems": false
41 "description": "The version of this release of the extension."
45 "description": "URL to the homepage for the extension.",
50 "description": "Raw description of the extension."
54 "description": "Message key for a i18n message describing the extension."
58 "description": "Short identifier for the license under which the extension is released.",
84 "BSD-2-Clause-FreeBSD",
85 "BSD-2-Clause-NetBSD",
97 "CNRI-Python-GPL-Compatible",
156 "GPL-2.0-with-autoconf-exception",
157 "GPL-2.0-with-bison-exception",
158 "GPL-2.0-with-classpath-exception",
159 "GPL-2.0-with-font-exception",
160 "GPL-2.0-with-GCC-exception",
163 "GPL-3.0-with-autoconf-exception",
164 "GPL-3.0-with-GCC-exception",
197 "MPL-2.0-no-copyleft-exception",
277 "ResourceFileModulePaths": {
279 "description": "Default paths to use for all ResourceLoader file modules",
280 "additionalProperties": false,
284 "description": "Base path to prepend to all local paths, relative to current directory"
288 "description": "Base path to prepend to all remote paths, relative to $wgExtensionAssetsPath"
292 "description": "Base path to prepend to all remote paths, relative to $wgStylePath"
296 "ResourceLoaderModules": {
298 "description": "ResourceLoader modules to register",
299 "additionalProperties": false,
300 "patternProperties": {
301 "^[a-zA-Z0-9\\.]+$": {
303 "description": "A single ResourceLoader module descriptor",
307 "description": "Base path to prepend to all local paths in $options. Defaults to $IP"
311 "description": "Base path to prepend to all remote paths in $options. Defaults to $wgScriptPath"
315 "description": "Equivalent of remoteBasePath, but relative to $wgExtensionAssetsPath"
319 "description": "Scripts to always include (array of file paths)",
326 "description": "Scripts to include in specific language contexts (mapping of language code to file path(s))",
327 "patternProperties": {
328 "^[a-zA-Z0-9-]{2,}$": {
341 "description": "Scripts to include in specific skin contexts (mapping of skin name to script(s)",
342 "patternProperties": {
356 "description": "Scripts to include in debug contexts",
363 "description": "Scripts to include in the startup module",
370 "description": "Modules which must be loaded before this module",
377 "description": "Styles to always load",
384 "description": "Styles to include in specific skin contexts (mapping of skin name to style(s))",
385 "patternProperties": {
399 "description": "Messages to always load",
406 "description": "Group which this module should be loaded together with"
410 "description": "Position on the page to load this module at",
420 "ResourceLoaderSources": {
422 "description": "ResourceLoader sources to register"
424 "ResourceLoaderLESSVars": {
426 "description": "ResourceLoader LESS variables"
428 "ResourceLoaderLESSFunctions": {
430 "description": "ResourceLoader LESS functions"
432 "ResourceLoaderLESSImportPaths": {
434 "description": "ResourceLoader import paths"
438 "description": "Registry of factory functions to create Config objects"
442 "description": "Method to add extra namespaces",
472 "defaultcontentmodel": {
477 "TrackingCategories": {
479 "description": "Tracking category message keys"
481 "DefaultUserOptions": {
483 "description": "Default values of user options"
487 "description": "Preferences users cannot set"
489 "GroupPermissions": {
491 "description": "Default permissions to give to user groups"
493 "RevokePermissions": {
495 "description": "Default permissions to revoke from user groups"
499 "description": "Implicit groups"
503 "description": "Groups a user can add to themselves"
505 "GroupsRemoveFromSelf": {
507 "description": "Groups a user can remove from themselves"
511 "description": "Groups a user can add to users"
515 "description": "Groups a user can remove from users"
519 "description": "User rights added by the extension"
523 "description": "Mapping of model ID to class name"
527 "description": "Rate limits"
531 "description": "Parser test files to run"
533 "RecentChangesFlags": {
535 "description": "Flags (letter symbols) shown on RecentChanges pages"
537 "ExtensionFunctions": {
542 "description": "Function to call after setup has finished"
544 "ExtensionMessagesFiles": {
546 "description": "File paths containing PHP internationalization data"
550 "description": "Directory paths containing JSON internationalization data"
552 "ExtensionEntryPointListFiles": {
557 "description": "SpecialPages implemented in this extension (mapping of page name to class name)"
559 "SpecialPageGroups": {
561 "description": "Mapping of special page name to group it belongs to"
568 "description": "Hooks this extension uses (mapping of hook name to callback)"
572 "description": "Job types this extension implements (mapping of job type to class name)"
576 "description": "List of new log types this extension uses"
593 "LogActionsHandlers": {
602 "APIFormatModules": {
619 "description": "A function to be called right after MediaWiki processes this file"
623 "description": "Configuration options for this extension"