From c873c605da90bd7fd2d696c0eb7fcb8a743c501f Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Sun, 4 Dec 2005 01:12:54 +0000 Subject: [PATCH] * code formatting * add 'summary' attribute to toc table element (accessibility) --- includes/Linker.php | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) 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 */ -- 2.20.1