Comments/extension.json

129 líneas
3.4 KiB
JSON

{
"name": "Comments (znilwiki)",
"version": "4.5.1 (znilwiki)",
"author": [
"David Pean",
"Misza",
"Jack Phoenix",
"Adam Carter/UltrasonicNXT",
"Samantha Nguyen",
"Bernhard Linz (znilwiki-Anteil)"
],
"license-name": "GPL-2.0-or-later",
"url": "https://www.mediawiki.org/wiki/Extension:Comments",
"descriptionmsg": "comments-desc",
"type": "parserhook",
"requires": {
"MediaWiki": ">= 1.31.0"
},
"GroupPermissions": {
"*": {
"comment": true
},
"commentadmin": {
"commentadmin": true
},
"autoconfirmed": {
"commentlinks": true
}
},
"AvailableRights": [
"comment",
"commentadmin",
"commentlinks",
"comment-delete-own"
],
"SpecialPages": {
"CommentIgnoreList": "CommentIgnoreList"
},
"LogTypes": [
"comments"
],
"FilterLogTypes": {
"comments": true
},
"LogActionsHandlers": {
"comments/add": "CommentsLogFormatter",
"comments/delete": "LogFormatter"
},
"APIModules": {
"commentblock": "CommentBlockAPI",
"commentdelete": "CommentDeleteAPI",
"commentlatestid": "CommentLatestIdAPI",
"commentlist": "CommentListAPI",
"commentsubmit": "CommentSubmitAPI",
"commentvote": "CommentVoteAPI"
},
"MessagesDirs": {
"Comments": [
"i18n"
]
},
"ExtensionMessagesFiles": {
"CommentsAliases": "Comments.i18n.alias.php",
"CommentsMagic": "Comments.i18n.magic.php",
"NumberOfCommentsMagic": "Comments.i18n.magic.php"
},
"AutoloadClasses": {
"Comment": "includes/Comment.php",
"CommentsPage": "includes/CommentsPage.php",
"NumberOfComments": "includes/parser/NumberOfComments.php",
"DisplayComments": "includes/parser/DisplayComments.php",
"CommentFunctions": "includes/CommentFunctions.php",
"CommentIgnoreList": "includes/specials/CommentIgnoreList.php",
"CommentsLogFormatter": "includes/CommentsLogFormatter.php",
"CommentsHooks": "includes/CommentsHooks.php",
"CommentBlockAPI": "includes/api/CommentBlockAPI.php",
"CommentDeleteAPI": "includes/api/CommentDeleteAPI.php",
"CommentLatestIdAPI": "includes/api/CommentLatestIdAPI.php",
"CommentListAPI": "includes/api/CommentListAPI.php",
"CommentSubmitAPI": "includes/api/CommentSubmitAPI.php",
"CommentVoteAPI": "includes/api/CommentVoteAPI.php"
},
"ResourceModules": {
"ext.comments.css": {
"styles": "resources/css/Comments.css",
"targets": [
"desktop",
"mobile"
]
},
"ext.comments.js": {
"scripts": "resources/js/Comment.js",
"dependencies": [ "mediawiki.api" ],
"messages": [
"comments-voted-label",
"comments-loading",
"comments-auto-refresher-pause",
"comments-auto-refresher-enable",
"comments-cancel-reply",
"comments-reply-to",
"comments-block-warning-anon",
"comments-block-warning-user",
"comments-delete-warning"
],
"targets": [
"desktop",
"mobile"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "Comments"
},
"Hooks": {
"ParserFirstCallInit": "CommentsHooks::onParserFirstCallInit",
"LoadExtensionSchemaUpdates": "CommentsHooks::onLoadExtensionSchemaUpdates",
"RenameUserSQL": "CommentsHooks::onRenameUserSQL",
"MagicWordwgVariableIDs": "NumberOfComments::onMagicWordwgVariableIDs",
"ParserGetVariableValueSwitch": "NumberOfComments::onParserGetVariableValueSwitch"
},
"config": {
"CommentsDefaultAvatar": "http://www.shoutwiki.com/w/extensions/SocialProfile/avatars/default_ml.gif",
"CommentsSortDescending": false,
"CommentsInRecentChanges": false
},
"manifest_version": 1
}