diff MoinMoin/wikiutil.py @ 1908:8bd4b581cc60

make converter pluggable, dynamically load correct converter, move loading of parser to send_page_content
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 25 Mar 2007 01:34:47 +0100
parents b07b4c102d3d
children 9a25a7ae3514 bb2e053067fb
line wrap: on
line diff
--- a/MoinMoin/wikiutil.py	Sat Mar 24 22:25:00 2007 +0100
+++ b/MoinMoin/wikiutil.py	Sun Mar 25 01:34:47 2007 +0100
@@ -1113,6 +1113,7 @@
 def searchAndImportPlugin(cfg, type, name, what=None):
     type2classname = {"parser": "Parser",
                       "formatter": "Formatter",
+                      "converter": "convert",
     }
     if what is None:
         what = type2classname[type]