{% extends "base.html" %} {% block title %}Wikis — Waikiki{% endblock %} {% block content %}
Each wiki is a fully isolated database file — pages, search, and
[[links]] never cross between them. Save a wiki to a file to back
it up or move it; open one to bring it in.
| {{ w.name }} /{{ w.slug }}
{% if w.slug == current_wiki %}active{% endif %}
{% set s = stats[w.slug] %}
{% if s.unreadable %}
{# A file SQLite can't open. Say so here rather than 500 the page:
this is where someone comes to open a backup or move to a wiki
that works, so it has to render. See issue #71. #}
can’t be read
{{ s.reason }} · {{ (s.bytes / 1048576) | round(1) }} MB on disk,
left untouched
{# The restore route, spelled out where the damage is reported.
Settings explains it too, but Settings reads the active wiki —
which may be this one. #}
How to get this wiki back
{{ s.articles }} article{{ '' if s.articles == 1 else 's' }} ·
{{ s.links }} link{{ '' if s.links == 1 else 's' }}
{% if s.links_broken %}({{ s.links_broken }} broken){% endif %} ·
{{ (s.bytes / 1048576) | round(1) }} MB
{% if s.trashed %} · {{ s.trashed }} in trash{% endif %}
{% endif %}
|
{% if s.unreadable %} Export .md {% else %} Export .md {% endif %} |