This ticket is to create the UI for the new image suggestions notifications in Echo. We need a new Echo notification type so that we can suggest images for unillustrated articles to experienced users.
See here for how to create a new notification type https://www.mediawiki.org/wiki/Extension:Echo/Creating_a_new_notification_type
The code should live in a new extension, see T299924
Acceptance Criteria:
- The notification is classified in Echo as a notice, not an alert
- The notification contains the name of the unillustrated article that the image is matched to
- The notification reads "We found media that might be a good fit for the article, {Article Name}, on your watchlist."
- If the user clicks in the general notification space, they are taken to the file page of the suggested file on Commons
- If the user clicks on Review media in the notification, they are taken to the file page of the suggested file on Commons
- If the user clicks on Review article in the notification, they are taken to the article page for the recommended unillustrated article
-
Note: Having specific copy for specific media type is a nice to have and a preferred option if it is possible to include it. i.e. instead of using generic term "media", we can say image, video, audio, file etc. If this is difficult, we should break it into another task and save it in the backlog for V2.Now covered in T312130 - If the user clicks on the "Help" link, they are taken to the help page for adding images on the language wiki with the recommendation
- pt: https://pt.wikipedia.org/wiki/Ajuda:Guia_de_edi%C3%A7%C3%A3o/Como_usar_imagens
- ru: https://ru.wikipedia.org/wiki/%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%8F:%D0%98%D0%BB%D0%BB%D1%8E%D1%81%D1%82%D1%80%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5
- id: https://id.wikipedia.org/wiki/Wikipedia:Kebijakan_penggunaan_gambar
- Other languages TBD, not part of this task
- The "All notifications" link takes the user to Special:Notifications and the "Preferences" link takes the user to notification preferences (following the standard notification design.)
- This ticket does *not* include the addition of a thumbnail, which is covered in T301354. Instead it should just show a generic icon as shown in the mock.
- Design matches the following mocks