remove page_locking page, move content to plugins/lockedit
Also, removed obsolte para about using the prefs page to configure locked pages, that interface is obsolete, hidden by default, and the locked_pages setup file setting is used instead.master
parent
5b2b4a28a6
commit
6caed59b9c
|
@ -146,10 +146,10 @@ Thanks to subpages, every page can easily and automatically have a
|
||||||
|
|
||||||
### Edit controls
|
### Edit controls
|
||||||
|
|
||||||
Wiki admins can [[lock_pages|page_locking]] so that only other admins can
|
Wiki admins can lock_pages so that only other admins can edit them. Or a
|
||||||
edit them. Or a wiki can be set up to allow anyone to edit Discussion
|
wiki can be set up to allow anyone to edit Discussion pages, but only
|
||||||
pages, but only registered users to edit other pages. These are just two
|
registered users to edit other pages. These are just two possibilities,
|
||||||
possibilities, since page edit controls can be changed via plugins.
|
since page edit controls can be changed via plugins.
|
||||||
|
|
||||||
### [[PageHistory]]
|
### [[PageHistory]]
|
||||||
|
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
The administrator of a wiki can choose to lock some pages, which allows
|
|
||||||
only the admin to edit them using the online interface. This doesn't
|
|
||||||
prevent anyone who can commit to the underlying revision control system
|
|
||||||
from editing the pages, however.
|
|
||||||
|
|
||||||
To lock a page, log into the wiki as whatever user is configured as the
|
|
||||||
admin, and in your Preferences page, you'll find a field listing locked
|
|
||||||
pages. This is a [[ikiwiki/PageSpec]], so you have a fair bit of control
|
|
||||||
over what kinds of pages to lock. For example, you could choose to lock all
|
|
||||||
pages created before 2006, or all pages that are linked to from the page
|
|
||||||
named "locked". More usually though, you'll just list some names of pages
|
|
||||||
to lock.
|
|
||||||
|
|
||||||
One handy thing to do if you're using ikiwiki for your blog is to lock
|
|
||||||
"* and !*/Discussion". This prevents others from adding to or modifying
|
|
||||||
posts in your blog, while still letting them comment via the Discussion
|
|
||||||
pages.
|
|
|
@ -1,4 +1,20 @@
|
||||||
[[!template id=plugin name=lockedit core=1 author="[[Joey]]"]]
|
[[!template id=plugin name=lockedit core=1 author="[[Joey]]"]]
|
||||||
[[!tag type/auth]]
|
[[!tag type/auth]]
|
||||||
|
|
||||||
This plugin enables [[page_locking]]. It is enabled by default.
|
This plugin allows the administrator of a wiki to lock some pages, limiting
|
||||||
|
who can edit them using the online interface. This doesn't prevent anyone
|
||||||
|
who can commit to the underlying revision control system from editing the
|
||||||
|
pages, however.
|
||||||
|
|
||||||
|
The `locked_pages` setting configures what pages are locked. It is a
|
||||||
|
[[ikiwiki/PageSpec]], so you have lots of control over what kind of pages
|
||||||
|
to lock. For example, you could choose to lock all pages created before
|
||||||
|
2006, or all pages that are linked to from the page named "locked". More
|
||||||
|
usually though, you'll just list some names of pages to lock.
|
||||||
|
|
||||||
|
One handy thing to do if you're using ikiwiki for your blog is to lock
|
||||||
|
"* and !*/Discussion". This prevents others from adding to or modifying
|
||||||
|
posts in your blog, while still letting them comment via the Discussion
|
||||||
|
pages.
|
||||||
|
|
||||||
|
Wiki administrators can always edit locked pages.
|
||||||
|
|
|
@ -32,7 +32,7 @@ Also see [[!debbug 443346]].
|
||||||
> defined in the wiki pages (although they could be).
|
> defined in the wiki pages (although they could be).
|
||||||
>* Given the previous two points, can't this be done with the `match_user()`
|
>* Given the previous two points, can't this be done with the `match_user()`
|
||||||
> function defined by the [[plugins/attachment]] plugin (see the [[ikiwiki/pagespec/attachment]] pagespec info)
|
> function defined by the [[plugins/attachment]] plugin (see the [[ikiwiki/pagespec/attachment]] pagespec info)
|
||||||
> and the [[plugins/lockedit]] plugin (see [[page_locking]])?
|
> and the [[plugins/lockedit]] plugin?
|
||||||
>
|
>
|
||||||
> For example, add the following to your config file:
|
> For example, add the following to your config file:
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue