{% extends theme("layout.html") %} {% macro show_settings(found, head2) %}
{{ _('Variable Name') }} | {{ head2 }} | ||
---|---|---|---|
{% if name in settings %} {{ name }} {% else %} {{ name }} {% endif %} | {% if isinstance(value, list) and len(value) > 1 %}
[ {% for entry in value | sort %} {{ "%r" % (entry, ) }}, {% endfor %} ] |
{% elif isinstance(value, dict) and len(value) > 1 %}
{ {% for key, val in value.items() | sort %} {{ "%r" % (key, ) }}: {{ "%r" % (val, ) }}, {% endfor %} } |
{% else %}
{{ "%r" % (value, ) }}
|
{% endif %}
{{ _("This table shows all settings in this wiki that do not have default values. " "Settings that the configuration system doesn't know about are shown in italic, " "those may be due to third-party extensions needing configuration or settings that " "were removed from Moin.") }}
{% set head2 = _('Setting') %} {{ show_settings(found, head2) }}{{ _("This table shows all settings in this wiki that retain their default values. ") }}
{% set head2 = _('Default Setting') %} {{ show_settings(found_default, head2) }} {% endblock %}