make checkcontent compatible with hooks that need the full content
authorintrigeri <intrigeri@boum.org>
Mon, 19 Jan 2009 18:44:39 +0000 (19:44 +0100)
committerintrigeri <intrigeri@boum.org>
Mon, 19 Jan 2009 18:44:39 +0000 (19:44 +0100)
commita3726968bc13f19f458c372cbd7cf92ae4c6fce5
tree9c0d302b2dd1b452a8849a8a74c414b69e8dccde
parent14b49376dc03672f896e5f1df3945a718a39d5a0
make checkcontent compatible with hooks that need the full content

Always pass the full (modified) content in `content` named parameter. When the
user edits an existing wiki page, also pass a `diff` named parameter, which
includes only the lines that they added to the page, or modified.

Signed-off-by: intrigeri <intrigeri@boum.org>
IkiWiki/Plugin/blogspam.pm
IkiWiki/Plugin/editpage.pm
doc/plugins/write.mdwn