added PPCustomFrame classes to restore ability to use replaceVariables with a custom...
[lhc/web/wiklou.git] / includes / parser / Preprocessor.php
index 322e197..1a33ac7 100644 (file)
@@ -10,6 +10,9 @@ interface Preprocessor {
        /** Create a new top-level frame for expansion of a page */
        function newFrame();
 
+       /** Create a new custom frame for programmatic use of parameter replacement as used in some extensions */
+       function newCustomFrame( $args );
+
        /** Preprocess text to a PPNode */
        function preprocessToObj( $text, $flags = 0 );
 }