]> sipb.mit.edu Git - ikiwiki.git/commitdiff
response
authorJoey Hess <joey@gnu.kitenet.net>
Tue, 23 Dec 2008 18:27:16 +0000 (13:27 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Tue, 23 Dec 2008 18:27:16 +0000 (13:27 -0500)
doc/todo/Allow_disabling_edit_and_preferences_links.mdwn

index 10eae35a79d9315264063a86932209bf2a496aec..523a1f4da4015c3d2c910596239cb26a5e40201b 100644 (file)
@@ -25,3 +25,16 @@ Patch:
         }
 
 </pre>
         }
 
 </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]]