Thread:Project:Support desk/Show diff if page is new?

The outdated Extension:Patroller uses the DifferenceEngine to display the diff.

private function showDiff( &$edit ) { $diff = new DifferenceEngine( $edit->getTitle, $edit->mAttribs['rc_last_oldid'], $edit->mAttribs['rc_this_oldid'] ); $diff->showDiff( ,  ); }

But if the page is new (rc_last_oldid = 0), then nothing is displayed. The DifferenceEngine used to display nothing on the left and the new text on the right tho.

How can this be fixed?