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

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Interface-protected edit request on 1 October 2022[edit]

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)[reply]

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

Gadget made obsolete by new preference?[edit]

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)[reply]

@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)[reply]
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)[reply]
@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)[reply]
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)[reply]
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)[reply]
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)[reply]