Index: includes/Linker.php
===================================================================
--- includes/Linker.php	(revision 82601)
+++ includes/Linker.php	(working copy)
@@ -1322,10 +1322,11 @@
 	 * Wraps the TOC in a table and provides the hide/collapse javascript.
 	 *
 	 * @param $toc String: html of the Table Of Contents
+	 * @param $lang mixed: Language code for the toc title
 	 * @return String: full html of the TOC
 	 */
-	function tocList( $toc ) {
-		$title = wfMsgHtml( 'toc' ) ;
+	function tocList( $toc, $lang = false ) {
+		$title = wfMsgExt( 'toc', array( 'language' => $lang, 'escape' ) );
 		return
 		   '<table id="toc" class="toc"><tr><td>'
 		 . '<div id="toctitle"><h2>' . $title . "</h2></div>\n"
Index: includes/parser/Parser.php
===================================================================
--- includes/parser/Parser.php	(revision 82601)
+++ includes/parser/Parser.php	(working copy)
@@ -3986,7 +3986,7 @@
 			if ( $prevtoclevel > 0 && $prevtoclevel < $wgMaxTocLevel ) {
 				$toc .= $sk->tocUnindent( $prevtoclevel - 1 );
 			}
-			$toc = $sk->tocList( $toc );
+			$toc = $sk->tocList( $toc, $this->mOptions->getUserLang() );
 			$this->mOutput->setTOCHTML( $toc );
 		}
 
