aboutsummaryrefslogtreecommitdiffstats
path: root/app/wikiparser.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'app/wikiparser.mjs')
-rw-r--r--app/wikiparser.mjs18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/wikiparser.mjs b/app/wikiparser.mjs
index a089c29..512d985 100644
--- a/app/wikiparser.mjs
+++ b/app/wikiparser.mjs
@@ -1,5 +1,23 @@
'use strict';
+// This file is a modified version of Nixinova/Wikity, whose license is given below:
+// Original: https://www.npmjs.com/package/wikity
+//
+// ISC License
+//
+// Copyright © 2021 Nixinova
+//
+// Permission to use, copy, modify, and/or distribute this software for any purpose with or
+// without fee is hereby granted, provided that the above copyright notice and this
+// permission notice appear in all copies.
+//
+// The software is provided "as is" and the author disclaims all warranties with regard to
+// this software including all implied warranties of merchantability and fitness. In no
+// event shall the author be liable for any special, direct, indirect, or consequential
+// damages or any damages whatsoever resulting from loss of use, data or profits, whether
+// in an action of contract, negligence or other tortious action, arising out of or in
+// connection with the use or performance of this software.
+
import { PARSER_MAX_RECURSION, TEMPLATE_DIR, IMAGES_DIR } from './constants.mjs';
import dateFormat from 'dateformat';
import htmlEscape from 'escape-html';