In Skin.php, at
/** @return string Retrievied from HTML text */
function printSource() {
$url = htmlspecialchars( $this->mTitle->getFullURL() ); return wfMsg( 'retrievedfrom', '<a href="'.$url.'">'.$url.'</a>' );
you need to make sure "(" and ")" are presented as %28 and %29,
because e.g., often users clicking on
http://en.wikipedia.org/wiki/Roselle_(plant)
will not be able to get to the link, as only
http://en.wikipedia.org/wiki/Roselle_%28plant%29
will work, when having the link sent to them by a friend and clicking
on it in their (mainstream MicroSoft) mail program (Outlook?).
http://en.wikipedia.org/wiki/Percent-encoding is over my head. All I know is that
when I send my friends ( and ) in URLs via plain text (not HTML) email,
they can't read the pages via clicking unless I manually change them to %'s.
Note, to see the above function's output, be sure stylesheets are
disabled in your browser, or use a text browser.
Anyway, you already encode CJK chars., so ugly is OK. Might as well encode
( and ), as the goal of the game is a guaranteed click (and not saying if
their client program is correct or not.)
See also bug 10206.
Version: 1.16.x
Severity: enhancement
URL: http://en.wikipedia.org/wiki/Roselle_(plant)