]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/Allow_disabling_edit_and_preferences_links.mdwn
Consistently allow use of relative paths in all PageSpecs that take a page name param...
[ikiwiki.git] / doc / todo / Allow_disabling_edit_and_preferences_links.mdwn
index 10eae35a79d9315264063a86932209bf2a496aec..1188d1ab21f945d1b3fe4ab17917e38877c9926e 100644 (file)
@@ -25,3 +25,24 @@ Patch:
         }
 
 </pre>
+
+> On irc, you said, "That was to allow the hack to of using wikistatedir to
+> allow me to generate two websites, one with inline editting, the other a
+> static page for public consumption."
+> 
+> The edit and preferences links can already be disabled by editing
+> `page.tmpl`. (Look for PREFSURL and EDITURL).
+> 
+> More to the point though, disabling those links does not disable anyone
+> consticting the urls by hand and logging in and editing a page. So you'd
+> really want to disable the editpage plugin in the setup file for the
+> public, static wiki. Sounds like you might also want to turn off cgi
+> entirely for that build. --[[Joey]] 
+
+>> I want to retain the same page.tmpl for both sites (different templates
+>> will just increase the maintenance hell), so disabling the links in the
+>> config for one public site works better in my case.
+>>
+>> I do have the editpage plugin disabled for the public static wiki, but
+>> the link still appears on the site.  I want to keep the cgi on, so that
+>> the site is still searchable. --[[puck]]