]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/page_edit_disable.mdwn
inline: Add pagenames parameter that can be used to list a set of pages to inline...
[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
30 >> Thanks for the hint! I didn't think about it :)
31
32 > You disable edit and preferences by not enabling a cgiurl at all.
33
34 >> Yes, I've just discovered it. Unfortunately I need cgiurl,
35 >> because I would like to use searching feature also for read-only
36 >> pages.
37
38 > Maybe page editing will become a plugin some day, or be made
39 > configurable -- there are a few things like searching and websetup
40 > (and possibly the poll plugin, aggregate webtrigger, and pingee)
41 > that it may make sense to enable a cgi for even if you don't want to
42 > allow page editing. --[[Joey]]
43
44 >> I'm glad you agree that it may make sense :) --[[Paweł|ptecza]]
45
46 >> We're in a similar situation with http://web.monkeysphere.info 
47 >> - wanting cgiurl so that our recentchanges page displays links, 
48 >> but not wanting to enable editing of pages (since we're also 
49 >> rsync'ing the html pages to mirrors) --[[Jamie]]
50
51 editpage plugin implemented, [[done]] --[[Joey]]
52
53 >> Joey, you're great! Thank you very, very, very much! :D --[[Paweł|ptecza]]