r107785 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107784‎ | r107785 | r107786 >
Date:22:50, 1 January 2012
Author:tstarling
Status:ok
Tags:
Comment:
Fixed weak comparison with null from r95338.
Modified paths:
  • /trunk/extensions/ProofreadPage/ProofreadPage_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ProofreadPage/ProofreadPage_body.php
@@ -883,7 +883,7 @@
884884 $ts = $tosection;
885885 }
886886 $out .= '{{#lst:' . $text . '|' . $fromsection . '|' . $ts .'}}';
887 - } elseif( $page == $to_page && $tosection != null ) {
 887+ } elseif( $page == $to_page && $tosection !== null ) {
888888 $out .= '{{#lst:' . $text . '||' . $tosection . '}}';
889889 } else {
890890 $out .= '{{:' . $text . '}}';

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r95338(bug 23049) Fix cross-page transclusions. Patch by Beaujohnduhart21:39, 23 August 2011

Status & tagging log