diff --git a/dokuwiki/templates/blacklist.sh.j2 b/dokuwiki/templates/blacklist.sh.j2 index f382c9994fd0ddf9f5b815e0800bb87580eef579..cd571bd2686b700a4e5a1974fde3c7ed71c86e62 100644 --- a/dokuwiki/templates/blacklist.sh.j2 +++ b/dokuwiki/templates/blacklist.sh.j2 @@ -1,5 +1,9 @@ #!/bin/sh +# taken from https://www.dokuwiki.org/blacklist +# under CC BY-SA 4.0 International https://creativecommons.org/licenses/by-sa/4.0/deed.en +# for authors see https://www.dokuwiki.org/blacklist?do=revisions + blacklist="https://meta.wikimedia.org/wiki/Spam_blacklist?action=raw" {% for dw in dokuwiki %} diff --git a/dokuwiki/templates/cleanup.sh.j2 b/dokuwiki/templates/cleanup.sh.j2 index d29eb237adf62df627326177196ac6d09aacad8b..ef2ec1c734314226ce2919bf5b413e99a6fa8015 100644 --- a/dokuwiki/templates/cleanup.sh.j2 +++ b/dokuwiki/templates/cleanup.sh.j2 @@ -1,5 +1,9 @@ #!/bin/bash +# taken from https://www.dokuwiki.org/tips:maintenance#automatic_cleanup_script +# under CC BY-SA 4.0 International https://creativecommons.org/licenses/by-sa/4.0/deed.en +# for authors see https://www.dokuwiki.org/tips:maintenance#automatic_cleanup_script?do=revisions + function cleanup() { local data_path="$1" # full path to data directory of wiki diff --git a/dokuwiki/templates/delete_old_files.py.j2 b/dokuwiki/templates/delete_old_files.py.j2 index 7f389245348b583b92aef309d286224aa000d1b3..e24867a559988b6c24a6e50bfabf6d80f5e62cff 100644 --- a/dokuwiki/templates/delete_old_files.py.j2 +++ b/dokuwiki/templates/delete_old_files.py.j2 @@ -1,4 +1,9 @@ #!/usr/bin/env python3 + +# taken from https://www.dokuwiki.org/install:unused_files +# under CC BY-SA 4.0 International https://creativecommons.org/licenses/by-sa/4.0/deed.en +# for authors see https://www.dokuwiki.org/install:unused_files?do=revisions + import os import os.path import shutil