WikiAdministration
EditView sourceHistoryNew subpage

Tour

This is the demo of a wiki written in Haskell: spaces of Markdown pages, an editor with the page rendered beside it as you type, search, and permissions on spaces. It runs entirely in your browser, over a wiki kept in your browser too, and nothing you do here is sent anywhere.

Note 1

Your edits are kept in this browser, so a reload finds them. On the Administration page, linked at the top right for an administrator, under Backups and data, Export the wiki saves all of it as a zip file, Import a wiki brings such a file back, and Reset the demo content puts back the pages you see now.

Who you can be

You start as admin, Ada Admin, who may do everything. There are no passwords in the demo: choose who you are with the menu at the top right, and the same wiki shows what that person may read and do:

WhoMay
nobody (not signed in)read the public spaces, Blog and Docs
reader, Rita Readeralso read Team / Projects, but nothing else of Team
editor, Edgar Editoralso write in Blog, and create spaces
admin, Ada Admineverything, everywhere

Public and private spaces

A space holds pages, and other spaces. The front page lists the spaces you may read, and those you visited last; inside a space, the sidebar shows that space alone: its pages, its subspaces, and a menu to switch to another. Blog and Docs, where this page is, are public: anyone may read them, signed in or not. Team is private, and so is its subspace Team / Projects, which reader has been let into: reader sees Team only as the way there. Look at the front page as admin, then as nobody, then as reader. (A link to a space you may not see shows as broken, since for you there is nothing there.)

A subspace may also be made private from the space above it: Make private, under Public and Private in its permissions, makes the grants of the spaces above count no more there, so that only those granted on it see it. And each user may have a space of their own: Enable personal space, in Settings, Profile (the menu at the top right leads to Settings), makes one, public and named after them, under User subspaces, and the header's Starred list then starts with Your space. User subspaces, in the sidebar, lists Your personal space under it, and opens the finder of user spaces: yours and those whose home page you starred first, then a field that finds anyone else's by login or name.

A space opens at its home page, which is this one for Docs: every other page of the space is under it, and a page made with New page goes there. Pages and settings, in the sidebar, lists all of a space's pages, and there whoever administers the space gives it a description and an icon (an emoji, a colour, or an image), and edits its home page. The icon is the browser tab's on the space's pages; an administrator gives the wiki an icon of its own on the front page, for the tab everywhere else.

What a page can be

The Markdown guide shows everything a page can have: headings, lists, tables, task lists, footnotes, code highlighted by its language, formulas drawn by KaTeX, diagrams drawn by Mermaid, pictures drawn with TikZ, images, a video and an attached file. Its subpages are about diagrams and mathematics. Open any of them in the editor to see the Markdown it is written in.

Writing

  1. As admin, open any page, this one too, or be editor and open a post in the Blog, such as Hello, world. Choose Edit.
  2. Type on the left: the preview on the right follows when you stop.
  3. Drag an image, or any other file, onto the editor to attach it to the page: the Markdown that shows it goes in where the cursor is.
  4. Save with Save, or Ctrl+S (Cmd+S on a Mac). Leaving with changes that are not saved asks first.

What does not render is underlined in red in the text, with a mark beside its line: a spoiler's or a box's marker that is wrong, and a formula, a diagram or a picture the preview could not draw. Point at it for the reason. The count beside Save, such as 2 problems, goes to the next one at each click.

A space's New page, and a page's New subpage, make a document, a presentation or a calendar, blank or from a template.

Being told

Write @ and a login to mention someone: @editor is told of it under the bell at the top, beside the name of whoever is signed in. So are comments on the pages someone watches (their own, and those of the spaces they chose to with a page's or a space's Watch button), and their changes. Mention @editor in a comment as admin, then switch to editor.

Finding

Press / anywhere outside a text field, or click the search box at the top, and type: the best pages show as you type, with your words marked. The selector beside the box keeps the search to one space and its subspaces. The arrow keys choose a page and Enter opens it; Enter with none chosen opens the page of every result. Search finds only what you may read: search for on-call as admin, then as nobody.

Signed in, star a page with its Star button to keep it under Starred, at the top of every page, one click away. The red ? in the bottom right corner shows, in short, what a page can hold.

On a server

The same wiki runs on a server of its own, wiki-server, which keeps the pages for everyone: people sign in with a password or a provider such as Google or GitHub, the server enforces the permissions, and it exports pages and spaces as Word, PDF or slides. Every page there has a history, and comments arrive live. A server starts with a space like Docs, called Guide, with its own tour.

Comments

Nobody has commented on the page yet.

What a page can hold