summaryrefslogtreecommitdiff
path: root/Mailman/Defaults.py.in
diff options
context:
space:
mode:
authorbwarsaw2001-10-10 04:31:19 +0000
committerbwarsaw2001-10-10 04:31:19 +0000
commit2022a552b86f30f4b6cc512b74d2af146db14f6d (patch)
tree7c5e38e767a84024182e1d75cb9fb7e44f5b469d /Mailman/Defaults.py.in
parent818374434d01866af7b24877b7e07064eca0c524 (diff)
downloadmailman-2022a552b86f30f4b6cc512b74d2af146db14f6d.tar.gz
mailman-2022a552b86f30f4b6cc512b74d2af146db14f6d.tar.zst
mailman-2022a552b86f30f4b6cc512b74d2af146db14f6d.zip
The semantics of PUBLIC_ARCHIVE_URL are changed to be a template into
which %(listname)s will be interpolated. This makes it possible to set PUBLIC_ARCHIVE_URL to something that's appropriate for (hopefully) any external archiver.
Diffstat (limited to 'Mailman/Defaults.py.in')
-rw-r--r--Mailman/Defaults.py.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in
index 2e26bee95..6fc7ebd8e 100644
--- a/Mailman/Defaults.py.in
+++ b/Mailman/Defaults.py.in
@@ -59,7 +59,6 @@ DEFAULT_URL_PATTERN = 'http://%s/mailman/'
DEFAULT_HOST_NAME = DEFAULT_EMAIL_HOST
DEFAULT_URL = DEFAULT_URL_PATTERN % DEFAULT_URL_HOST
-PUBLIC_ARCHIVE_URL = '/pipermail'
HOME_PAGE = 'index.html'
MAILMAN_SITE_LIST = 'mailman'
@@ -138,6 +137,14 @@ WEB_HIGHLIGHT_COLOR = '#dddddd' # If true, alternating rows
# Archive defaults
#####
+# The url template for the public archives. This will be used in several
+# places, including the List-Archive: header, links to the archive on the
+# list's listinfo page, and on the list's admin page.
+#
+# This should be a string with "%(listname)s" somewhere in it. Mailman will
+# interpolate the name of the list into this.
+PUBLIC_ARCHIVE_URL = '/pipermail/%(listname)s'
+
# Are archives on or off by default?
DEFAULT_ARCHIVE = 1 # 0=Off, 1=On