Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Module talk:Sister project logo

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia

Protected edit request on 30 May 2026

[edit]

Wikinews is closed down; please remove it from the module. 2600 etc (talk) 19:35, 30 May 2026 (UTC)Reply

 Not done I don't see why the module shouldn't contain this logo for historical references if nothing else. * Pppery * in solidarity 20:37, 30 May 2026 (UTC)Reply
OK. 2600 etc (talk) 20:41, 30 May 2026 (UTC)Reply

Properly color Wiktionary logo in dark mode

[edit]

Hi. I'm not super knowledgeable on Lua and how to use TemplateStyles with Lua, but this template should try to use template styles instead of skin-invert on the Wiktionary logo in dark mode. This is because the proper coloring for the Wiktionary logo is as follows (copied from wikt:MediaWiki:Gadget-Site.css):

{
	filter: invert(1) brightness(55%) contrast(250%) hue-rotate(180deg);
}

Is there anyone more Lua-knowledgeable who would be willing to help with this? Axolitl (talk | contribs) 15:50, 20 September 2026 (UTC)Reply

The CSS style you requested is already handled by some templates that call this module (i.e., Template:Sister project/styles.css and Template:Sister-inline/styles.css). Nevertheless, those don't cover all use cases, including the important use on the Main Page at {{Wikipedia's sister projects}}. It seems like a good idea to centralize this for all uses of Wiktionary logo, rather than just with the two templates.
I've added Module:Sister project logo/styles.css to implement the filter from Wiktionary, and modified Module:Sister project logo/sandbox to include it as a TemplateStyle. Are there any thoughts or comments before I make it go live? — hike395 (talk) 17:52, 20 September 2026 (UTC)Reply
Should Wiktionary be removed from the darkOnLight logos in Module:Sister project logo/data? Axolitl (talk | contribs) 18:04, 20 September 2026 (UTC)Reply
Actually, I think the Wiktionary logo should have its own class, as if we ever need to introduce a dark-on-light logo again, it probably won't use the same styling as the Wiktionary logo. Axolitl (talk | contribs) 18:06, 20 September 2026 (UTC)Reply
I've added a class to every image which looks like sister-project-logo-wikt, sister-project-logo-d, etc. I think this is actually a better way to handle dark mode (and other custom) styling, as it allows for a lot more customizability. Axolitl (talk | contribs) 18:13, 20 September 2026 (UTC)Reply
If you want (potentially) distinct CSS for every logo, then the CSS in Template:Sister-inline/styles.css is probably the right way to go: it doesn't define a class, but instead has an conditional statement based on the logo file name. I'll update Module:Sister project logo/styles.css and Module:Sister project logo/sandbox to reflect this. — hike395 (talk) 21:47, 20 September 2026 (UTC)Reply
Good point. All that I think needs to be changed on the live module is adding a TemplateStyles call. Then, in the TemplateStyles page, we can use the src selector. Axolitl (talk | contribs) 21:51, 20 September 2026 (UTC)Reply

Edit request

[edit]

Request: Please copy Module:Sister project logo/sandbox to Module:Sister project logo

Rationale: See above. This applies the Wiktionary dark mode filter to all uses of the Wiktionary logo in WP. It is also future-proof: if a new logo requires a dark mode filter, it can easily be added to Module:Sister project logo/styles.css.

@MSGJ: for visibility. Thanks so much! — hike395 (talk) 05:10, 24 September 2026 (UTC)Reply