From 51005082be398128ce79f2eecdf72e5b71674ea6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Tue, 13 Sep 2005 16:50:57 +0000 Subject: [PATCH] * Two new functions: function wfOpenElement( $element ) { return "<$element>"; } function wfCloseElement( $element ) { return ""; } --- includes/GlobalFunctions.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index e75920e118..b971d90c87 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1274,6 +1274,10 @@ function wfElementClean( $element, $attribs = array(), $contents = '') { return wfElement( $element, $attribs, $contents ); } +// Shortcuts +function wfOpenElement( $element ) { return "<$element>"; } +function wfCloseElement( $element ) { return ""; } + /** * Create a namespace selector * -- 2.20.1