private void NotifyCommentCreated(Page page, Comment comment) { WikiNotifyClient.SendNoticeAsync( SecurityContext.CurrentAccount.ID.ToString(), Constants.EditPage, PageNameUtil.ReplaceSpaces(page.PageName), null, GetNotifyTags(page.PageName, "new wiki page comment", comment)); }
private void NotifyCategoryAdded(string category, string page) { WikiNotifyClient.SendNoticeAsync( SecurityContext.CurrentAccount.ID.ToString(), Constants.AddPageToCat, category, null, GetCategoryNotifyTags(category, page)); }
private void NotifyPageEdited(Page page) { WikiNotifyClient.SendNoticeAsync( SecurityContext.CurrentAccount.ID.ToString(), Constants.EditPage, PageNameUtil.ReplaceSpaces(page.PageName), null, GetNotifyTags(page.PageName, "edit wiki page", null)); }
private void NotifyPageCreated(Page page) { WikiNotifyClient.SendNoticeAsync( SecurityContext.CurrentAccount.ID.ToString(), Constants.NewPage, null, null, GetNotifyTags(page.PageName)); }
private void NotifyCommentCreated(Page page, Comment comment) { WikiNotifyClient.SendNoticeAsync( SecurityContext.CurrentAccount.ID.ToString(), Constants.EditPage, PageNameUtil.Encode(page.PageName), null, GetNotifyTags(page.PageName, "new wiki page comment", comment)); WikiActivityPublisher.AddPageComment(page, comment); }
private void NotifyPageEdited(Page page) { WikiNotifyClient.SendNoticeAsync( SecurityContext.CurrentAccount.ID.ToString(), Constants.EditPage, PageNameUtil.Encode(page.PageName), null, GetNotifyTags(page.PageName, "edit wiki page", null)); WikiActivityPublisher.EditPage(page); }