http://www.mediawiki.org/wiki/Special:Code/MediaWiki/84451
Revision: 84451
Author: reedy
Date: 2011-03-21 15:18:11 +0000 (Mon, 21 Mar 2011)
Log Message:
-----------
Reinstate some lines added during r84357
I guess they're used on some code paths... As it's not an unconditional
return...
Modified Paths:
--------------
trunk/phase3/includes/parser/Parser.php
Modified: trunk/phase3/includes/parser/Parser.php
===================================================================
--- trunk/phase3/includes/parser/Parser.php 2011-03-21 14:59:14 UTC (rev
84450)
+++ trunk/phase3/includes/parser/Parser.php 2011-03-21 15:18:11 UTC (rev
84451)
@@ -4943,6 +4943,8 @@
# Find the target section
if ( $sectionIndex == 0 ) {
+ # Section zero doesn't nest, level=big
+ $targetLevel = 1000;
if ( !$node ) {
# The page definitely exists - we checked that
earlier - so it must be blank: see bug #14005
return $text;
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs