Module talk:Sidebar/Archive 6: Difference between revisions

Content deleted Content added
Archiving 1 discussion(s) from Module talk:Sidebar) (bot
 
m Archiving 2 discussion(s) from Module talk:Sidebar) (bot
Line 7:
:That template was overriding that padding. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 21:16, 4 August 2021 (UTC)
::{{u|Izno}}, thanks. I was confused as in inspect element the padding rule on the .sidebar was not greyed out to show as overrided (which I assumed it would be if it was another rule overriding the padding) and as just disabling the rule seemed to fix the issue I didn't think pre-existing rules which applied to other elements were the problem. Thanks, [[User:Dreamy Jazz|Dreamy <i style="color:#d00">'''Jazz'''</i>]] <sup>''[[User talk:Dreamy Jazz|talk to me]]'' &#124; ''[[Special:Contribs/Dreamy Jazz|my contributions]]''</sup> 21:19, 4 August 2021 (UTC)
 
== Template documentation of wraplinks parameter ==
 
Is it supposed to turn link wrapping on or off? (Pinging [[User:Uzume|Uzume]], who changed the wording in [[Special:Diff/479819304|this edit]] from 2012.) --[[User:Paul_012|Paul_012]] ([[User talk:Paul_012|talk]]) 14:44, 8 October 2021 (UTC)
:{{re|Paul_012}} All I did was fix the formatting of the documentation. You should probably ask the creators of these [[Template:Sidebar/doc]] changes instead: [[Special:Diff/246309531/prev|246309531]] and [[Special:Diff/325612879/prev|325612879]]. The first is by {{ping|Sardanaphalus}} where the section on "Handling long links" is first introduced. The second is by {{ping|Anomie}} where the template used is changed from {{tl|longlink}} to {{tl|normalwraplink}}. My change also changed the template reference but only in the initial capitalization which always refers to the same page on Mediawiki references, so my change effectively only targeted fixing English and markup; not any semantic changes. You will also note, all such changes to the documentation, occurred before the conversion from the old template code to the new Scribunto code in 2013, so the documentation is quite likely outdated. —[[User:Uzume|Uzume]] ([[User talk:Uzume|talk]]) 18:28, 8 October 2021 (UTC)
:Based upon the current [[Module:Sidebar]] code, {{para|wraplinks}} causes the content to have the CSS class {{codett|lang=css|nowraplinks}} added when value of {{para|wraplinks}} is not {{param value|true}}. That seems quite different than the current documentation. This functionality was recently changed by {{ping|Izno}} in [[Special:Diff/1036808367/prev|1036808367]] and [[Special:Diff/1002719434/prev|1002719434]] from the original 2013 Module code that was presumably ported from the older Template code (although the changes appear to make it effectively do the same as it used to). I can research the history of the parameter in the old template code too if you like but I am not sure how valuable that is. —[[User:Uzume|Uzume]] ([[User talk:Uzume|talk]]) 18:28, 8 October 2021 (UTC)
:I updated the documentation [[Special:Diff/1040288292/1048915306|here]] to swap the paragraphs around (addressing {{para|wraplinks}} before {{tl|normalwraplink}}) and changing the referenced param value to {{param value|false}}, while adding that the {{tl|normalwraplink}} template can be used to wrap specific links while {{para|wraplinks|false}} is used. Such a change certainly changes the semantics of the documentation (unlike my earlier referenced change) but methinks it corrects it to be inline with the current functionality. I hope that help by fixes things. —[[User:Uzume|Uzume]] ([[User talk:Uzume|talk]]) 18:28, 8 October 2021 (UTC)
:Just to note I saw this and that it is entirely possible I fufed. I will look tomorrow in more detail. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 23:58, 8 October 2021 (UTC)
::{{bcc|Uzume}}The intention of the parameter today, and prior to my edits earlier this year, is to turn link wrapping on (review the [https://en.wikipedia.org/w/index.php?title=Module:Sidebar&oldid=960592528 version immediately prior to mine]). A review of the module at the [https://en.wikipedia.org/w/index.php?title=Template:Sidebar&action=edit&oldid=479875668 time of the 2012 edit] has <pre>{{#if: {{{wraplinks|}}}|{{#ifeq: {{{wraplinks|}}}|true||nowraplinks}}|nowraplinks}}</pre> which also indicates that "true" turns off nowraplinks. The 2012 edit was accordingly wrong. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 04:16, 11 October 2021 (UTC)
:::{{re|Izno}} Thanks, I reverted my earlier changes and updated the documentation to reflect that [[Special:Diff/1040288292/1049334455|here]]. —[[User:Uzume|Uzume]] ([[User talk:Uzume|talk]]) 07:07, 11 October 2021 (UTC)
 
== Vertically center the "[Expand]" button ==
 
I've noticed that the "[Expand]" button is not centered vertically like it's header text is to the left of it. It's really annoying to look at.
 
Could someone please center it? [[User:Lectrician1|Lectrician1]] ([[User talk:Lectrician1|talk]]) 01:46, 20 December 2021 (UTC)