From db47e816deabcddfd21e69a2f60928848629ef47 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Tue, 6 Sep 2005 16:52:11 +0000 Subject: [PATCH] * Changed the name of the wfNoMsg() function to wfEmptyMsg() --- includes/GlobalFunctions.php | 2 +- includes/Skin.php | 4 ++-- skins/MonoBook.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index b09eef7392..7ca2d6b2ff 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1435,7 +1435,7 @@ function wfAppendToArrayIfNotDefault( $key, $value, $default, &$changed ) { * @param $wfMsgOut The output of wfMsg*() * @return bool */ -function wfNoMsg( $msg, $wfMsgOut ) { +function wfEmptyMsg( $msg, $wfMsgOut ) { return $wfMsgOut === "<$msg>"; } ?> diff --git a/includes/Skin.php b/includes/Skin.php index 78e0ca8d1e..607ffb6c13 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -1329,9 +1329,9 @@ END; $link = wfMsgForContent( $line[0] ); if ($link == '-') continue; - if (wfNoMsg($line[1], $text = wfMsg($line[1]))) + if (wfEmptyMsg($line[1], $text = wfMsg($line[1]))) $text = $line[1]; - if (wfNoMsg($line[0], $link)) + if (wfEmptyMsg($line[0], $link)) $link = $line[0]; $bar[$heading][] = array( 'text' => $text, diff --git a/skins/MonoBook.php b/skins/MonoBook.php index f46a9b3e60..0bc8590fef 100644 --- a/skins/MonoBook.php +++ b/skins/MonoBook.php @@ -126,7 +126,7 @@ class MonoBookTemplate extends QuickTemplate { data['sidebar'] as $bar => $cont) { ?>
-
+
    $val) { ?> -- 2.20.1