Several i18n messages in TimedMediaHandler appear to be unused. I discovered it as I was doing some informal auditing of Extensions used by Wikimedia in translatewiki and noticed that some TimedMediaHandler messages were documented as "May unused" (sic) by @Umherirrender in qqq.
I ran git grep and here's what I found:
These messages don't appear anywhere outside json files:
- mwe-embedplayer-loading_plugin
- mwe-embedplayer-select_playback
- mwe-embedplayer-link_back
- mwe-embedplayer-error_swap_vid
- mwe-embedplayer-add_to_end_of_sequence
- mwe-embedplayer-missing_video_stream
- mwe-embedplayer-next_clip_msg
- mwe-embedplayer-prev_clip_msg
- mwe-embedplayer-current_clip_msg
- mwe-embedplayer-download_segment
- mwe-embedplayer-download_right_click
- mwe-embedplayer-download_clip
- mwe-embedplayer-clip_linkback
- mwe-embedplayer-video_credits
- mwe-embedplayer-no-video_credits
- mwe-embedplayer-read_before_embed
- mwe-embedplayer-related_videos
- mwe-embedplayer-missing-source
These are mentioned in the code, but I couldn't find where exactly. If they can actually be seen by users, it would be great to document them properly in qqq. If they are not actually seen, the messages and the corresponding code must be removed:
- mwe-embedplayer-download_text
- mwe-embedplayer-about-library
- mwe-embedplayer-kaltura-platform-title
Similar task: T224429: Hunt and remove unused i18n messages in mediawiki core