Author: mitch.waters.iii
Description:
When changing the Table of Contents by editing the MediaWiki:Sidebar page,
entries with spaces or some special characters causes the rendered HTML ID to be
invalid. The MediaWiki software is great about rendering valid HTML but this
could easily be overlooked as it only is a problem whith certain edits to the
Sidebar.
The following example will produce the error:
- developer tools
- Developer's Corner|Developer's Corner
The htmlspecialchars function does nothing about the space or the "'" (single
quote), both of which are invalid.
From w3.org:
ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by
any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons
(":"), and periods (".") (see: http://www.w3.org/TR/html4/types.html#h-6.2).
The following skins have this problem:
Monobook
Chick
MySkin
Simple
Version: 1.8.x
Severity: trivial