neue Version für Mediawiki ab Version 1.32

This commit is contained in:
root
2019-05-25 13:18:39 +02:00
parent a0f2accc98
commit 90479e2677
130 changed files with 2377 additions and 1608 deletions

View File

@@ -1,17 +1,21 @@
{
"name": "Comments",
"version": "4.3.0 znilwiki",
"name": "Comments (znilwiki)",
"version": "4.5.1 (znilwiki)",
"author": [
"David Pean",
"Misza",
"Jack Phoenix",
"Adam Carter/UltrasonicNXT",
"Bernhard Linz"
"Samantha Nguyen",
"Bernhard Linz (znilwiki-Anteil)"
],
"license-name": "GPL-2.0+",
"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
@@ -26,7 +30,8 @@
"AvailableRights": [
"comment",
"commentadmin",
"commentlinks"
"commentlinks",
"comment-delete-own"
],
"SpecialPages": {
"CommentIgnoreList": "CommentIgnoreList"
@@ -55,30 +60,33 @@
]
},
"ExtensionMessagesFiles": {
"CommentsAliases": "includes/Comments.alias.php",
"CommentsMagic": "includes/Comments.i18n.magic.php",
"NumberOfCommentsMagic": "includes/Comments.i18n.magic.php"
"CommentsAliases": "Comments.i18n.alias.php",
"CommentsMagic": "Comments.i18n.magic.php",
"NumberOfCommentsMagic": "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"
"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",
"position": "top"
"targets": [
"desktop",
"mobile"
]
},
"ext.comments.js": {
"scripts": "resources/js/Comment.js",
@@ -93,6 +101,10 @@
"comments-block-warning-anon",
"comments-block-warning-user",
"comments-delete-warning"
],
"targets": [
"desktop",
"mobile"
]
}
},
@@ -101,26 +113,14 @@
"remoteExtPath": "Comments"
},
"Hooks": {
"ParserFirstCallInit": [
"CommentsHooks::onParserFirstCallInit",
"NumberOfComments::setupNumberOfCommentsPageParser",
"CommentsOfTheDay::registerTag"
],
"LoadExtensionSchemaUpdates": [
"CommentsHooks::onLoadExtensionSchemaUpdates"
],
"RenameUserSQL": [
"CommentsHooks::onRenameUserSQL"
],
"MagicWordwgVariableIDs": [
"NumberOfComments::registerNumberOfCommentsMagicWord"
],
"ParserGetVariableValueSwitch": [
"NumberOfComments::getNumberOfCommentsMagic"
]
"ParserFirstCallInit": "CommentsHooks::onParserFirstCallInit",
"LoadExtensionSchemaUpdates": "CommentsHooks::onLoadExtensionSchemaUpdates",
"RenameUserSQL": "CommentsHooks::onRenameUserSQL",
"MagicWordwgVariableIDs": "NumberOfComments::onMagicWordwgVariableIDs",
"ParserGetVariableValueSwitch": "NumberOfComments::onParserGetVariableValueSwitch"
},
"config": {
"CommentsDefaultAvatar": "resources/images/default_ml.gif",
"CommentsDefaultAvatar": "http://www.shoutwiki.com/w/extensions/SocialProfile/avatars/default_ml.gif",
"CommentsSortDescending": false,
"CommentsInRecentChanges": false
},