changeset 1770:009e73eabc21

wikiutil: renamed executeText in renderText
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Thu, 01 Feb 2007 17:30:05 +0100
parents 2778c4ce1ea4
children d3bb97cd7b35
files MoinMoin/macro/FootNote.py MoinMoin/wikiutil.py docs/CHANGES
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/FootNote.py	Tue Jan 30 23:58:29 2007 +0100
+++ b/MoinMoin/macro/FootNote.py	Thu Feb 01 17:30:05 2007 +0100
@@ -59,7 +59,7 @@
             result.append(formatter.text(str(idx + 1)))
             result.append(formatter.anchorlink(0))
             result.append(formatter.text(" "))
-            result.append(wikiutil.executeText(request, WikiParser, request.footnotes[idx][0]))
+            result.append(wikiutil.renderText(request, WikiParser, request.footnotes[idx][0]))
             result.append(formatter.listitem(0))
 
         result.append(formatter.bullet_list(0))
--- a/MoinMoin/wikiutil.py	Tue Jan 30 23:58:29 2007 +0100
+++ b/MoinMoin/wikiutil.py	Thu Feb 01 17:30:05 2007 +0100
@@ -1645,7 +1645,7 @@
     return ticket == ourticket
 
 
-def executeText(request, Parser, text, line_anchors=False):
+def renderText(request, Parser, text, line_anchors=False):
     """executes raw wiki markup with all page elements"""
     import StringIO
     out = StringIO.StringIO()
--- a/docs/CHANGES	Tue Jan 30 23:58:29 2007 +0100
+++ b/docs/CHANGES	Thu Feb 01 17:30:05 2007 +0100
@@ -166,9 +166,9 @@
     * There is a new MoinMoin.Page.ItemCache class now with automatic cache
       invalidation based on global edit-log. We currently use it to cache page
       acls, speedup Page.get_rev and reading the page local edit-log.
-    * Added wikiutil.executeText executes raw wiki markup with all page elements
+    * Added wikiutil.renderText parse and format raw wiki markup with all page elements
     * Added wikiutil.getProcessingInstructions creates dict of processing instructions from raw wiki markup
-    * Added wikiutil.getParser gets the parser from raw wiki murkup
+    * Added wikiutil.getParser gets the parser from raw wiki markup
 
   New Features:
     * The action menu now calls the actions for the revision of the page you