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 "ResourceLoaderModules": {
278 "description": "ResourceLoader modules to register",
279 "additionalProperties": false,
280 "patternProperties": {
281 "^[a-zA-Z0-9\\.]+$": {
283 "description": "A single ResourceLoader module descriptor",
287 "description": "Base path to prepend to all local paths in $options. Defaults to $IP"
291 "description": "Base path to prepend to all remote paths in $options. Defaults to $wgScriptPath"
295 "description": "Equivalent of remoteBasePath, but relative to $wgExtensionAssetsPath"
299 "description": "Scripts to always include (array of file paths)",
306 "description": "Scripts to include in specific language contexts (mapping of language code to file path(s))",
307 "patternProperties": {
308 "^[a-zA-Z0-9-]{2,}$": {
321 "description": "Scripts to include in specific skin contexts (mapping of skin name to script(s)",
322 "patternProperties": {
336 "description": "Scripts to include in debug contexts",
343 "description": "Scripts to include in the startup module",
350 "description": "Modules which must be loaded before this module",
357 "description": "Styles to always load",
364 "description": "Styles to include in specific skin contexts (mapping of skin name to style(s))",
365 "patternProperties": {
379 "description": "Messages to always load",
386 "description": "Group which this module should be loaded together with"
390 "description": "Position on the page to load this module at",
400 "ResourceLoaderSources": {
402 "description": "ResourceLoader sources to register"
404 "ResourceLoaderLESSVars": {
406 "description": "ResourceLoader LESS variables"
408 "ResourceLoaderLESSFunctions": {
410 "description": "ResourceLoader LESS functions"
412 "ResourceLoaderLESSImportPaths": {
414 "description": "ResourceLoader import paths"
418 "description": "Registry of factory functions to create Config objects"
422 "description": "Method to add extra namespaces",
452 "defaultcontentmodel": {
457 "TrackingCategories": {
459 "description": "Tracking category message keys"
461 "DefaultUserOptions": {
463 "description": "Default values of user options"
467 "description": "Preferences users cannot set"
469 "GroupPermissions": {
471 "description": "Default permissions to give to user groups"
473 "RevokePermissions": {
475 "description": "Default permissions to revoke from user groups"
479 "description": "Implicit groups"
483 "description": "Groups a user can add to themselves"
485 "GroupsRemoveFromSelf": {
487 "description": "Groups a user can remove from themselves"
491 "description": "Groups a user can add to users"
495 "description": "Groups a user can remove from users"
499 "description": "User rights added by the extension"
503 "description": "Mapping of model ID to class name"
507 "description": "Rate limits"
511 "description": "Parser test files to run"
513 "RecentChangesFlags": {
515 "description": "Flags (letter symbols) shown on RecentChanges pages"
517 "ExtensionFunctions": {
522 "description": "Function to call after setup has finished"
524 "ExtensionMessagesFiles": {
526 "description": "File paths containing PHP internationalization data"
530 "description": "Directory paths containing JSON internationalization data"
532 "ExtensionEntryPointListFiles": {
537 "description": "SpecialPages implemented in this extension (mapping of page name to class name)"
539 "SpecialPageGroups": {
541 "description": "Mapping of special page name to group it belongs to"
548 "description": "Hooks this extension uses (mapping of hook name to callback)"
552 "description": "Job types this extension implements (mapping of job type to class name)"
556 "description": "List of new log types this extension uses"
573 "LogActionsHandlers": {
582 "APIFormatModules": {
599 "description": "A function to be called right after MediaWiki processes this file"
603 "description": "Configuration options for this extension"