In modern Vector (note arrow in to left overlapping logo):
Test URI: https://meta.wikimedia.beta.wmflabs.org/wiki/Special:Translate?useskin=vector&group=!additions&language=en&filter=!translated&action=translate
Where should this icon live?
Jdlrobson | |
May 5 2020, 2:43 PM |
F31803554: Screen Shot 2020-05-05 at 7.42.13 AM.png | |
May 5 2020, 2:44 PM |
F31803553: Screen Shot 2020-05-05 at 7.42.23 AM.png | |
May 5 2020, 2:44 PM |
In modern Vector (note arrow in to left overlapping logo):
Where should this icon live?
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/extensions/Translate | master | +5 -0 | Skip navitoggle on new Vector |
Won't this functionality be obsolete once we build the collapsible sidebar for modern Vector? T247032
True. So I guess this needs to make use of the .skin-legacy class and only show it if that's present?
It's not no, the new Vector is in 1.35. To support pre 1.33 however you have several options:
I'm sure there's more ways to do this, but these are just that came to mind.
To me option (3) seem best, since it is direct feature detection. Can you ping this task when that is available?
Given this seems to replicate the functionality of #mw-sidebar-button may I suggest you check the existence of that (particularly because it breaks the side bar button there) ?
https://meta.wikimedia.beta.wmflabs.org/wiki/Special:Translate?useskin=vector&group=%21additions&language=en&filter=%21translated&action=translate
Change 606248 had a related patch set uploaded (by Nikerabbit; owner: Nikerabbit):
[mediawiki/extensions/Translate@master] Skip navitoggle on new Vector
Change 606248 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Skip navitoggle on new Vector