'
- theme: europython
- psf:
- name: Private PSF Wiki
- regex: '^https?://[^/]+(:\d+)?/psf.*$'
- logo: Private PSF Wiki
- acls:
- before: "AdminGroup:read,write,delete,revert,admin"
- default: ""
- after: "MembersGroup:read,write,delete,revert All:"
- linkspam: False
- jython:
- name: Jython Wiki
- regex: '^https?://[^/]+(:\d+)?/jython.*$'
- logo: '
'
- interwiki: JythonWiki
diff --git a/pillar/dev/roles.sls b/pillar/dev/roles.sls
index b9c7b12a..53ed2b72 100644
--- a/pillar/dev/roles.sls
+++ b/pillar/dev/roles.sls
@@ -83,6 +83,6 @@ roles:
purpose: ""
contact: ""
moin:
- pattern: "moin.vagrant.psf.io"
- purpose: ""
+ pattern: "wiki.vagrant.psf.io"
+ purpose: "Static wiki archive"
contact: ""
diff --git a/pillar/dev/top.sls b/pillar/dev/top.sls
index ba30da18..a1b3dd2b 100644
--- a/pillar/dev/top.sls
+++ b/pillar/dev/top.sls
@@ -90,5 +90,4 @@ base:
'wiki':
- match: nodegroup
- - moin
- firewall.rs-lb-backend
diff --git a/pillar/prod/roles.sls b/pillar/prod/roles.sls
index 4188bf61..451685ad 100644
--- a/pillar/prod/roles.sls
+++ b/pillar/prod/roles.sls
@@ -87,7 +87,7 @@ roles:
contact: "Infrastructure Staff"
category: "infra-infra"
moin:
- pattern: "moin*.nyc1.psf.io"
- purpose: "Hosts moin sites for wiki.python.org, wiki.jython.org"
- contact: "lemburg"
+ pattern: "wiki*.nyc1.psf.io"
+ purpose: "Static wiki archive for wiki.python.org, wiki.jython.org"
+ contact: "Infrastructure Staff"
category: "community"
diff --git a/pillar/prod/top.sls b/pillar/prod/top.sls
index ae588f28..26e9be93 100644
--- a/pillar/prod/top.sls
+++ b/pillar/prod/top.sls
@@ -87,7 +87,6 @@ base:
'moin':
- match: nodegroup
- - mail-opt-out
- firewall.rs-lb-backend
- backup.moin
diff --git a/salt/moin/configs/farmconfig.py b/salt/moin/configs/farmconfig.py
deleted file mode 100644
index afaad966..00000000
--- a/salt/moin/configs/farmconfig.py
+++ /dev/null
@@ -1,182 +0,0 @@
-# -*- coding: utf-8 -*-
-# IMPORTANT! This encoding (charset) setting MUST be correct! If you live in a
-# western country and you don't know that you use utf-8, you probably want to
-# use iso-8859-1 (or some other iso charset). If you use utf-8 (a Unicode
-# encoding) you MUST use: coding: utf-8
-# That setting must match the encoding your editor uses when you modify the
-# settings below. If it does not, special non-ASCII chars will be wrong.
-
-"""
- MoinMoin - Configuration for a wiki farm
-
- If you run a single wiki only, you can omit this file file and just
- use wikiconfig.py - it will be used for every request we get in that
- case.
-
- Note that there are more config options than you'll find in
- the version of this file that is installed by default; see
- the module MoinMoin.multiconfig for a full list of names and their
- default values.
-
- Also, the URL http://moinmoin.wikiwikiweb.de/HelpOnConfiguration has
- a list of config options.
-
- @copyright: 2000-2004 by Juergen Hermann Please note: This wiki is - #currently running in test mode after an attack on January 5 2013. - #All passwords were reset, so you will have to use the password recovery function to get a new - #password. To edit wiki pages, please log in first. See the wiki attack description page for more - #details. If you find problems, please report them to the pydotorg-www mailing list. - #
""" - - # as it isnt modified, it can be share between all instances: - data_underlay_dir = '/data/moin/instances/underlay/' - - shared_intermap = '/etc/moin/shared_intermap.txt' - - xapian_index_dir = '/data/moin/instances/xapian' - xapian_search = True - - # options people are likely to change due to personal taste - show_hosts = 1 # show hostnames? - nonexist_qm = 0 # show '?' for nonexistent? - backtick_meta = 1 # allow `inline typewriter`? - allow_extended_names = 1 # allow ["..."] markup? - edit_rows = 20 # editor size - edit_cols = 50 - max_macro_size = 50 # max size of RecentChanges in KB (0=unlimited) - bang_meta = 1 # use ! to escape WikiNames? - show_section_numbers = 0 # enumerate headlines? - user_checkbox_defaults = {'edit_on_doubleclick': 0} - - editor_default = 'text' - editor_force = True - editor_ui = 'text' - - # Charting needs "gdchart" installed! (None to disable charting) - chart_options = {'width': 600, 'height': 300} - - # Allow new user creation - actions_superuser = multiconfig.DefaultConfig.actions_superuser[:] - actions_superuser.remove('newaccount') - - # Disable certain actions that aren't very useful for us. - actions_excluded = multiconfig.DefaultConfig.actions_excluded[:] - # on default this is "xmlrpc", "CopyPages", "MyPages" - - # this disables the user to create a zip file from a page - # and download this file - actions_excluded.append('PackagePages') - # this disables the user to sync pages to an other wiki, this works onl - # if xmlrpc is enabled - actions_excluded.append('SyncPages') - # the content should not be rendered as docbook - actions_excluded.append('RenderAsDocbook') - # noone on this wikis wants to mass (un)subscribe users to a page - actions_excluded.append('SubscribeUser') - # makes it impossible for users to save a raw copy of the markup easy to a file - actions_excluded.append('Save') - - actions_excluded.append('Load') - actions_excluded.append('twikidraw') - actions_excluded.append('anywikidraw') - #check where that in 1.9 is used - #actions_excluded.append('cache') - actions_excluded.append('chart') - # can be removed after language packs are installed - #actions_excluded('LanguageSetup') - actions_excluded.append('pollsistersites') - # language setup only needs to be done after update/reinstall - actions_excluded.append('language_setup') - # don't need a server - actions_excluded.append('serveopenid') - actions_excluded.append('showtags') - actions_excluded.append('sisterpages') - actions_excluded.append('thread_monitor') - - # mail functions. use empty mail_smarthost to disable. - mail_smarthost = 'mail.python.org' - mail_from = 'Python Wiki
My Wiki'
- # For no logo or text, use ''
- logo_string = u'
'
-
- # The interwiki name used in interwiki links
- interwikiname = 'JythonWiki'
-
-
- # Critical setup ---------------------------------------------------
-
- # Misconfiguration here will render your wiki unusable. Check that
- # all directories are accessible by the web server or moin server.
-
- # If you encounter problems, try to set data_dir and data_underlay_dir
- # to absolute paths.
-
- # Where your mutable wiki pages are. You want to make regular
- # backups of this directory.
- data_dir = '/data/moin/instances/jython/data/'
-
- # Where read-only system and help page are. You might want to share
- # this directory between several wikis. When you update MoinMoin,
- # you can safely replace the underlay directory with a new one. This
- # directory is part of MoinMoin distribution, you don't have to
- # backup it.
- ## data_underlay_dir = '/data/moin/instances/underlay/'
-
- # This must be '/wiki' for twisted and standalone. For CGI, it should
- # match your Apache Alias setting.
- ## url_prefix = 'http://wiki.python.org/wiki'
-
-
- # Security ----------------------------------------------------------
-
- # Security critical actions (disabled by default)
- # Uncomment to enable options you like.
- # IMPORTANT: grant yourself admin rights! replace YourName with
- # your user name. See HelpOnAccessControlLists for more help.
- acl_rights_before = u"BlockedUsersGroup: AdminGroup:read,write,delete,revert,admin"
-
- # Only users in the NewUsersGroup may edit pages, since we're simply
- # getting too much spam and vandalism. MAL 2014-05-31
- acl_rights_default = u"EditorsGroup:read,write,delete,revert All:read"
-
- # Link spam protection for public wikis (Uncomment to enable)
- # Needs a reliable internet connection.
- from MoinMoin.security.antispam import SecurityPolicy
-
-
- # User interface ----------------------------------------------------
-
- # Add your wikis important pages at the end. It is not recommended to
- # remove the default links. Leave room for user links - don't use
- # more than 6 short items.
- # You MUST use Unicode strings here, but you need not use localized
- # page names for system and help pages, those will be used automatically
- # according to the user selected language. [Unicode]
- navi_bar = [
- # Will use page_front_page, (default FrontPage)
- u'%(page_front_page)s',
- u'RecentChanges',
- u'FindPage',
- u'HelpContents',
- ]
-
- # The default theme anonymous or new users get
- ##theme_default = 'jythonwiki'
-
-
- # Language options --------------------------------------------------
-
- # See http://moinmoin.wikiwikiweb.de/ConfigMarket for configuration in
- # YOUR language that other people contributed.
-
- # The main wiki language, set the direction of the wiki pages
- default_lang = 'en'
-
- # Content options ---------------------------------------------------
-
- # Show users hostnames in RecentChanges
- show_hosts = 1
-
- # Enumerate headlines?
- show_section_numbers = 0
-
- # Charts size, require gdchart (Set to None to disable).
- chart_options = {'width': 600, 'height': 300}
-
- # Enable textchas.
- textchas_disabled_group = u"TrustedEditorsGroup"
- textchas = {
- 'en': {
- #u"Type peanut in here:": ur" *(?i)peanut *",
- #u"Are you a friend or foe?": ur" *(?i)(friend|foe) *",
- #u"Are you a bot, yes or no?": ur" *(?i)(no|yes) *",
- #u"Say cheese:": ur" *(?i)cheese *",
- #u"Say friend and enter:": ur" *(?i)friend *",
- #u"What does J in jython stand for?": ur" *(?i)java *",
- # New ones (2013-02-14):
- #u"What does Jython's interactive prompt look like?": ur" *>>> *",
- #u"Say green but do not say blue.": ur" *(?i)green *",
- #u"What is the smallest number in 10, 5, 11, 15?": ur" *(?i)(5|five) *",
- #u"What is George Washington's last name?": ur" *(?i)washington *",
- #u"How many wings does a typical bird have?": ur" .*(?i)(2|two) .*",
- # New ones 2013-03-20:
- u"Which programming language does Jython implement?": ur" *(?i)python *",
- u"Jython is written in": ur" *(?i)java *",
- #u"What does Jython's interactive prompt look like?": ur" *>>> *",
- u"What is van Rossum's first name?": ur" *(?i)guido *",
- u"Which foundation protects the Jython IP?": ur" *(?i)(psf|python +software +foundation|python +software|python +foundation) *",
- u"x = 1; x += 1; x ==": ur" *2 *",
- u"x = 2; x /= 2; x ==": ur" *(1|1.0) *",
- u"l = [1,2,3]; l.remove(1); l[0] ==": ur" *2 *",
- u"l = [1,2,3]; del l[1]; l[0] ==": ur" *1 *",
- u"s = 'guido'; s[3:5] ==": ur" *(?i)do *",
- u"x = range(10,18,2)[2]; x ==": ur" *14 *",
- u"x = map(lambda x:x**2,range(10))[3]; x ==": ur" *9 *",
- },
- }
diff --git a/salt/moin/configs/logrotate.conf b/salt/moin/configs/logrotate.conf
deleted file mode 100644
index 05caa103..00000000
--- a/salt/moin/configs/logrotate.conf
+++ /dev/null
@@ -1,14 +0,0 @@
-/data/moin/instances/jython/data/event-log
-/data/moin/instances/psf/data/event-log
-/data/moin/instances/python/data/event-log
-{
- rotate 4
- weekly
- missingok
- notifempty
- compress
- sharedscripts
- postrotate
- /etc/init.d/apache2 reload > /dev/null
- endscript
-}
diff --git a/salt/moin/configs/moin.wsgi b/salt/moin/configs/moin.wsgi
deleted file mode 100644
index 08ff5c06..00000000
--- a/salt/moin/configs/moin.wsgi
+++ /dev/null
@@ -1,52 +0,0 @@
-# -*- coding: iso-8859-1 -*-
-"""
- MoinMoin - mod_wsgi driver script
-
- To use this, add those statements to your Apache's VirtualHost definition:
-
- # you will invoke your moin wiki at the root url, like http://servername/FrontPage:
- WSGIScriptAlias / /some/path/moin.wsgi
-
- # create some wsgi daemons - use someuser.somegroup same as your data_dir:
- WSGIDaemonProcess daemonname user=someuser group=somegroup processes=5 threads=10 maximum-requests=1000 umask=0007
-
- # use the daemons we defined above to process requests!
- WSGIProcessGroup daemonname
-
- @copyright: 2008 by MoinMoin:ThomasWaldmann
- @license: GNU GPL, see COPYING for details.
-"""
-
-import sys, os
-
-# a) Configuration of Python's code search path
-# If you already have set up the PYTHONPATH environment variable for the
-# stuff you see below, you don't need to do a1) and a2).
-
-# a1) Path of the directory where the MoinMoin code package is located.
-# Needed if you installed with --prefix=PREFIX or you didn't use setup.py.
-#sys.path.insert(0, 'PREFIX/lib/python2.3/site-packages')
-
-# a2) Path of the directory where wikiconfig.py / farmconfig.py is located.
-# See wiki/config/... for some sample config files.
-sys.path.insert(0, '/etc/moin')
-
-# b) Configuration of moin's logging
-# If you have set up MOINLOGGINGCONF environment variable, you don't need this!
-# You also don't need this if you are happy with the builtin defaults.
-# See wiki/config/logging/... for some sample config files.
-#from MoinMoin import log
-#log.load_config('/path/to/logging_configuration_file')
-
-from MoinMoin.web.serving import make_application
-
-# Creating the WSGI application
-# use shared=True to have moin serve the builtin static docs
-# use shared=False to not have moin serve static docs
-# use shared='/my/path/to/htdocs' to serve static docs from that path
-application = make_application(shared=True)
-#application = make_application(shared=True, trusted_proxies=['140.211.10.66', '127.0.0.1'])
-
-# Apply proxy fixes to get moin to use HTTPS links
-from werkzeug.middleware.proxy_fix import ProxyFix
-application = ProxyFix(application)
diff --git a/salt/moin/configs/moin_wsgi.py b/salt/moin/configs/moin_wsgi.py
deleted file mode 100644
index 00b1b10e..00000000
--- a/salt/moin/configs/moin_wsgi.py
+++ /dev/null
@@ -1,34 +0,0 @@
-import os
-import sys
-import urlparse
-
-from MoinMoin.web.serving import make_application
-
-sys.path.insert(0, "/etc/moin")
-os.environ['PYTHONIOENCODING'] = 'utf-8'
-
-
-class ScriptFixerMiddleware(object):
-
- def __init__(self, application):
- self.application = application
-
- def __call__(self, environ, start_response):
- if not environ.get("SCRIPT_NAME"):
- path = environ.get("PATH_INFO", "")
- if path.startswith("/"):
- path = path[1:]
-
- parsed = urlparse.urlparse(path)
-
- script_name = "/".join(parsed.path.split("/")[:1])
- if not script_name.startswith("/"):
- script_name = "/" + script_name
-
- environ["SCRIPT_NAME"] = script_name
- environ["PATH_INFO"] = "/".join(parsed.path.split("/")[1:])
-
- return self.application(environ, start_response)
-
-
-application = ScriptFixerMiddleware(make_application(shared=False))
diff --git a/salt/moin/configs/ports.apache.conf.jinja b/salt/moin/configs/ports.apache.conf.jinja
deleted file mode 100644
index faa76d4e..00000000
--- a/salt/moin/configs/ports.apache.conf.jinja
+++ /dev/null
@@ -1,3 +0,0 @@
-{% set internal = salt["pillar.get"]("psf_internal_network") %}
-Listen {{ salt["network.ip_addrs"](cidr=internal)[0] }}:9000
-Listen 127.0.0.1:9000
diff --git a/salt/moin/configs/psf.py b/salt/moin/configs/psf.py
deleted file mode 100644
index 8ccad71f..00000000
--- a/salt/moin/configs/psf.py
+++ /dev/null
@@ -1,134 +0,0 @@
-# -*- coding: iso-8859-1 -*-
-# IMPORTANT! This encoding (charset) setting MUST be correct! If you live in a
-# western country and you don't know that you use utf-8, you probably want to
-# use iso-8859-1 (or some other iso charset). If you use utf-8 (a Unicode
-# encoding) you MUST use: coding: utf-8
-# That setting must match the encoding your editor uses when you modify the
-# settings below. If it does not, special non-ASCII chars will be wrong.
-
-"""
- MoinMoin - Configuration for a single wiki
-
- If you run a single wiki only, you can omit the farmconfig.py config
- file and just use wikiconfig.py - it will be used for every request
- we get in that case.
-
- Note that there are more config options than you'll find in
- the version of this file that is installed by default; see
- the module MoinMoin.multiconfig for a full list of names and their
- default values.
-
- Also, the URL http://moinmoin.wikiwikiweb.de/HelpOnConfiguration has
- a list of config options.
-
- @copyright: 2000-2004 by Juergen Hermann
My Wiki'
- # For no logo or text, use ''
- #logo_string = sitename
- logo_string = '
'
-
- # Default theme
- theme_default = 'europython'
-
- # The interwiki name used in interwiki links
- interwikiname = None
-
-
- # Critical setup ---------------------------------------------------
-
- # Misconfiguration here will render your wiki unusable. Check that
- # all directories are accessible by the web server or moin server.
-
- # If you encounter problems, try to set data_dir and data_underlay_dir
- # to absolute paths.
-
- # Where your mutable wiki pages are. You want to make regular
- # backups of this directory.
- data_dir = '/data/moin/instances/psf/data/'
-
- # Security ----------------------------------------------------------
-
- # Security critical actions (disabled by default)
- # Uncomment to enable options you like.
- superuser = ['EWDurbin']
-
- # IMPORTANT: grant yourself admin rights! replace YourName with
- # your user name. See HelpOnAccessControlLists for more help.
- acl_rights_before = u"AdminGroup:read,write,delete,revert,admin"
- acl_rights_default = u""
- acl_rights_after = u"MembersGroup:read,write,delete,revert All:read"
-
- # Link spam protection for public wikis (Uncomment to enable)
- # Needs a reliable internet connection.
- #from MoinMoin.util.antispam import SecurityPolicy
-
- # Enable textchas.
- textchas_disabled_group = u"MembersGroup"
- textchas = {
- 'en': {
- #u"How many words are in this question?": ur" *(7|(?i)seven) *",
- #u"What is Abraham Lincoln's first name?": ur" *(?i)abraham *",
- #u"What does Python's interactive prompt look like?": ur" *>>> *",
- u"What is van Rossum's first name?": ur" *(?i)guido *",
- u"Which foundation protects the Python IP?": ur" *(?i)(psf|python +software +foundation|python +software|python +foundation) *",
- u"x = 1; x += 1; x ==": ur" *(?i)(2|two) *",
- u"x = 2; x /= 2; x ==": ur" *(?i)(1|1.0|one) *",
- u"l = [1,2,3]; l.remove(1); l[0] ==": ur" *(?i)(2|two) *",
- u"l = [1,2,3]; del l[1]; l[0] ==": ur" *(?i)(1|one) *",
- u"s = 'guido'; s[3:5] ==": ur" *['\"]?(?i)do['\"]? *",
- u"PyPI is also called": ur" *(?i)(cheese *shop) *",
- u"The cheeseshop is also called": ur" *(?i)(py *pi) *",
- },
- }
-
- # Add your wikis important pages at the end. It is not recommended to
- # remove the default links. Leave room for user links - don't use
- # more than 6 short items.
- # You MUST use Unicode strings here, but you need not use localized
- # page names for system and help pages, those will be used automatically
- # according to the user selected language. [Unicode]
- navi_bar = [
- # Will use page_front_page, (default FrontPage)
- u'%(page_front_page)s',
- u'Contents',
- u'RecentChanges',
- u'FindPage',
- u'HelpContents',
- ]
-
- page_footer2 = 'Unable to view page? See the FrontPage for instructions.
' - - # Language options -------------------------------------------------- - - # See http://moinmoin.wikiwikiweb.de/ConfigMarket for configuration in - # YOUR language that other people contributed. - - # The main wiki language, set the direction of the wiki pages - default_lang = 'en' - - # Content options --------------------------------------------------- - - # Show users hostnames in RecentChanges - show_hosts = 1 - - # Enumerate headlines? - show_section_numbers = 0 - - # Charts size, require gdchart (Set to None to disable). - chart_options = {'width': 600, 'height': 300} - - - diff --git a/salt/moin/configs/python.py b/salt/moin/configs/python.py deleted file mode 100644 index fcfce169..00000000 --- a/salt/moin/configs/python.py +++ /dev/null @@ -1,144 +0,0 @@ -# -*- coding: utf-8 -*- -# IMPORTANT! This encoding (charset) setting MUST be correct! If you live in a -# western country and you don't know that you use utf-8, you probably want to -# use iso-8859-1 (or some other iso charset). If you use utf-8 (a Unicode -# encoding) you MUST use: coding: utf-8 -# That setting must match the encoding your editor uses when you modify the -# settings below. If it does not, special non-ASCII chars will be wrong. - -""" - MoinMoin - Configuration for a single wiki - - If you run a single wiki only, you can omit the farmconfig.py config - file and just use wikiconfig.py - it will be used for every request - we get in that case. - - Note that there are more config options than you'll find in - the version of this file that is installed by default; see - the module MoinMoin.multiconfig for a full list of names and their - default values. - - Also, the URL http://moinmoin.wikiwikiweb.de/HelpOnConfiguration has - a list of config options. - - @copyright: 2000-2004 by Juergen Hermann
My Wiki'
- # For no logo or text, use ''
- #logo_string = sitename
- logo_string = '
'
-
- theme_default = 'europython'
-
-
- # The interwiki name used in interwiki links
- interwikiname = None
-
-
- # Critical setup ---------------------------------------------------
-
- # Misconfiguration here will render your wiki unusable. Check that
- # all directories are accessible by the web server or moin server.
-
- # If you encounter problems, try to set data_dir and data_underlay_dir
- # to absolute paths.
-
- # Where your mutable wiki pages are. You want to make regular
- # backups of this directory.
- data_dir = '/data/moin/instances/python/data/'
-
- # Security ----------------------------------------------------------
-
- # mvl 110304 add openid. requires anonymous sessions
- auth = [MoinAuth(),OpenIDAuth()]
- cookie_lifetime=(1,12)
- superuser = ['EWDurbin']
-
- # Security critical actions (disabled by default)
- # Uncomment to enable options you like.
-
- # IMPORTANT: grant yourself admin rights! replace YourName with
- # your user name. See HelpOnAccessControlLists for more help.
- acl_rights_before = u"BlockedUsersGroup: AdminGroup:read,write,delete,revert,admin"
-
- # Only users in the NewUsersGroup may edit pages, since we're simply
- # getting too much spam and vandalism. MAL 2014-05-31
- acl_rights_default = u"EditorsGroup:read,write,delete,revert All:read"
-
- # Link spam protection for public wikis (Uncomment to enable)
- # Needs a reliable internet connection.
- from MoinMoin.security.antispam import SecurityPolicy
-
- # Enable textchas.
- textchas_disabled_group = u"TrustedEditorsGroup"
- textchas = {
- 'en': {
- #u"How many words are in this question?": ur" *(7|(?i)seven) *",
- #u"What is Abraham Lincoln's first name?": ur" *(?i)abraham *",
- #u"What does Python's interactive prompt look like?": ur" *>>> *",
- u"What is van Rossum's first name?": ur" *(?i)guido *",
- u"Which foundation protects the Python IP?": ur" *(?i)(psf|python +software +foundation|python +software|python +foundation) *",
- u"x = 1; x += 1; x ==": ur" *(?i)(2|two) *",
- u"x = 2; x /= 2; x ==": ur" *(?i)(1|1.0|one) *",
- u"l = [1,2,3]; l.remove(1); l[0] ==": ur" *(?i)(2|two) *",
- u"l = [1,2,3]; del l[1]; l[0] ==": ur" *(?i)(1|one) *",
- u"s = 'guido'; s[3:5] ==": ur" *['\"]?(?i)do['\"]? *",
- u"PyPI is also called": ur" *(?i)(cheese *shop) *",
- u"The cheeseshop is also called": ur" *(?i)(py *pi) *",
- },
- }
-
- # Mail --------------------------------------------------------------
-
- # User interface ----------------------------------------------------
-
- # Add your wikis important pages at the end. It is not recommended to
- # remove the default links. Leave room for user links - don't use
- # more than 6 short items.
- # You MUST use Unicode strings here, but you need not use localized
- # page names for system and help pages, those will be used automatically
- # according to the user selected language. [Unicode]
- navi_bar = [
- # Will use page_front_page, (default FrontPage)
- u'%(page_front_page)s',
- u'RecentChanges',
- u'FindPage',
- u'HelpContents',
- ]
-
- page_footer2 = 'Unable to edit the page? See the FrontPage for instructions.
' - - # Language options -------------------------------------------------- - - # See http://moinmoin.wikiwikiweb.de/ConfigMarket for configuration in - # YOUR language that other people contributed. - - # The main wiki language, set the direction of the wiki pages - default_lang = 'en' - - # Content options --------------------------------------------------- - - # Show users hostnames in RecentChanges - show_hosts = 1 - - # Enumerate headlines? - show_section_numbers = 0 - - # Charts size, require gdchart (Set to None to disable). - chart_options = {'width': 600, 'height': 300} - - #show_timings = True diff --git a/salt/moin/configs/shared_intermap.txt b/salt/moin/configs/shared_intermap.txt deleted file mode 100644 index a14834e1..00000000 --- a/salt/moin/configs/shared_intermap.txt +++ /dev/null @@ -1,5 +0,0 @@ -PEP http://www.python.org/dev/peps/pep-$PAGE/ -SF http://bugs.python.org/issue$PAGE -PythonMac http://pythonmac.org/wiki/ -WxPython http://wiki.wxpython.org/index.cgi/ -ISBN http://www.amazon.com/exec/obidos/ASIN/$PAGE/pythonsoftwar-20 diff --git a/salt/moin/configs/wiki-static.conf b/salt/moin/configs/wiki-static.conf new file mode 100644 index 00000000..a032d68b --- /dev/null +++ b/salt/moin/configs/wiki-static.conf @@ -0,0 +1,19 @@ +server { + listen 9000 ssl; + server_name wiki.python.org wiki.jython.org moin.psf.io; + + ssl_certificate /etc/ssl/private/moin.psf.io.pem; + ssl_certificate_key /etc/ssl/private/moin.psf.io.pem; + + include fastly_params; + + error_log /var/log/nginx/wiki-static.error.log; + access_log /var/log/nginx/wiki-static.access.log main; + + root /data/www/wiki-static; + + location / { + index index.html; + try_files $uri $uri/ =404; + } +} diff --git a/salt/moin/configs/wiki.python.org.conf b/salt/moin/configs/wiki.python.org.conf deleted file mode 100644 index 15cd66cf..00000000 --- a/salt/moin/configs/wiki.python.org.conf +++ /dev/null @@ -1,80 +0,0 @@ -