Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -1731,7 +1731,7 @@ |
1732 | 1732 | * @return bool |
1733 | 1733 | */ |
1734 | 1734 | function wfEmptyMsg( $msg, $wfMsgOut ) { |
1735 | | - return $wfMsgOut === "<$msg>"; |
| 1735 | + return $wfMsgOut === htmlspecialchars( "<$msg>" ); |
1736 | 1736 | } |
1737 | 1737 | |
1738 | 1738 | /** |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -243,6 +243,9 @@ |
244 | 244 | * Don't use garbled parser cache output when viewing custom CSS or JavaScript |
245 | 245 | pages |
246 | 246 | * (bug 10406) Fix Special:Listusers filter form for non-ASCII localizations |
| 247 | +* Fix empty message checks for message names containing & |
| 248 | + This corrects some odd behavior with sidebar items and custom namespaces |
| 249 | + containing ampersands. |
247 | 250 | |
248 | 251 | |
249 | 252 | == API changes since 1.10 == |