Steps to replicate the issue (include links if applicable):
- Create a block in a base course
- Allow translation of that course into other languages
- Delete the block from base and translated courses
What happens?:
The WikiLearn system informs Meta-Wiki that no languages are needed by sending an empty priorityLanguages array since they no longer need any translation.
On Meta-Wiki, translation of that message bundle is now allowed into all languages.
What should have happened instead?:
Translation should not be allowed on Meta-Wiki
Software version (skip for WMF-hosted wikis like Wikipedia):
- MediaWiki: master
- Translate: master
Other information (browser name/version, screenshots, etc.):
Sample message bundles with this issue:
- https://meta.wikimedia.org/wiki/WikiLearn/Courses/course-v1:Wikimedia-Foundation%2BWMF_OL101%2B2023/en/block-v1:Wikimedia-Foundation%2BWMF_OL101%2B2023%2Btype@vertical%2Bblock@81e180c9c07a4066a8c7419cd2d30729
- https://meta.wikimedia.org/wiki/WikiLearn/Courses/course-v1:Wikimedia-Foundation%2BWMF_OL101%2B2023/en/block-v1:Wikimedia-Foundation%2BWMF_OL101%2B2023%2Btype@html%2Bblock@c39efad79b514de3a5ed0a7d5237577e
- https://meta.wikimedia.org/wiki/WikiLearn/Courses/course-v1:Wikimedia-Foundation%2BWMF_OL101%2B2023/en/block-v1:Wikimedia-Foundation%2BWMF_OL101%2B2023%2Btype@video%2Bblock@07ec86d737ac444d90fdba69078480a9

