]> sipb.mit.edu Git - ikiwiki.git/blob - doc/page_locking.mdwn
* viewcvs is now viewvc (in Debian unstable), update everything to use the
[ikiwiki.git] / doc / page_locking.mdwn
1 The administrator of a wiki can choose to lock some pages, which allows
2 only the admin to edit them using the online interface. This doesn't
3 prevent anyone who can commit to the underlying revision control system
4 from editing the pages, however.
5
6 To lock a page, log into the wiki as whatever user is configured as the
7 admin, and in your Preferences page, you'll find a field listing locked
8 pages. This is a [[PageSpec]], so you have a fair bit of control over what
9 kinds of pages to lock. For example, you could choose to lock all pages
10 created before 2006, or all pages that are linked to from the page named
11 "locked". More usually though, you'll just list some names of pages to lock.
12
13 One handy thing to do if you're using ikiwiki for your blog is to lock 
14 "* and !*/Discussion". This prevents others from adding to or modifying
15 posts in your blog, while still letting them comment via the Discussion
16 pages.