r21814 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r21813‎ | r21814 | r21815 >
Date:19:09, 2 May 2007
Author:hashar
Status:old
Tags:
Comment:
Fix #9764: level indentation of toc is incorrect.
Caused by r21725.
Modified paths:
  • /trunk/phase3/includes/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Parser.php
@@ -3499,6 +3499,7 @@
35003500
35013501 if( $toclevel ) {
35023502 $prevlevel = $level;
 3503+ $prevtoclevel = $toclevel;
35033504 }
35043505 $level = $matches[1][$headlineCount];
35053506

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r21725* (bug 6204) Fixes for indentation with $wgMaxTocLevel:...brion19:51, 30 April 2007