LPS-50602  As draft wikiPage version data shouldn't be inserted in socialactivity table

The issue was caused by inserting draft wikiPage version data in socialactivity table. For other entries(dlfile, blogentry...), we don't add draft data in socialactivity table.

Only after clicking "Publish", we should add entry's data in socialactivity table. That is to say, we only save approved data in socialactivity table. In addition, for existing multiple version's entry(dlfile..), when edit it, new version data will be inserted into socialactivity table as new activity, not to update it in socialactivity table. So the fix needs to remove the original logic "if (oldPage.getVersion() == newVersion) {}" because we shouldn't save draft data into socialactivity table.

Please help check it. Thanks.