Fix creating activities (system notes) for mentions in wiki pages

What does this MR do and why?

This fixes creating system notes - entries in Activity section for mentionable work items - for mentions in wiki page comments.

Mentions have already been working with wiki comments, and WikiPage::Meta is already a Mentionable, but actual record creation was broken by overriding an Mentionable concern method with wrong arity, and so it failed silently.

References to group wiki pages are not available, because right now we only support project wiki references in GFLM.

References

This should allow for Closing two Issues:

Screenshots or screen recordings

Before After
image

How to set up and validate locally

  1. Go to a wiki page.
  2. Mention an issue/merge request/other mentionable in a new comment.
  3. Go to the mentionable's view and see the new system note under the Activity header.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Matthew Macfarlane

Merge request reports

Loading