-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension.json
69 lines (69 loc) · 2.07 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
{
"name": "AutoLinksToAnotherWiki",
"version": "0.0.4",
"author": "Edward Chernenko",
"url": "https://www.mediawiki.org/wiki/Extension:AutoLinksToAnotherWiki",
"descriptionmsg": "autolinkstoanotherwiki-desc",
"license-name": "GPL-2.0+",
"requires": {
"MediaWiki": ">= 1.43.0"
},
"type": "other",
"AutoloadClasses": {
"MediaWiki\\AutoLinksToAnotherWiki\\AnotherWikiPages": "includes/AnotherWikiPages.php",
"MediaWiki\\AutoLinksToAnotherWiki\\ReplaceTextInHtml": "includes/ReplaceTextInHtml.php",
"MediaWiki\\AutoLinksToAnotherWiki\\Hooks": "includes/Hooks.php"
},
"HookHandlers": {
"main": {
"class": "MediaWiki\\AutoLinksToAnotherWiki\\Hooks",
"services": [
"MainConfig",
"AutoLinksToAnotherWiki.AnotherWikiPages",
"ActionFactory"
]
}
},
"Hooks": {
"BeforePageDisplay": "main"
},
"MessagesDirs": {
"AutoLinksToAnotherWiki": [
"i18n"
]
},
"config": {
"AutoLinksToAnotherWikiApiUrl": {
"value": "",
"description": "Absolute URL of /api.php on another wiki."
},
"AutoLinksToAnotherWikiCategoryName": {
"value": "AutoLinks",
"description": "All pages in this category will have the links automatically added into them."
},
"AutoLinksToAnotherWikiNamespaces": {
"value": [],
"description": "All pages in these namespaces (e.g. [NS_MAIN, NS_FILE]) will have the links automatically added into them."
},
"AutoLinksToAnotherWikiMaxTitles": {
"value": 1000,
"description": "Maximum number of page titles (total) to fetch from another wiki."
},
"AutoLinksToAnotherWikiOnlyWithinClassName": {
"value": "",
"description": "If not empty, replacements will only occur within HTML elements with this CSS class name."
},
"AutoLinksToAnotherWikiQueryLimit": {
"value": 500,
"description": "Maximum number of page titles to fetch with 1 API request to another wiki. (most wikis don't allow values above 500)"
},
"AutoLinksToAnotherWikiExcludeLinksTo": {
"value": [],
"description": "Links to these pages won't be added."
}
},
"ServiceWiringFiles": [
"includes/ServiceWiring.php"
],
"manifest_version": 2
}