]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/page_edit_disable.mdwn
table: Support header=column to make the table header be the first column of the...
[ikiwiki.git] / doc / todo / page_edit_disable.mdwn
1 Disabling some of action URLs is not possible now without creating own
2 version of `templates/page.tmpl` file. For example, how to disable
3 displaying `EDITURL`, `RECENTCHANGESURL` or `PREFSURL` without
4 touching original `page.tmpl` template?
5
6 Now I can only enable/disable `HISTORYURL` and `DISCUSSIONLINK`.
7 It's not hard for me, but I think that the way to do it can be
8 confusing for another Ikiwiki users. For example, if I don't
9 want `HISTORYURL`, then I need to comment `historyurl` hash
10 in setup file. But if I want to disable discussions, then I need
11 to set `discussion=0` there. So, you can see that we don't have
12 one common method here.
13
14 Maybe Ikiwiki setup file should has more hashes for action URLs,
15 for example `edit=[01]`, `recentchanges=[01]`, `prefs=[01]`
16 and `history=[01]`?
17
18 If you are curious why I need that features, I can clarify it.
19 I'm building "parallel" version of my site. It means that I want
20 to have one editable version for internal users and second only
21 readable version (+ search feature) for external users. I build
22 both versions on secure, internal machine from the same pages,
23 of course, and separated setup files and different templates.
24 The readable version of the site will be rsynced to clustered WWW
25 front-ends immediately via `post-commit` hook file or periodically
26 by Cron. I haven't decided how to do it yet. --[[PaweÅ‚|ptecza]]
27
28 > You disable display of recentchanges by disabling that plugin.
29 > You disable edit and preferences by not enabling a cgiurl at all.
30
31 > Maybe page editing will become a plugin some day, or be made
32 > configurable -- there are a few things like searching and websetup
33 > (and possibly the poll plugin, aggregate webtrigger, and pingee)
34 > that it may make sense to enable a cgi for even if you don't want to
35 > allow page editing. --[[Joey]]