Original: https://www.mediawiki.org/wiki/Extension:Comments Das hier ist eine an https://znil.net angepasste Version.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

extension.json 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. {
  2. "name": "Comments (znilwiki)",
  3. "version": "4.5.1 (znilwiki)",
  4. "author": [
  5. "David Pean",
  6. "Misza",
  7. "Jack Phoenix",
  8. "Adam Carter/UltrasonicNXT",
  9. "Samantha Nguyen",
  10. "Bernhard Linz (znilwiki-Anteil)"
  11. ],
  12. "license-name": "GPL-2.0-or-later",
  13. "url": "https://www.mediawiki.org/wiki/Extension:Comments",
  14. "descriptionmsg": "comments-desc",
  15. "type": "parserhook",
  16. "requires": {
  17. "MediaWiki": ">= 1.31.0"
  18. },
  19. "GroupPermissions": {
  20. "*": {
  21. "comment": true
  22. },
  23. "commentadmin": {
  24. "commentadmin": true
  25. },
  26. "autoconfirmed": {
  27. "commentlinks": true
  28. }
  29. },
  30. "AvailableRights": [
  31. "comment",
  32. "commentadmin",
  33. "commentlinks",
  34. "comment-delete-own"
  35. ],
  36. "SpecialPages": {
  37. "CommentIgnoreList": "CommentIgnoreList"
  38. },
  39. "LogTypes": [
  40. "comments"
  41. ],
  42. "FilterLogTypes": {
  43. "comments": true
  44. },
  45. "LogActionsHandlers": {
  46. "comments/add": "CommentsLogFormatter",
  47. "comments/delete": "LogFormatter"
  48. },
  49. "APIModules": {
  50. "commentblock": "CommentBlockAPI",
  51. "commentdelete": "CommentDeleteAPI",
  52. "commentlatestid": "CommentLatestIdAPI",
  53. "commentlist": "CommentListAPI",
  54. "commentsubmit": "CommentSubmitAPI",
  55. "commentvote": "CommentVoteAPI"
  56. },
  57. "MessagesDirs": {
  58. "Comments": [
  59. "i18n"
  60. ]
  61. },
  62. "ExtensionMessagesFiles": {
  63. "CommentsAliases": "Comments.i18n.alias.php",
  64. "CommentsMagic": "Comments.i18n.magic.php",
  65. "NumberOfCommentsMagic": "Comments.i18n.magic.php"
  66. },
  67. "AutoloadClasses": {
  68. "Comment": "includes/Comment.php",
  69. "CommentsPage": "includes/CommentsPage.php",
  70. "NumberOfComments": "includes/parser/NumberOfComments.php",
  71. "DisplayComments": "includes/parser/DisplayComments.php",
  72. "CommentFunctions": "includes/CommentFunctions.php",
  73. "CommentIgnoreList": "includes/specials/CommentIgnoreList.php",
  74. "CommentsLogFormatter": "includes/CommentsLogFormatter.php",
  75. "CommentsHooks": "includes/CommentsHooks.php",
  76. "CommentBlockAPI": "includes/api/CommentBlockAPI.php",
  77. "CommentDeleteAPI": "includes/api/CommentDeleteAPI.php",
  78. "CommentLatestIdAPI": "includes/api/CommentLatestIdAPI.php",
  79. "CommentListAPI": "includes/api/CommentListAPI.php",
  80. "CommentSubmitAPI": "includes/api/CommentSubmitAPI.php",
  81. "CommentVoteAPI": "includes/api/CommentVoteAPI.php"
  82. },
  83. "ResourceModules": {
  84. "ext.comments.css": {
  85. "styles": "resources/css/Comments.css",
  86. "targets": [
  87. "desktop",
  88. "mobile"
  89. ]
  90. },
  91. "ext.comments.js": {
  92. "scripts": "resources/js/Comment.js",
  93. "dependencies": [ "mediawiki.api" ],
  94. "messages": [
  95. "comments-voted-label",
  96. "comments-loading",
  97. "comments-auto-refresher-pause",
  98. "comments-auto-refresher-enable",
  99. "comments-cancel-reply",
  100. "comments-reply-to",
  101. "comments-block-warning-anon",
  102. "comments-block-warning-user",
  103. "comments-delete-warning"
  104. ],
  105. "targets": [
  106. "desktop",
  107. "mobile"
  108. ]
  109. }
  110. },
  111. "ResourceFileModulePaths": {
  112. "localBasePath": "",
  113. "remoteExtPath": "Comments"
  114. },
  115. "Hooks": {
  116. "ParserFirstCallInit": "CommentsHooks::onParserFirstCallInit",
  117. "LoadExtensionSchemaUpdates": "CommentsHooks::onLoadExtensionSchemaUpdates",
  118. "RenameUserSQL": "CommentsHooks::onRenameUserSQL",
  119. "MagicWordwgVariableIDs": "NumberOfComments::onMagicWordwgVariableIDs",
  120. "ParserGetVariableValueSwitch": "NumberOfComments::onParserGetVariableValueSwitch"
  121. },
  122. "config": {
  123. "CommentsDefaultAvatar": "http://www.shoutwiki.com/w/extensions/SocialProfile/avatars/default_ml.gif",
  124. "CommentsSortDescending": false,
  125. "CommentsInRecentChanges": false
  126. },
  127. "manifest_version": 1
  128. }