r14264 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14263‎ | r14264 | r14265 >
Date:10:30, 17 May 2006
Author:nikerabbit
Status:old
Tags:
Comment:
* Don't do double escaping
Modified paths:
  • /trunk/phase3/includes/XmlFunctions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/XmlFunctions.php
@@ -76,12 +76,12 @@
7777 $s = "<select id='namespace' name='namespace' class='namespaceselector'>\n\t";
7878 $arr = $wgContLang->getFormattedNamespaces();
7979 if( !is_null($allnamespaces) ) {
80 - $arr = array($allnamespaces => wfMsgHtml('namespacesall')) + $arr;
 80+ $arr = array($allnamespaces => wfMsg('namespacesall')) + $arr;
8181 }
8282 foreach ($arr as $index => $name) {
8383 if ($index < NS_MAIN) continue;
8484
85 - $name = $index !== 0 ? $name : wfMsgHtml('blanknamespace');
 85+ $name = $index !== 0 ? $name : wfMsg('blanknamespace');
8686
8787 if ($index === $selected) {
8888 $s .= wfElement("option",

Status & tagging log