32,503
edits
(→About night mode...: new section) |
|||
(8 intermediate revisions by 5 users not shown) | |||
Line 341: | Line 341: | ||
To begin, I wasn't necessarily bothered by that "glitch" (or perhaps it was a test?) with the pages showing up with white-on-black CSS. I think night mode's value goes beyond aesthetics; it's easier on the eyes in low-light situations. So I was wondering, would you ever consider actually implementing it as an option for users to toggle in their preferences? I wanted to see your thoughts; I don't know much about CSS, so assuming it's not more work than it's worth, I think it would be a nice touch. <font face="Trebuchet MS">[[User:Blue Ninjakoopa|<span style="color:#0000a5">Blue</span>]] [[User talk:Blue Ninjakoopa|<span style="color:#0000a5">Ninjakoopa</span>]]</font> 20:45, November 2, 2021 (EDT) | To begin, I wasn't necessarily bothered by that "glitch" (or perhaps it was a test?) with the pages showing up with white-on-black CSS. I think night mode's value goes beyond aesthetics; it's easier on the eyes in low-light situations. So I was wondering, would you ever consider actually implementing it as an option for users to toggle in their preferences? I wanted to see your thoughts; I don't know much about CSS, so assuming it's not more work than it's worth, I think it would be a nice touch. <font face="Trebuchet MS">[[User:Blue Ninjakoopa|<span style="color:#0000a5">Blue</span>]] [[User talk:Blue Ninjakoopa|<span style="color:#0000a5">Ninjakoopa</span>]]</font> 20:45, November 2, 2021 (EDT) | ||
:Yes, the experimental night mode that you saw can be enabled [[Special:Preferences#mw-prefsection-gadgets|here]]. --[[User:Porplemontage|Porplemontage]] ([[User talk:Porplemontage#top|talk]]) 20:49, November 2, 2021 (EDT) | |||
::It looks great so far! Thanks! <font face="Trebuchet MS">[[User:Blue Ninjakoopa|<span style="color:#0000a5">Blue</span>]] [[User talk:Blue Ninjakoopa|<span style="color:#0000a5">Ninjakoopa</span>]]</font> 23:02, November 2, 2021 (EDT) | |||
== Template optimization == | |||
I've been working on one of the trophy templates to expand its functionality and I noticed that one method (with no nested if-statements) has a higher "preprocessor visited node count" but significantly lower "post-expand include size" compared to another method (with nested if-statements). When used 58 times: preproc: 14,648 (current) vs 16,618 (method 1) vs 16,150 (method 2); post-expand: 280,460 (current) vs 306,023 (method 1) vs 382,466 (method 2)). My question is: should I prioritize reducing one value more than the other? Or any of the other values in the profiling data? Between the two, the "CPU time usage" deviates within 0.08 seconds and the resulting HTML difference is less than 100 bytes. --[[User:CanvasK|CanvasK]] ([[User talk:CanvasK|talk]]) 08:13, September 8, 2022 (EDT) | |||
:I would say that reducing CPU time usage is ultimately best, but that value will vary a certain percentage on every parse. In this case the difference seems insignificant, so I would just go with whichever syntax you like better. --[[User:Porplemontage|Porplemontage]] ([[User talk:Porplemontage#top|talk]]) 11:19, September 8, 2022 (EDT) | |||
== Error Alert == | |||
Every time I go to an article, there's always "The "[blank]"® Smash Wiki article from SmashWiki, the Super Smash Bros. wiki" at the top. <small>—Preceding unsigned comment added by [[User:SuperPiranha85|SuperPiranha85]] ([[User talk:SuperPiranha85|talk]] • [[Special:Contributions/SuperPiranha85|contribs]]) 13:29, September 1, 2024 (EDT)</small> | |||
:The site tagline is meant to be there. There's something wrong with it? Can you share a screenshot? --[[User:Porplemontage|Porplemontage]] ([[User talk:Porplemontage#top|talk]]) 13:38, September 1, 2024 (EDT) | |||
::I think they may have the Officialiser enabled. In [[Special:Preferences|Preferences]], go to Gadgets and under April Fools' Day make sure "The Officialiser ™ (2024)" is unchecked. --[[User:CanvasK|CanvasK]] ([[User talk:CanvasK|talk]]) 13:39, September 1, 2024 (EDT) |
edits