You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
751 B
19 lines
751 B
{
|
|
"project_name": "wiki-to-print",
|
|
"port": 5522,
|
|
"dir_path": ".",
|
|
"wiki": {
|
|
"base_url": "https://example.com/wiki/",
|
|
"subject_ns": { "name": "Pdf", "id": 3000 },
|
|
"styles_ns": { "name": "PdfCSS", "id": 3001 }
|
|
},
|
|
"pagename": "Test",
|
|
"stylesheet": "print.css",
|
|
"replacements": [
|
|
{
|
|
"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\">"
|
|
}
|
|
]
|
|
}
|
|
|