New function in PPFrame_DOM should be here too.
authorTim Starling <tstarling@users.mediawiki.org>
Wed, 30 Jan 2008 02:55:19 +0000 (02:55 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Wed, 30 Jan 2008 02:55:19 +0000 (02:55 +0000)
includes/Preprocessor.php

index ba788aa..2543a23 100644 (file)
@@ -57,6 +57,11 @@ interface PPFrame {
         * Returns true if the infinite loop check is OK, false if a loop is detected
         */
        function loopCheck( $title );
+
+       /**
+        * Return true if the frame is a template frame
+        */
+       function isTemplate();
 }
 
 interface PPNode {