diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2021-04-02 23:17:54 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2021-04-02 23:17:54 +0100 |
commit | bd8d59b343767261e6025048b78d90ff2a9288a5 (patch) | |
tree | 4fbebee3f659fc5f88776f3770cbd07494d25b48 /core | |
parent | ea221281a3ceae655643d5472d6e6357e1381d4c (diff) | |
download | troggle-bd8d59b343767261e6025048b78d90ff2a9288a5.tar.gz troggle-bd8d59b343767261e6025048b78d90ff2a9288a5.tar.bz2 troggle-bd8d59b343767261e6025048b78d90ff2a9288a5.zip |
restoring wiki_markup where still used
Diffstat (limited to 'core')
-rw-r--r-- | core/templatetags/wiki_markup.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/templatetags/wiki_markup.py b/core/templatetags/wiki_markup.py index 9aafb39..fff2836 100644 --- a/core/templatetags/wiki_markup.py +++ b/core/templatetags/wiki_markup.py @@ -7,6 +7,12 @@ from troggle.core.models_caves import LogbookEntry, QM, Cave import re, urllib.parse register = template.Library() +'''Several templates are still (2021) using these wiki filters extensively to process data extracted from the database, +and to restructure values into valid URLs to go elsewhere in the system, even where these are not actually 'wiki'. See +the regexes at the end of this file. +So the data in the database needs to be checked that there is no wiki-format content before these are deleted, and the +filter functions of these regexes needs to be explored in practice. +''' @register.filter() def plusone(n): |