From ca32f08966f1b51fcb19460f0996bb0c4048e6fe Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 3 Dec 2011 13:29:22 +0100 Subject: Update to MediaWiki 1.18.0 * also update ArchLinux skin to chagnes in MonoBook * Use only css to hide our menu bar when printing --- includes/parser/Preprocessor.php | 48 +++++++++++++++++++++++++++++++++++----- 1 file changed, 43 insertions(+), 5 deletions(-) (limited to 'includes/parser/Preprocessor.php') diff --git a/includes/parser/Preprocessor.php b/includes/parser/Preprocessor.php index c31f37bf..d6328aa7 100644 --- a/includes/parser/Preprocessor.php +++ b/includes/parser/Preprocessor.php @@ -9,19 +9,44 @@ * @ingroup Parser */ interface Preprocessor { - /** Create a new preprocessor object based on an initialised Parser object */ + /** + * Create a new preprocessor object based on an initialised Parser object + * + * @param $parser Parser + */ function __construct( $parser ); - /** Create a new top-level frame for expansion of a page */ + /** + * Create a new top-level frame for expansion of a page + * + * @return PPFrame + */ function newFrame(); - /** Create a new custom frame for programmatic use of parameter replacement as used in some extensions */ + /** + * Create a new custom frame for programmatic use of parameter replacement as used in some extensions + * + * @param $args array + * + * @return PPFrame + */ function newCustomFrame( $args ); - /** Create a new custom node for programmatic use of parameter replacement as used in some extensions */ + /** + * Create a new custom node for programmatic use of parameter replacement as used in some extensions + * + * @param $values + */ function newPartNodeArray( $values ); - /** Preprocess text to a PPNode */ + /** + * Preprocess text to a PPNode + * + * @param $text + * @param $flags + * + * @return PPNode + */ function preprocessToObj( $text, $flags = 0 ); } @@ -39,6 +64,11 @@ interface PPFrame { /** * Create a child frame + * + * @param $args array + * @param $title Title + * + * @return PPFrame */ function newChild( $args = false, $title = false ); @@ -70,6 +100,8 @@ interface PPFrame { /** * Returns true if there are no arguments in this frame + * + * @return bool */ function isEmpty(); @@ -95,6 +127,10 @@ interface PPFrame { /** * Returns true if the infinite loop check is OK, false if a loop is detected + * + * @param $title + * + * @return bool */ function loopCheck( $title ); @@ -126,6 +162,8 @@ interface PPNode { /** * Get the first child of a tree node. False if there isn't one. + * + * @return PPNode */ function getFirstChild(); -- cgit v1.2.3-54-g00ecf