r107784 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107783‎ | r107784 | r107785 >
Date:22:31, 1 January 2012
Author:tstarling
Status:ok
Tags:
Comment:
Fix comments from r95343
Modified paths:
  • /trunk/extensions/LabeledSectionTransclusion/lst.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LabeledSectionTransclusion/lst.php
@@ -359,8 +359,8 @@
360360 $text = '';
361361 $node = $root->getFirstChild();
362362 while ( $node ) {
363 - // If name of begin node was specified find it
364 - // otherwise transclude everything from the beginning of the page
 363+ // If the name of the begin node was specified, find it.
 364+ // Otherwise transclude everything from the beginning of the page.
365365 if ( $begin != '' ) {
366366 // Find the begin node
367367 $found = false;
@@ -404,9 +404,8 @@
405405 if ( !$found ) {
406406 break;
407407 } elseif ( $begin == '' ) {
408 - // When end node was found and
409 - // text is transcluded from the beginning of the page
410 - // finish the transclusion
 408+ // When the end node was found and text is transcluded from
 409+ // the beginning of the page, finish the transclusion
411410 break;
412411 }
413412

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r95343(bug 24037) Allow transclusion from the beginning of the page to a certain se...johnduhart22:14, 23 August 2011

Status & tagging log