-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
25 lines (25 loc) · 963 Bytes
/
config.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
{
"site" : "${MW_SITE_NAME}" ,
"bot_config_file" : "/var/www/html/bot.ini" ,
"logfile" : "/var/log/quickstatements/tool.log" ,
"sites" : {
"${MW_SITE_NAME}" : {
"oauth" : {
"language":"${MW_SITE_LANG}" ,
"project":"${MW_SITE_NAME}" ,
"ini_file":"/quickstatements/data/oauth.ini" ,
"publicMwOAuthUrl":"${WB_PUBLIC_SCHEME_HOST_AND_PORT}/w/index.php?title=Special:OAuth" ,
"mwOAuthUrl":"${WB_PUBLIC_SCHEME_HOST_AND_PORT}/w/index.php?title=Special:OAuth" ,
"mwOAuthIW":"mw"
} ,
"server" : "${WB_PUBLIC_SCHEME_HOST_AND_PORT}" ,
"api" : "${WB_PUBLIC_SCHEME_HOST_AND_PORT}/w/api.php" ,
"pageBase" : "${WB_PUBLIC_SCHEME_HOST_AND_PORT}/wiki/" ,
"toolBase" : "${QS_PUBLIC_SCHEME_HOST_AND_PORT}/" ,
"types" : {
"P" : { "type":"property" , "ns":"${WB_PROPERTY_NAMESPACE}" , "ns_prefix":"${WB_PROPERTY_PREFIX}" } ,
"Q" : { "type":"item" , "ns":"${WB_ITEM_NAMESPACE}" , "ns_prefix":"${WB_ITEM_PREFIX}" }
}
}
}
}