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 @@
3500
3500
3501
3501
if( $toclevel ) {
3502
3502
$prevlevel = $level;
3503
+ $prevtoclevel = $toclevel;
3503
3504
}
3504
3505
$level = $matches[1][$headlineCount];
3505
3506
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r21725
* (
bug 6204
) Fixes for indentation with $wgMaxTocLevel:...
brion
19:51, 30 April 2007