hhuijser/liferay-plugins — pull request #216 by zxdgoal (2014-07-14 02:36:51+00:00)
Title: LPS-48297 LPS-48297 After enable Akismet for Wiki, Wiki page starts from...

Let me focus on the version problem only.

In the original cold, the WikiPageLocalServiceUtil.updatePage() is called after a wikipage is marked as spam which lead to returning a new page whose version is one larger than the old one.

As I said, the version of page before marking as spam and after marking as spam should remain the same if the reverting to its old version is not triggered. So the I think the updatePage should not be called and just return the page with setting it as spam.