Steps to reproduce:
- Go to any page on Beta cluster for example: https://en.wikipedia.beta.wmflabs.org/wiki/User:RYasmeen_(WMF)/sandbox.
- Open the User Menu on top of the page and observe that, there are two options called "Upload media" and "Translations".
- Now open any editor for this page.
- Open the user menu again.
Observed Result:
The menu items "Upload media" and "Translations" under User Menu are getting duplicated after each edit attempt.
Environment: Beta cluster/en.wiki.