summaryrefslogtreecommitdiff
blob: 75048583c52d34478d07d0baa9f77048d28af28e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
	"name": "CommentStreams",
	"version": "4.5",
	"author": [
		"[https://www.mediawiki.org/wiki/User:Jji Jason Ji]",
		"[https://www.mediawiki.org/wiki/User:Cindy.cicalese Cindy Cicalese]"
	],
	"url": "https://www.mediawiki.org/wiki/Extension:CommentStreams",
	"descriptionmsg": "commentstreams-desc",
	"manifest_version": 1,
	"type": "parserhook",
	"SpecialPages": {
		"CommentStreamsAllComments": "CommentStreamsAllComments"
	},
	"MessagesDirs": {
		"CommentStreams": [
			"i18n"
		]
	},
	"ExtensionMessagesFiles": {
		"CommentStreamsAlias": "includes/CommentStreamsAllComments.alias.php"
	},
	"ResourceModules": {
		"ext.CommentStreams": {
			"styles": [
				"CommentStreams.css"
			],
			"scripts": [
				"CommentStreamsQuerier.js",
				"CommentStreams.js",
				"spin.min.js"
			],
			"dependencies": [
				"oojs-ui"
			],
			"targets": [
				"desktop",
				"mobile"
			],
			"messages": [
				"commentstreams-api-error-notloggedin",
				"commentstreams-api-error-commentnotfound",
				"commentstreams-api-error-notacomment",
				"commentstreams-api-error-missingcommenttitle",
				"commentstreams-api-error-post-permissions",
				"commentstreams-api-error-post-parentandtitle",
				"commentstreams-api-error-post-parentpagedoesnotexist",
				"commentstreams-api-error-post-associatedpageidmismatch",
				"commentstreams-api-error-post-associatedpagedoesnotexist",
				"commentstreams-api-error-post",
				"commentstreams-api-error-edit-notloggedin",
				"commentstreams-api-error-edit-permissions",
				"commentstreams-api-error-edit",
				"commentstreams-api-error-delete-notloggedin",
				"commentstreams-api-error-delete-permissions",
				"commentstreams-api-error-delete-haschildren",
				"commentstreams-api-error-delete",
				"commentstreams-api-error-vote-notloggedin",
				"commentstreams-api-error-vote-novoteonreply",
				"commentstreams-api-error-vote",
				"commentstreams-api-error-watch-notloggedin",
				"commentstreams-api-error-watch-nowatchreply",
				"commentstreams-api-error-watch",
				"commentstreams-api-error-unwatch-notloggedin",
				"commentstreams-api-error-unwatch-nounwatchreply",
				"commentstreams-api-error-unwatch",
				"commentstreams-validation-error-nocommenttitle",
				"commentstreams-validation-error-nocommenttext",
				"commentstreams-buttontext-add",
				"commentstreams-buttontext-reply",
				"commentstreams-buttontooltip-add",
				"commentstreams-buttontooltip-reply",
				"commentstreams-buttontooltip-edit",
				"commentstreams-buttontooltip-moderator-edit",
				"commentstreams-buttontooltip-delete",
				"commentstreams-buttontooltip-moderator-delete",
				"commentstreams-buttontooltip-permalink",
				"commentstreams-buttontooltip-collapse",
				"commentstreams-buttontooltip-expand",
				"commentstreams-buttontooltip-upvote",
				"commentstreams-buttontooltip-downvote",
				"commentstreams-buttontooltip-watch",
				"commentstreams-buttontooltip-unwatch",
				"commentstreams-buttontooltip-submit",
				"commentstreams-buttontooltip-cancel",
				"commentstreams-dialog-delete-message",
				"commentstreams-dialog-anonymous-message",
				"commentstreams-dialog-buttontext-ok",
				"commentstreams-dialog-buttontext-cancel",
				"commentstreams-dialog-buttontext-yes",
				"commentstreams-dialog-buttontext-no",
				"commentstreams-urldialog-instructions",
				"commentstreams-datetext-postedon",
				"commentstreams-datetext-lasteditedon",
				"commentstreams-datetext-moderated",
				"commentstreams-title-field-placeholder",
				"commentstreams-body-field-placeholder",
				"commentstreams-ve-conversion-error"
			]
		},
		"ext.CommentStreamsAllComments": {
			"styles": [
				"CommentStreamsAllComments.css"
			],
			"targets": [
				"desktop",
				"mobile"
			]
		}
	},
	"ResourceFileModulePaths": {
		"localBasePath": "resources",
		"remoteExtPath": "CommentStreams/resources"
	},
	"AutoloadClasses": {
		"CommentStreamsHooks": "includes/CommentStreamsHooks.php",
		"CommentStreamsUtils": "includes/CommentStreamsUtils.php",
		"CommentStreams": "includes/CommentStreams.php",
		"Comment": "includes/Comment.php",
		"ApiCSBase": "includes/ApiCSBase.php",
		"ApiCSPostComment": "includes/ApiCSPostComment.php",
		"ApiCSQueryComment": "includes/ApiCSQueryComment.php",
		"ApiCSEditComment": "includes/ApiCSEditComment.php",
		"ApiCSDeleteComment": "includes/ApiCSDeleteComment.php",
		"ApiCSVote": "includes/ApiCSVote.php",
		"ApiCSWatch": "includes/ApiCSWatch.php",
		"ApiCSUnwatch": "includes/ApiCSUnwatch.php",
		"EchoCSPresentationModel": "includes/EchoCSPresentationModel.php",
		"CommentStreamsAllComments": "includes/CommentStreamsAllComments.php"
	},
	"APIModules": {
		"csPostComment": "ApiCSPostComment",
		"csQueryComment": "ApiCSQueryComment",
		"csEditComment": "ApiCSEditComment",
		"csDeleteComment": "ApiCSDeleteComment",
		"csVote": "ApiCSVote",
		"csWatch": "ApiCSWatch",
		"csUnwatch": "ApiCSUnwatch"
	},
	"Hooks": {
		"LoadExtensionSchemaUpdates": "CommentStreamsHooks::addCommentTableToDatabase",
		"CanonicalNamespaces": "CommentStreamsHooks::addCommentStreamsNamespaces",
		"MediaWikiPerformAction": "CommentStreamsHooks::onMediaWikiPerformAction",
		"MovePageIsValidMove": "CommentStreamsHooks::onMovePageIsValidMove",
		"userCan": "CommentStreamsHooks::userCan",
		"ParserFirstCallInit": "CommentStreamsHooks::onParserSetup",
		"BeforePageDisplay": "CommentStreamsHooks::addCommentsAndInitializeJS",
		"ShowSearchHitTitle": "CommentStreamsHooks::showSearchHitTitle",
		"smwInitProperties": "CommentStreamsHooks::initProperties",
		"SMWStore::updateDataBefore": "CommentStreamsHooks::updateData",
		"BeforeCreateEchoEvent": "CommentStreamsHooks::onBeforeCreateEchoEvent"
	},
	"callback" : "CommentStreamsHooks::onRegistration",
	"config": {
		"CommentStreamsNamespaceIndex": 844,
		"CommentStreamsAllowedNamespaces" : null,
		"CommentStreamsEnableTalk": false,
		"CommentStreamsNewestStreamsOnTop": true,
		"CommentStreamsModeratorFastDelete": false,
		"CommentStreamsShowLabels": true,
		"CommentStreamsEnableVoting": false,
		"CommentStreamsInitiallyCollapsedNamespaces" : [],
		"CommentStreamsUserRealNamePropertyName" : null,
		"CommentStreamsUserAvatarPropertyName" : null
	}
}