Comments/extension.json

129 satır
3.4 KiB
JSON

{
"name": "Comments",
"version": "4.3.0 znilwiki",
"author": [
"David Pean",
"Misza",
"Jack Phoenix",
"Adam Carter/UltrasonicNXT",
"Bernhard Linz"
],
"license-name": "GPL-2.0+",
"url": "https://www.mediawiki.org/wiki/Extension:Comments",
"descriptionmsg": "comments-desc",
"type": "parserhook",
"GroupPermissions": {
"*": {
"comment": true
},
"commentadmin": {
"commentadmin": true
},
"autoconfirmed": {
"commentlinks": true
}
},
"AvailableRights": [
"comment",
"commentadmin",
"commentlinks"
],
"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": "includes/Comments.alias.php",
"CommentsMagic": "includes/Comments.i18n.magic.php",
"NumberOfCommentsMagic": "includes/Comments.i18n.magic.php"
},
"AutoloadClasses": {
"Comment": "includes/Comment.class.php",
"CommentsPage": "includes/CommentsPage.class.php",
"CommentsOfTheDay": "includes/CommentsOfTheDay.class.php",
"CommentFunctions": "/includes/CommentFunctions.class.php",
"CommentIgnoreList": "includes/specials/SpecialCommentIgnoreList.php",
"CommentsLogFormatter": "includes/CommentsLogFormatter.class.php",
"CommentsHooks": "includes/Comments.hooks.php",
"NumberOfComments": "includes/NumberOfComments.class.php",
"CommentBlockAPI": "includes/api/CommentBlock.api.php",
"CommentDeleteAPI": "includes/api/CommentDelete.api.php",
"CommentLatestIdAPI": "includes/api/CommentLatestID.api.php",
"CommentListAPI": "includes/api/CommentList.api.php",
"CommentSubmitAPI": "includes/api/CommentSubmit.api.php",
"CommentVoteAPI": "includes/api/CommentVote.api.php"
},
"ResourceModules": {
"ext.comments.css": {
"styles": "resources/css/Comments.css",
"position": "top"
},
"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"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "Comments"
},
"Hooks": {
"ParserFirstCallInit": [
"CommentsHooks::onParserFirstCallInit",
"NumberOfComments::setupNumberOfCommentsPageParser",
"CommentsOfTheDay::registerTag"
],
"LoadExtensionSchemaUpdates": [
"CommentsHooks::onLoadExtensionSchemaUpdates"
],
"RenameUserSQL": [
"CommentsHooks::onRenameUserSQL"
],
"MagicWordwgVariableIDs": [
"NumberOfComments::registerNumberOfCommentsMagicWord"
],
"ParserGetVariableValueSwitch": [
"NumberOfComments::getNumberOfCommentsMagic"
]
},
"config": {
"CommentsDefaultAvatar": "http://www.shoutwiki.com/w/extensions/SocialProfile/avatars/default_ml.gif",
"CommentsSortDescending": false,
"CommentsInRecentChanges": false
},
"manifest_version": 1
}