Reduce dependence on $wgOut global in the difference formatter; just buffer up the...
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 9 Oct 2004 02:53:11 +0000 (02:53 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 9 Oct 2004 02:53:11 +0000 (02:53 +0000)
commit8a70a3f4d357d73a00b70cc004eb18f6b467ca78
treeb78b7e69e7a500bda3b1b83f496b31d990a0c808
parent9193b26923afba4dc9dcfa83fa3d12a7b916032d
Reduce dependence on $wgOut global in the difference formatter; just buffer up the output and give it to $wgOut in a lump.
Also added DifferenceEngine::getDiff() so you can get a diff without sending it to $wgOut.
includes/DifferenceEngine.php