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!
== argHash issues == {{ping|Ahecht}} I've found two issues of <code>argHash</code> during make patch for [[:zh:Module:Navbox]] ([[:zh:Module:Navbox/sandbox2|sandbox]]): # The lengths of {{para|listN}} parameters will not count towards <code>argHash</code> value. # The {{para|argHash}} parameter which from a navbox template will not pass into module. These issues above appears on enwiki, but zhwiki (still uses the old version of module previous 2024) not. [[User:Dabao qian|Dabao qian]] ([[User talk:Dabao qian|talk]]) 16:47, 1 September 2025 (UTC) :@[[User:Dabao qian|Dabao qian]] For number 1, I don't see any reason why {{para|listN}} parameters shouldn't be counted as long as they have a string value, but I'll look into it sooner. As for #2, argHash is always automatically calculated, so it's not supposed to be passed from the template to the module (unless I'm misunderstanding what you mean). <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 03:55, 2 September 2025 (UTC) ::@[[User:Dabao qian|Dabao qian]] Actually, looking into it further, the entire first try at calculating argHash in <code>p.navbox</code> is now unnecessary given that code was later added to calculate it in <code>p._navbox</code>. There's a version in the [[Module:Navbox/sandbox|sandbox]] that eliminates that redundancy, which also means that {{para|listN}} is now counted correctly. Try it out, and I can sync the changes over to the main module at some point. <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 04:26, 2 September 2025 (UTC) :::Now the issus has been resolved and {{para|listN}}is counted correctly. [[User:Dabao qian|Dabao qian]] ([[User talk:Dabao qian|talk]]) 04:42, 2 September 2025 (UTC) :Offtopic: ... I was there for when this hash got added and somehow didn't remember it. Good to know at least one thing is off the list. It does appear to be working; [[Template:Warcraft universe]]'s accessibility properties identify the navigation region as "Warcraft", which is the title of the navbox. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 16:32, 2 September 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