-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathextension.json
73 lines (73 loc) · 1.9 KB
/
extension.json
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
{
"name": "Article Ranking",
"version": "1.0.0a",
"author": [
"Tal Koren (Interjet, Kol Zchut)",
"Dror S. [FFS] ([https://www.kolzchut.org.il Kol-Zchut])"
],
"descriptionmsg": "An extension that allows anonymous users to rate articles",
"url": "https://github.com/kolzchut/mediawiki-extensions-ArticleRanking",
"license-name": "MIT",
"type": "other",
"AutoloadClasses": {
"ArticleRanking": "ArticleRanking.php",
"ARVoteAPI": "api/ARVoteAPI.php",
"ARGetVotesAPI": "api/ARGetVotesAPI.php",
"ArticleRankingHooks": "ArticleRankingHooks.php",
"ARDatabasePatcher": "patches/ARDatabasePatcher.php",
"ARDatabase": "includes/ARDatabase.php",
"ARCaptcha": "includes/ARCaptcha.php"
},
"APIModules": {
"rank-vote": "ARVoteAPI",
"rank-votes": "ARGetVotesAPI"
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "WikiRights/ArticleRanking"
},
"ResourceModules": {
"ext.articleRanking": {
"scripts": "modules/article-ranking.script.js",
"styles": "modules/article-ranking.style.less",
"dependencies": [
"mediawiki.jqueryMsg",
"mediawiki.api"
],
"messages": [
"ranking-vote-success",
"ranking-vote-fail",
"ranking-cr-form-title"
]
},
"ext.articleRanking.changeRequest": {
"scripts": "modules/articleRanking.changeRequest.js",
"dependencies": ["ext.wr.ShareBar.js", "mediawiki.Uri"]
}
},
"Hooks": {
"BeforePageDisplay": "ArticleRankingHooks::onBeforePageDisplay",
"LoadExtensionSchemaUpdates": "ARDatabasePatcher::applyUpdates",
"ResourceLoaderGetConfigVars": [ "ArticleRankingHooks::onResourceLoaderGetConfigVars" ]
},
"MessagesDirs": {
"ArticleRanking": [
"i18n"
]
},
"config": {
"ArticleRankingConfig": {
"changerequest": {
"url": "/forms/ChangeRequest/",
"width": 750,
"height": 650
},
"trackClicks": true
},
"ArticleRankingCaptcha": {
"siteKey": "",
"secret": ""
}
},
"manifest_version": 1
}