List of steps to reproduce (step by step, including full links if applicable):
- Go to a page with only a single language
- Scroll down the page until the sticky header appears
What happens?:
Language switcher appears with "0 languages"
What should have happened instead?:
No language switcher appears
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:
https://phabricator.wikimedia.org/F34909440
See https://phabricator.wikimedia.org/T297362 for related task
AC
- When an article is not available in any other languages, do not display the language button
- Language button doesn't show when language in header is not enabled (i.e. Wikicommons)