Background information
One of the biggest reporting issues to solve is how users find ways to report. This task is to capture the technical ways that we might help create entry points. @aishwaryavardhana created a loom video that shows some options. It appears we are considering reporting on user pages, and on individual comments on discussion pages (any talk page).
After talking with the team, it seems that perhaps using hooks mioght be the way forward for this task. We are not sure about the various locations of links because we do not want to make any changes to core if it can be avoided.
We believe this can all be done with hooks wihtin the pirs extension
Questions
- [ x] How could an extension add a link to the top bar on desktop? add code to /includes/skins/SkinTemplate.php function buildPersonalUrls,
- [ x] How could an extension add a link on a users page (scenario 2 in Aishwarya's video)? we may be able to access a hook to bring the link in, not sure about the format of the url (look/feel)
- [x ] How could an extension add an overflow menu to a comment on a talk page (scenario 3 in Aishwarya's video)?
Again, it looks as if hooks are the way to go with this
multiple examples MediaWiki hooks included in SkinTemplate.php



