wikidb.key_ok

wikidb

key_ok(key) -> ok

Check an entry key or a media name

A key is slugs joined by /. Content can be laid out like a file tree, and a key stays unambiguous in wikilinks, hrefs and completion. Empty, . and .. segments are refused, so every key is canonical and none is path-like.