-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathextension.json
107 lines (107 loc) · 3.13 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
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
{
"name": "Drafts",
"version": "0.3.7",
"author": [
"Trevor Parscal",
"Petr Bena"
],
"url": "https://www.mediawiki.org/wiki/Extension:Drafts",
"descriptionmsg": "drafts-desc",
"license-name": "GPL-2.0-or-later",
"type": "other",
"requires": {
"MediaWiki": ">= 1.35.3"
},
"config_prefix": "eg",
"config": {
"DraftsAutoSaveWait": {
"value": 120,
"path": false,
"description": "Seconds of inactivity after change before autosaving. Use the value 0 to disable autosave",
"public": false
},
"DraftsAutoSaveInputBased": {
"value": false,
"path": false,
"description": "Enable auto save only if user stop typing (less auto saves, but much worse recovery ability)",
"public": false
},
"DraftsAutoSaveTimeout": {
"value": 20,
"path": false,
"description": "Seconds to wait until giving up on a response from the server. Use the value 0 to disable autosave",
"public": false
},
"DraftsLifeSpan": {
"value": 30,
"path": false,
"description": "Days to keep drafts around before automatic deletion. Set to 0 to keep forever.",
"public": false
},
"DraftsCleanRatio": {
"value": 1000,
"path": false,
"description": "Ratio of times which a list of drafts requested and the list should be pruned for expired drafts - expired drafts will not apear in the list even if they are not yet pruned, this is just a way to keep the database from filling up with old drafts",
"public": false
}
},
"AutoloadClasses": {
"ApiLoadDrafts": "includes/api/ApiLoadDrafts.php",
"ApiSaveDrafts": "includes/api/ApiSaveDrafts.php",
"Drafts": "includes/Drafts.php",
"Draft": "includes/Draft.php",
"DraftHooks": "includes/DraftHooks.php",
"SpecialDrafts": "includes/specials/SpecialDrafts.php"
},
"APIModules": {
"loaddrafts": "ApiLoadDrafts",
"savedrafts": "ApiSaveDrafts"
},
"SpecialPages": {
"Drafts": "SpecialDrafts"
},
"ExtensionMessagesFiles": {
"DraftsAlias": "Drafts.alias.php"
},
"MessagesDirs": {
"Drafts": [
"i18n"
]
},
"ResourceModules": {
"ext.Drafts": {
"scripts": "modules/ext.Drafts.js",
"styles": "modules/ext.Drafts.css",
"dependencies": [
"mediawiki.jqueryMsg",
"oojs-ui-core",
"oojs-ui-widgets"
],
"messages": [
"drafts-save-save",
"drafts-save-saved",
"drafts-save-saving",
"drafts-save-error",
"drafts-view-warn"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "Drafts"
},
"Hooks": {
"UserGetDefaultOptions": "DraftHooks::onUserGetDefaultOptions",
"GetPreferences": "DraftHooks::onGetPreferences",
"EditFilter": "DraftHooks::onEditFilter",
"PageSaveComplete": "DraftHooks::onPageSaveComplete",
"ArticleUndelete": "DraftHooks::onArticleUndelete",
"SpecialMovepageAfterMove": "DraftHooks::onSpecialMovepageAfterMove",
"EditPageBeforeEditButtons": "DraftHooks::onEditPageBeforeEditButtons",
"EditPage::showEditForm:initial": "DraftHooks::loadForm",
"EditPage::attemptSave:after": "DraftHooks::onEditPage__attemptSave_after",
"ResourceLoaderGetConfigVars": "DraftHooks::onResourceLoaderGetConfigVars",
"LoadExtensionSchemaUpdates": "DraftHooks::schema"
},
"manifest_version": 2
}