From: Antoine Musso Date: Sun, 4 Dec 2005 01:12:54 +0000 (+0000) Subject: * code formatting X-Git-Tag: 1.6.0~1042 X-Git-Url: http://git.cyclocoop.org/%22.htmlspecialchars%28%24url_syndic%29.%22?a=commitdiff_plain;h=c873c605da90bd7fd2d696c0eb7fcb8a743c501f;p=lhc%2Fweb%2Fwiklou.git * code formatting * add 'summary' attribute to toc table element (accessibility) --- diff --git a/includes/Linker.php b/includes/Linker.php index 52e136faf4..53a8f4e542 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -784,17 +784,19 @@ class Linker { /** @todo document */ function tocList($toc) { global $wgJsMimeType; - return "
" - . "

" . wfMsgForContent('toc') . "

\n" - . $toc - . "\n
\n" - . '\n"; + $title = wfMsgForContent('toc') ; + return + '
' + . '

' . $title . "

\n" + . $toc + . "\n
\n" + . '\n"; } /** @todo document */