MediaWiki talk:Gadget-wide-vector-2022.css

In today's article we will delve into the fascinating world of MediaWiki talk:Gadget-wide-vector-2022.css. Since its inception, MediaWiki talk:Gadget-wide-vector-2022.css has been the subject of interest and study, capturing the attention of those seeking to further understand its nuances and complexities. Throughout history, MediaWiki talk:Gadget-wide-vector-2022.css has been the protagonist of countless debates, discussions and reflections, being a topic that encompasses a wide range of perspectives and approaches. With so much to discover and analyze, it is evident that MediaWiki talk:Gadget-wide-vector-2022.css continues to be a topic of relevance today, sparking the interest of academics, enthusiasts and the curious alike. In this article, we will explore the highlights of MediaWiki talk:Gadget-wide-vector-2022.css, diving into its history, evolution, and its impact on various areas of society.

Interface-protected edit request on 1 October 2022

When the main menu is collapsed, and the TOC is collapsed, the popup TOC that you get when you click on the button to the left of the title of the page is offset to the right as it expects the button to be there. (example page)

This can be fixed with the following CSS:

.vector-toc-collapsed #mw-sidebar-checkbox:not(:checked) ~ .mw-table-of-contents-container {
    margin-left: unset;
}

Terra (talk) 21:01, 1 October 2022 (UTC)

 Done @TerraCodes: added, let me know if any issues. — xaosflux Talk 10:27, 6 October 2022 (UTC)

Gadget made obsolete by new preference?

With the release of the new "Enable limited width mode" preference (see meta:Tech/News/2022/48, phab:T319449) it seems like this gadget has been made obsolete. In my preferences, I've just disabled the gadget and disabled limited width mode, and it seems to work fine. Xaosflux, what do you think? --rchard2scout (talk) 07:59, 29 November 2022 (UTC)

@Rchard2scout it looks like there is still some work being done there. I'd love to not have to use a gadget once this is stable. — xaosflux Talk 10:15, 29 November 2022 (UTC)
I didn't look close enough at the phab ticket, just took the one linked from Tech News. That one is for the toggle on each page, where there's still something going on. Over at phab:T319447, the user preference is fully implemented and done. --rchard2scout (talk) 12:12, 29 November 2022 (UTC)
@Rchard2scout making sure we're talking about the same thing, are you referring to the user preference "Enable limited width mode" (it defaults to "on" and is only available to toggle in the UI when you are in vector-2022? — xaosflux Talk 13:58, 29 November 2022 (UTC)
Yes, that's the one I mean. I've set it to off, and I don't need the gadget anymore. The user preference is done (except for a bug with the edit preview, see phab:T319447#8428150), the toggle on every page (the first phab ticket I linked) apparently still needs some work. --rchard2scout (talk) 15:08, 29 November 2022 (UTC)
Thanks, so we should be able to work on deprecating this. A possible option would be to to it for users - if someone wants to write a js version that (a) enables the new preference then (b) disables the gadget. That could work for migration. — xaosflux Talk 15:12, 29 November 2022 (UTC)
I'll be annoucing this new preference in the admin newsletter so that should encourage a good number to change to using the preference. Dreamy Jazz talk to me | my contributions 15:18, 29 November 2022 (UTC)