-
Notifications
You must be signed in to change notification settings - Fork 2
/
extension.json
103 lines (103 loc) · 3.19 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
{
"name": "Global Usage",
"version": "2.2.0",
"author": "Bryan Tong Minh",
"url": "https://www.mediawiki.org/wiki/Extension:GlobalUsage",
"descriptionmsg": "globalusage-desc",
"license-name": "MIT",
"requires": {
"MediaWiki": ">= 1.28.0"
},
"type": "specialpage",
"SpecialPages": {
"MostGloballyLinkedFiles": "SpecialMostGloballyLinkedFiles",
"GloballyWantedFiles": "SpecialGloballyWantedFiles",
"GloballyUnusedFiles": "SpecialGloballyUnusedFiles",
"GlobalUsage": "SpecialGlobalUsage"
},
"JobClasses": {
"globalUsageCachePurge": "GlobalUsageCachePurgeJob"
},
"APIPropModules": {
"globalusage": "ApiQueryGlobalUsage"
},
"MessagesDirs": {
"GlobalUsage": [
"i18n"
]
},
"ExtensionMessagesFiles": {
"GlobalUsageAliases": "GlobalUsage.alias.php"
},
"AutoloadClasses": {
"GlobalUsage": "includes/GlobalUsage.php",
"GlobalUsageHooks": "includes/GlobalUsageHooks.php",
"GlobalUsageImagePageHooks": "includes/GlobalUsageImagePageHooks.php",
"SpecialGlobalUsage": "includes/SpecialGlobalUsage.php",
"GlobalUsageQuery": "includes/GlobalUsageQuery.php",
"ApiQueryGlobalUsage": "includes/ApiQueryGlobalUsage.php",
"GlobalUsageCachePurgeJob": "includes/GlobalUsageCachePurgeJob.php",
"SpecialMostGloballyLinkedFiles": "includes/SpecialMostGloballyLinkedFiles.php",
"SpecialGloballyWantedFiles": "includes/SpecialGloballyWantedFiles.php",
"SpecialGloballyUnusedFiles": "includes/SpecialGloballyUnusedFiles.php",
"GlobalUsageHelper": "includes/GlobalUsageHelper.php"
},
"@doc": [
"Things that can cause link updates:",
"- Local LinksUpdate",
"- Local article deletion (remove from table)",
"- Local article move (update page title)",
"- Local file upload/deletion/move"
],
"Hooks": {
"LinksUpdateComplete": [
"GlobalUsageHooks::onLinksUpdateComplete"
],
"ArticleDeleteComplete": [
"GlobalUsageHooks::onArticleDeleteComplete"
],
"FileDeleteComplete": [
"GlobalUsageHooks::onFileDeleteComplete"
],
"FileUndeleteComplete": [
"GlobalUsageHooks::onFileUndeleteComplete"
],
"UploadComplete": [
"GlobalUsageHooks::onUploadComplete"
],
"TitleMoveComplete": [
"GlobalUsageHooks::onTitleMoveComplete"
],
"ImagePageAfterImageLinks": [
"GlobalUsageImagePageHooks::onImagePageAfterImageLinks"
],
"ImagePageShowTOC": [
"GlobalUsageImagePageHooks::onImagePageShowTOC"
],
"ParserTestTables": [
"GlobalUsageHooks::onParserTestTables"
],
"LoadExtensionSchemaUpdates": [
"GlobalUsageHooks::onLoadExtensionSchemaUpdates"
],
"wgQueryPages": [
"GlobalUsageHooks::onwgQueryPages"
]
},
"config": {
"@docGlobalUsageDatabase": [
"If set to false, the local database contains the globalimagelinks table",
"Else set to something understandable to LBFactory"
],
"GlobalUsageDatabase": false,
"@docGlobalUsageSharedRepoWiki": "Name of the shared repo that backlinks are shared for",
"GlobalUsageSharedRepoWiki": false,
"@docGlobalUsagePurgeBacklinks": [
"If set to true, this will purge pages on the wikis that use a file when it changes.",
"This works by directly inserting HTMLCacheUpdate jobs into the local wikis.",
"@see $wgGlobalUsagePurgeBacklinks"
],
"GlobalUsagePurgeBacklinks": false
},
"manifest_version": 1
}