Template talk:Collapse top

Problems in mobile-view

[edit]

This template has had problems in mobile-view for a long time now. Can such problems be addressed or at least referenced in its documentation for transparency reasons? - Klein Muçi (talk) 12:07, 27 February 2025 (UTC)[reply]

The redirect Template:Collapsoe top has been listed at redirects for discussion to determine whether its use and function meets the redirect guidelines. Readers of this page are welcome to comment on this redirect at Wikipedia:Redirects for discussion/Log/2025 May 20 § Template:Collapsoe bottom until a consensus is reached. Dsuke1998AEOS (talk) 13:55, 20 May 2025 (UTC)[reply]

The redirect Template:Collapose top has been listed at redirects for discussion to determine whether its use and function meets the redirect guidelines. Readers of this page are welcome to comment on this redirect at Wikipedia:Redirects for discussion/Log/2025 May 23 § Template:Collapose top until a consensus is reached. Duckmather (talk) 05:58, 23 May 2025 (UTC)[reply]

Archived discussions and the ⌘F problem

[edit]

Is there a way to have this default to |collapse=yes while it's on the regular discussion page, but to expand to show the content after it's been archived? Collapse-worthy content has a higher than average need to be presented in dispute resolution forums, and ⌘F doesn't work when the content has been hidden this way. WhatamIdoing (talk) 02:07, 17 June 2025 (UTC)[reply]

I believe the patch in T327893 would allow content inside collapsible templates (even when collapsed) to be searchable with a browser's "Find in page" feature. The browser should automatically expand the template when the search feature locates the content inside it. Demos are available on this first test page (search for "secret content") and on this second test page (search for "Moon Hee"). I wonder if there is any way to have this patch implemented sooner? — Newslinger talk 17:56, 17 June 2025 (UTC)[reply]
Actually, I just noticed that the fix in the patch only works with browsers other than Safari at this time, since Safari does not yet support the specific browser feature (the hidden=until-found HTML attribute). According to a discussion on the WebKit bug tracker, WebKit (and consequently Safari) plans to implement that browser feature as a part of their "Interop 2025" campaign, which seems to indicate that they hope to have this working by the end of the year. — Newslinger talk 18:07, 17 June 2025 (UTC)[reply]
So perhaps this problem will go away soon. Thanks. WhatamIdoing (talk) 18:26, 17 June 2025 (UTC)[reply]
While the Safari support will probably be addressed soon, we would also need to have T327893 implemented before the problem on Wikipedia goes away for us. ESanders (WMF), would you possibly enlighten us on what would be needed for that task to be implemented, and if there is anything we can do to help? — Newslinger talk 18:39, 17 June 2025 (UTC)[reply]
At the moment no one wants to own merging the patch as any issues with it have the potential to be far reaching and disruptive. ESanders (WMF) (talk) 13:35, 20 June 2025 (UTC)[reply]
There has been an Expand all toolbar button for one and a half years now. While it’s not nearly as discoverable or convenient as Ed’s patch, it’s already been merged, and it works in all browsers, including Safari. —Tacsipacsi (talk) 13:47, 20 June 2025 (UTC)[reply]

Not centered anymore?

[edit]

The "Extended content" text isn't centered anymore as of this edit. I just now noticed. Please see my userpage to see what I mean: "Awards" is not symmetrical with the rest of the page. ~WikiOriginal-9~ (talk) 17:19, 18 June 2025 (UTC)[reply]

Actually, this template is the one that is centered: all others are a bit left to the middle, because their titles are centered after leaving out the space for the toggle button. This can also be seen by toggling: if you uncollapse or collapse any of the blue boxes (i.e. {{hidden}}), their titles slightly move, as the space left out for “[show]” is not the same as the space left out for “[hide]” (at least using my fonts, where i is much narrower than w). On the other hand, toggling the green box (i.e. this template) doesn’t change the layout, as both labels fit in the 4em space that’s manually left out (on both sides, which is what makes it balanced). —Tacsipacsi (talk) 14:04, 20 June 2025 (UTC)[reply]
Thanks for the explanation. Even when I click "show" on the Template:hidden banners on my userpage, they still don't line up with the above Awards banner. Is there anyway of getting these lined up again? ~WikiOriginal-9~ (talk) 21:46, 21 June 2025 (UTC)[reply]