/
config.json
25 lines (25 loc) · 1017 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
{
"project_name": "Wiki2Print",
"port": 5522,
"dir_path": ".",
"wiki": {
"base_url": "https://wiki2print.hackersanddesigners.nl/wiki/mediawiki",
"subject_ns": { "name": "Publishing", "id": 3000 },
"styles_ns": { "name": "PublishingCSS", "id": 3001 },
"scripts_ns": { "name": "PublishingJS", "id": 3002 }
},
"pagename": "Making_Matters_Lexicon",
"stylesheet": "print.css",
"replacements": [
{
"type": "replace",
"search": "<a href=\"#X,_y,_z_(4_filmstills)\"",
"replace": "<a href=\"#x,_y,_z_(4_filmstills)\""
},
{
"type": "regex",
"search": "<h3><span class=\"mw-headline\" id=\"References.*?\">References</span><span class=\"mw-editsection\"><span class=\"mw-editsection-bracket\"></span></span></h3><ul>",
"replace": "<h3 class=\"references\"><span class=\"mw-headline\" id=\"References\">References</span><span class=\"mw-editsection\"><span class=\"mw-editsection-bracket\"></span></span></h3><ul class=\"references\">"
}
]
}