foreach ( $arr as $ns => $name ) {
if ( $ns < NS_MAIN ) continue;
$namespacename = str_replace ( '_', ' ', $name);
- $n = ($ns == 0) ? wfMsg ( 'articlenamespace' ) : $namespacename;
+ $n = ($ns == 0) ? wfMsg ( 'blanknamespace' ) : $namespacename;
$sel = ($ns == $namespace) ? ' selected="selected"' : '';
$namespaceselect .= "<option value='{$ns}'{$sel}>{$n}</option>";
}
continue;
}
$namespacename = str_replace ( '_', ' ', $arr[$i] );
- $n = ($i == 0) ? wfMsg ( 'articlenamespace' ) : $namespacename;
+ $n = ($i == 0) ? wfMsg ( 'blanknamespace' ) : $namespacename;
$sel = ($i === $namespace) ? ' selected="selected"' : '';
$namespaceselect .= "<option value='{$i}'{$sel}>{$n}</option>";
}