diff MoinMoin/formatter/__init__.py @ 2713:ddb2d19684d7

add transclusion / transclusion_param formatter methods (for html: <object> / <param>)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 23 Aug 2007 10:29:42 +0200
parents 458e23c1349b
children 907b9e60c232
line wrap: on
line diff
--- a/MoinMoin/formatter/__init__.py	Wed Aug 22 12:38:14 2007 +0200
+++ b/MoinMoin/formatter/__init__.py	Thu Aug 23 10:29:42 2007 +0200
@@ -171,6 +171,12 @@
             return '[Image:%s]' % title
         return '[Image]'
 
+    # generic transclude/include:
+    def transclusion(self, on, **kw):
+        raise NotImplementedError
+    def transclusion_param(self, **kw):
+        raise NotImplementedError
+
     def smiley(self, text):
         return text