[Mediawiki-l] how to have diff show entire section, not just differences

Brion Vibber brion at wikimedia.org
Mon Oct 15 14:17:35 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Monahon, Peter B. wrote:
> How can I set the default history diff to show the entire section being
> edited left and right, not just the few lines surrounding displayed
> differences?

You'd have to hack up DifferenceEngine.php to identify section breaks
and add extra stuff to output, I guess.

Good luck!

> That way, readers can immediately make decisions based on what they are
> seeing and reading, rather than try to mentally take note of the
> differences (or not) out of total context, and then have to toggle back
> and forth between the article (or the "current version" below).

That's why surrounding context lines are included, IIRC. :)

- -- brion vibber (brion @ wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHE3Z/wRnhpk1wk44RAvc4AKCVVLkMldwKSrh3QbuRcM7x1YjoIACg09CF
bZvfrCmB6cGJLxRjetDO4AA=
=2oWF
-----END PGP SIGNATURE-----



More information about the MediaWiki-l mailing list