]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/Easier_disabling_action_URLs.mdwn
* Forgotten signature
[ikiwiki.git] / doc / todo / Easier_disabling_action_URLs.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]]