changeset 1417:76cd1916b7e4

Changed the default value of url_prefix_action to None to get the old behaviour with nicer URLs. Documented this in CHANGES.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Thu, 24 Aug 2006 22:55:30 +0200
parents a8b46a72d5d6
children fcadd1faee76 f7f415cc1332
files MoinMoin/config/multiconfig.py docs/CHANGES
diffstat 2 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/config/multiconfig.py	Thu Aug 24 19:35:27 2006 +0200
+++ b/MoinMoin/config/multiconfig.py	Thu Aug 24 22:55:30 2006 +0200
@@ -419,8 +419,9 @@
     # immediately and we have no problem with stale caches.
     url_prefix_static = '/moin_static160'
 
-    # we need to prefix actions to be able to exclude them by robots.txt:
-    url_prefix_action = 'action' # no leading or trailing '/'
+    # we could prefix actions to be able to exclude them by robots.txt:
+    #url_prefix_action = 'action' # no leading or trailing '/'
+    url_prefix_action = None # compatiblity
 
     logo_string = None
     interwikiname = None
--- a/docs/CHANGES	Thu Aug 24 19:35:27 2006 +0200
+++ b/docs/CHANGES	Thu Aug 24 22:55:30 2006 +0200
@@ -249,12 +249,13 @@
       braindead robots.txt standard. You can only disallow pathes there, but
       moin's actions were querystring based, not path based (this would need
       regex support in robots.txt, but there is no such thing).
-      This changed now. Moin will now generate action URLs you can handle in
+      This changed now. Moin is able to generate action URLs you can handle in
       robots.txt, like /action/info/PageName?action=info. So if you don't want
       bots triggering actions, just disallow /action/ there. Keep in mind that
       attachments are handled by /action/AttachFile, so if you want attached
       files and pictures indexed by search engine, don't disallow
-      /action/AttachFile/ in your robots.txt.
+      /action/AttachFile/ in your robots.txt. In order to use this feature,
+      set url_prefix_action in your wikiconfig to e.g. "action".
     * We don't use ...?action=show any more for the "Clear message" links shown
       in the message boxes, but directly link to the page.