-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfig.json.template
48 lines (48 loc) · 1.51 KB
/
config.json.template
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
{
"apis":{
"wikidata" : "https://www.wikidata.org/w/api.php",
"commons" : "https://commons.wikimedia.org/w/api.php"
} ,
"default_language":"en",
"default_api":"wikidata",
"prefer_preferred":true,
"namespace_blocks":{
"dewiki":[0],
"enwiki":[0],
"frwiki":[0]
} ,
"location_templates":{
"default":"{{Coord|$LAT$|$LON$|display=inline}}",
"wikidatawiki":"$LAT$/$LON$",
"commonswiki":"{{Inline coordinates|$LAT$|$LON$|display=inline}}",
"dewiki":"{{Coordinate|text=DMS|NS=$LAT$|EW=$LON$|name=$ITEM$|simple=y|type=landmark|region=$REGION$}}",
"enwiki":"{{#invoke:Coordinates|coord|$LAT$|$LON$|display=inline}}"
},
"wiki_login": {
"user": "XXX",
"pass": "XXX"
} ,
"mysql":{
"host":"THIS SECTION IS FOR BOT USE ONLY",
"user":"XXX",
"password":"XXX",
"port":3306,
"schema":"XXX",
"max_connections":8
},
"max_sparql_simultaneous": 5,
"max_sparql_attempts": 1,
"profiling":false,
"max_threads":64,
"pattern_string_start":"\\{\\{(Wikidata[ _]list[^\\|]*|",
"pattern_string_end":"\\{\\{(Wikidata[ _]list[ _]end|",
"max_concurrent_entry_queries": 250,
"max_local_cached_entities": 1000,
"api_timeout": 600,
"ms_delay_after_edit": 100,
"location_regions":["dewiki"],
"default_thumbnail_size" : 128 ,
"shadow_images_check" : [ "enwiki" ] ,
"template_start_q" : "Q19860885",
"template_end_q" : "Q19860887"
}