* @param $wfMsgOut The output of wfMsg*()
* @return bool
*/
-function wfNoMsg( $msg, $wfMsgOut ) {
+function wfEmptyMsg( $msg, $wfMsgOut ) {
return $wfMsgOut === "<$msg>";
}
?>
$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,
<script type="<?php $this->text('jsmimetype') ?>"> if (window.isMSIE55) fixalpha(); </script>
<?php foreach ($this->data['sidebar'] as $bar => $cont) { ?>
<div class='portlet' id='p-<?php echo htmlspecialchars($bar) ?>'>
- <h5><?php $out = wfMsg( $bar ); if (wfNoMsg($bar, $out)) echo $bar; else echo $out; ?></h5>
+ <h5><?php $out = wfMsg( $bar ); if (wfEmptyMsg($bar, $out)) echo $bar; else echo $out; ?></h5>
<div class='pBody'>
<ul>
<?php foreach($cont as $key => $val) { ?>