Steps to replicate the issue (include links if applicable):
- Add a class to $links['views']['ve-edit']['class'] through the SkinTemplateNavigation::Universal hook
- Wait for page to be fully loaded with Javascript
What happens?:
VE reset the visual edit link to the state before SkinTemplateNavigation::Universal
What should have happened instead?:
VE should not reset the visual edit link
Software version (skip for WMF-hosted wikis like Wikipedia):
MediaWiki 1.39
VE seems to rewrite the #ca-ve-edit content through setupMultiTab, replacing the original content within.