Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Tales from Chyria
Search
Editing
Template talk:Navbox
(section)
From Tales from Chyria
Namespaces
Template
Discussion
More
More
Page actions
Read
Edit source
New topic
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Autocollapse bug == There seems to be a bug where autocollapse collapses the Navbox, even when (seemingly) no other collapsible elements are present on the page. Examples include: [[Amphibian]], [[Aldous Huxley]], [[Achilles]]. Huwiki uses identical instances of the Navbox module and the autocollapse script. This bug was first noticed in the [[:Hu:Algona (Iowa)|Algona (Iowa)]] article, where the removal of the Infobox makes the Navbox open. Is this a known issue? Pinging @[[User:TheDJ|TheDJ]] as the maintainer of the autocollapse script. ~ [[User:Boro|Boro]] ([[User talk:Boro|talk]]) 01:07, 6 August 2025 (UTC) :Authority control and similar templates are navboxes and have the relevant classes emitted. That even is relevant at hu. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 03:12, 6 August 2025 (UTC) ::Is this the intended behavior though? With the rise of Authority control and other collapsible elements, even singular Navboxes will close off and can't fulfill their majestic purpose of showing related content to readers at a glance. ~ [[User:Boro|Boro]] ([[User talk:Boro|talk]]) 07:48, 6 August 2025 (UTC) ::: My first impression is to agree with Boro. Auth control doesn't *seem* like a navbox, regardless of its actual construction and inclusion (or not) as a navbox that could cause another navbox to autocollapse. Maybe auth should be under a different class? [[User:Mathglot|Mathglot]] ([[User talk:Mathglot|talk]]) 08:25, 6 August 2025 (UTC) ::::Authority control has been present for as long as navboxes have and probably about as long as we've supported autocollapsing. That people have added it everywhere seems to be more an issue with that behavior (sometimes via bot) and less with the functioning of autocollapse. ::::I would not support changing either authority control or autocollapse on the point. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 15:17, 6 August 2025 (UTC) :::::This is not the case on huwiki. The local implementation of Authority control was introduced 5 years after the navbox, and to add to that, up until today [https://hu.wikipedia.org/w/index.php?title=Modul:Authority_control&diff=prev&oldid=28312316] it hasn't been emitting the collapse classes. I understand that this might be irrelevant for this wiki and that we could easily modify our instance. My goal right now is to understand your (that is, enwiki's) considerations, since the templates are more widely used and tested here, so we can proceed based on that knowledge. :::::When huwiki introduced the navbox, the reality was that no other elements were using the collapse classes, and ''autocollapse'' only activated when there were two or more navboxes adjacent to each other. Even the name β''autocollapse''β implies that the navbox should normally be expanded and only collapse in certain situations. These should not include situations in which templates distant from the navbox affect its behavior. My main argument is that the ''autocollapse'' feature in this template should only consider other collapsible navboxes. It should not account for navboxes in a plain/off state, sidebars, infoboxes, or any other templates having a collapse class. :::::In short, the expected behavior is this: a lone navbox at the bottom of the page should always remain open. :::::It's a separate discussion (and should not be the current one) whether 2 navboxes should remain open, as that would expand the current definition of ''autocollapse''. Currently, the clear loser in this situation is Authority control, which I expect is more often paired with another navbox than not. However, whether Authority control should be collapsed or not, is not the point of this thread. I hope this makes it clearer what I meant when I said this is a bug, without getting sidetracked. ~ [[User:Boro|Boro]] ([[User talk:Boro|talk]]) 21:05, 6 August 2025 (UTC) :::::Also, I'm curious: what would you say if, in addition to excluding plain/off states, ''collapsed'' states were excluded as well?" ~ [[User:Boro|Boro]] ([[User talk:Boro|talk]]) 21:16, 6 August 2025 (UTC) The collapsed state is caused by another collapsible list in the infobox. --[[User:Bean49|Bean49]] ([[User talk:Bean49|talk]]) 11:02, 6 August 2025 (UTC) :This is the other common "why does it autocollapse". [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 15:16, 6 August 2025 (UTC)
Summary:
Please note that all contributions to Tales from Chyria may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Chyria Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Wiki tools
Wiki tools
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs