Jump to content

Module:ExtensionJson/sandbox

From mediawiki.org
Module documentation

This is a data table of all the extension.json files from MediaWiki extensions in Wikimedia's Gerrit repositories as well as repositories listed in MWStake/nonwmf-extensions.

It does not contain all nor only information from extension.json:

  • Removed: AutoloadClasses, AutoloadNamespaces, MessagesDirs, ResourceFileModulePaths, ResourceModules.
  • Added: an additional repository key containing the Git repository URL for an extension. It is set either from the support.source key of composer.json, or from the Git remote used to clone the extension's repo.

Tool:Extjsonuploader, run by User:Bawolff_bot, updates this module every 2 hours (if there are any changes).

The idea is that you can load this by using mw.loadData( 'Module:ExtensionJson' ) and then do fancy things like make {{Extension }} auto-fill extensions' infoboxes. See phab:T155029.

Extensions whose information is not in this data table are listed at Category:Extensions not in ExtensionJson.

The same data is also available on the web as https://extjsonuploader.toolforge.org/ExtensionJson.json

return {
["3DAlloy"]={
name="3DAlloy",
author="Dolfinus",
url="https://www.mediawiki.org/wiki/Extension:3DAlloy",
description="This extension provides a 3D viewer for JSON/Buff files",
version="1.2",
["license-name"]="MIT",
type="media",
ExtensionMessagesFiles={
ThreeDimentionAlloy="3DAlloy_magic.i18n.php",
},
MediaHandlers={
["application/json"]="ThreeDimentionAlloy",
["application/obj"]="ThreeDimentionAlloy",
["application/stl"]="ThreeDimentionAlloy",
},
Hooks={
ParserMakeImageParams={
"ThreeDimentionAlloy::onParserMakeImageParams",},
ParserFirstCallInit={
"ThreeDimentionAlloy::onParserFirstCallInit",},
ImageBeforeProduceHTML={
"ThreeDimentionAlloy::onImageBeforeProduceHTML",},
ImageOpenShowImageInlineBefore={
"ThreeDimentionAlloy::onImageOpenShowImageInlineBefore",},
BeforePageDisplay={
"ThreeDimentionAlloy::onBeforePageDisplay",},
BeforePageDisplayMobile={
"ThreeDimentionAlloy::onBeforePageDisplay",},
MimeMagicInit={
"ThreeDimentionAlloy::onMimeMagicInit",},
},
repository="https://github.com/dolfinus/3DAlloy.git",
},
["3DAlloyNewTag"]={
name="3DAlloy New Tag",
author="Solène",
version="1.0.0",
url="https://www.mediawiki.org/wiki/Extension:3DAlloyNewTag",
descriptionmsg="Check Page Title",
["license-name"]="GPL-2.0+",
type="parserhook",
ExtensionMessagesFiles={
ThreeDAlloyNewTag="ThreeDAlloyNewTag.i18n.php",
},
Hooks={
ParserFirstCallInit={
"ThreeDAlloyNewTag\\ThreeDAlloyNewTagParser::onParserSetup",},
LinkerMakeMediaLinkFile={
"ThreeDAlloyNewTag\\ThreeDAlloyNewTagParser::onLinkerMakeMediaLinkFile",},
},
repository="https://github.com/Wikifab/3DAlloyNewTag",
},
AWS={
name="AWS",
version="0.11.1",
author={
"Tyler Romeo","Daniel Friesen @ Redwerks","Edward Chernenko","David Haslip",},
url="https://www.mediawiki.org/wiki/Extension:AWS",
descriptionmsg="aws-desc",
["license-name"]="GPL-2.0+",
requires={
MediaWiki=">= 1.35.0",
},
type="other",
ExtensionFunctions={
"AmazonS3Hooks::setup",},
config={
AWSCredentials={
description="Credentials to connect to AWS. Setting this in LocalSettings.php is NOT NEEDED if your EC2 instance has an IAM instance profile, and its IAM role allows access to Amazon S3 (see README).",
value={
key=false,
secret=false,
token=false,
},
merge_strategy="array_plus",
},
AWSRegion={
description="Region of AWS to connect to.",
value=false,
},
AWSUseHTTPS={
description="Whether to use HTTPS with AWS.",
value=true,
},
AWSBucketName={
description="MUST BE SET in LocalSettings.php. Name of S3 bucket (e.g. \"wonderfulbali\"). Note: it will be seen in the URL of images.",
value=nil,
},
AWSBucketPrefix={
description="[deprecated] Backward-compatibility option to use 4 S3 buckets (public, thumb, deleted, temp) instead of one $wgAWSBucketName. Shouldn't be used in new wikis. If set to \"wonderfulbali\", buckets [wonderfulbali], [wonderfulbali-thumb], [wonderfulbali-deleted] and [wonderfulbali-temp] are used.",
value=nil,
},
AWSBucketDomain={
description="Subdomain of Amazon S3. Can be replaced with the URL of CDN. $1 is replaced with bucket name (see README.md for more customization).",
value="$1.s3.amazonaws.com",
},
AWSRepoHashLevels={
description="Number of prefix subdirectories. Value \"2\" means that S3 objects will be named a/ab/Filename.png (same as when MediaWiki stores files in local directories). Default value: 0 (objects are named Filename.png without any prefix).",
value=0,
},
AWSRepoDeletedHashLevels={
description="Same as $wgAWSRepoHashLevels, but for deleted images. Set to \"3\" for naming a/ab/abc/Filename.png (same as when MediaWiki stores deleted files in local directories). Default value: 0 (objects are named Filename.png without any prefix).",
value=0,
},
AWSBucketTopSubdirectory={
description="Extra path within the S3 bucket (not recommended). E.g. if this is '/something', then images will be in bucketname.s3.amazonaws.com/something/File.png instead of bucketname.s3.amazonaws.com/File.png.",
value="",
},
AWSLocalCacheDirectory={
description="Path to the directory for storing local copies of large images from S3 (when they are copied to webserver to make a thumbnail image, etc.). Don't enable this unless you have REALLY HUGE files (e.g. 100Mb+ PDFs). Default: false (disabled).",
value=false,
},
AWSLocalCacheMinSize={
description="Minimal size of image (in bytes) that should be cached. Default: 100Mb.",
value=104857600,
},
},
repository="https://github.com/edwardspec/mediawiki-aws-s3.git",
composer="edwardspec/mediawiki-aws-s3",
},
AccessLogReports={
name="AccessLogReports",
namemsg="accesslogreports-extensionname",
["license-name"]="GPL-3.0+",
version="0.1",
author={
"[//mwstake.org Mark A. Hershberger]",},
requires={
MediaWiki=">=1.26",
},
url="https://www.mediawiki.org/wiki/Extension:AccessLogReports",
descriptionmsg="accesslogreports-desc",
type="specialpage",
SpecialPages={
AccessLogReports="AccessLogReports\\SpecialAccessLogReports",
},
Hooks={
LoadExtensionSchemaUpdates={
"AccessLogReports\\Hook::onLoadExtensionSchemaUpdates",},
},
ExtensionMessagesFiles={
AccessLogReportsAlias="src/i18n/Alias.php",
},
AvailableRights={
"viewaccesslogs",},
GroupPermissions={
sysop={
viewaccesslogs=true,
},
},
config={
},
repository="https://github.com/hexmode/mediawiki-AccessLogReports",
}}