Add notes to WikiPage::Meta for project- and group-level wikis
What does this MR do and why?
Related to Backend for top-level discussions on Wiki (#468799).
This adds notes, discussions, and user mentions (by adding the Wikis::UserMention
model) to WikiPage::Meta
as a groundwork for adding top-level comments to wiki pages.
As wikis are generally git repositories, we chose WikiPage::Meta
as the entity to hang notes onto, as it's a solid representation of a wiki page in the database (more details in the parent issue).
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.