Consumer Rights Wiki talk:Moderators' noticeboard: Difference between revisions

CrookKilla (talk | contribs)
Line 164: Line 164:
==Logos (and Style Guide / Templates)==
==Logos (and Style Guide / Templates)==


'''tl;dr: Enabling InstantCommons could be a huge help site-wide. Let's add <code>$wgUseInstantCommons = true;</code> to the LocalSettings.php file on the server.
'''tl;dr: Enabling InstantCommons could be a huge help site-wide. Let's add <code>$wgUseInstantCommons = true;</code> to the LocalSettings.php file on the server.'''
'''


CRW can use content from Wikimedia Commons much like Wikipedia does with a small configuration change.   Currently, a file can be uploaded to Wikimedia Commons or Wikipedia, and it's as if the file exists on Wikipedia if it's just on Commons.  
CRW can use content from Wikimedia Commons much like Wikipedia does with a small configuration change.   Currently, a file can be uploaded to Wikimedia Commons or Wikipedia, and it's as if the file exists on Wikipedia if it's just on Commons.  
Line 178: Line 177:


:Update2:  I was confused by bad documentation. https://commons.wikimedia.org/w/index.php?title=Special:Redirect/file/Ecobee_logo.svg would work (hotlinking), but I think [[Special:FilePath]], aka [[Special:Redirect]] is of no use for including an image in a ''wiki'' page.  So I think InstantCommons is the way to go.  (It comes pre-installed, so it's vetted; it just needs to be turned on but it requires server access to add one line the server's copy of https://www.mediawiki.org/wiki/Manual:LocalSettings.php.)  --[[User:CrookKilla|CrookKilla]] ([[User talk:CrookKilla|talk]]) 22:32, 22 June 2026 (UTC)
:Update2:  I was confused by bad documentation. https://commons.wikimedia.org/w/index.php?title=Special:Redirect/file/Ecobee_logo.svg would work (hotlinking), but I think [[Special:FilePath]], aka [[Special:Redirect]] is of no use for including an image in a ''wiki'' page.  So I think InstantCommons is the way to go.  (It comes pre-installed, so it's vetted; it just needs to be turned on but it requires server access to add one line the server's copy of https://www.mediawiki.org/wiki/Manual:LocalSettings.php.)  --[[User:CrookKilla|CrookKilla]] ([[User talk:CrookKilla|talk]]) 22:32, 22 June 2026 (UTC)
:Sounds like a good idea! I've passed it on to Jake for implementation, should hopefully roll out in the next patch if there are no unforseen complications [[User:Keith|Keith]] ([[User talk:Keith|talk]]) 10:30, 26 June 2026 (UTC)


=== Importing Templates ===
===Importing Templates===
:Oh, and do we have an admin who can import templates from Wikipedia or are you looking for one? [[Special:Import]] requires the mop too. I used [[Template:Dead link]] recently at [[eBay]] (before it existed), and <s>would like</s> ''wanted'' to import it so it would ''work'', but I saw the Wikipedia version has a bunch of dependencies: Template:Fix, Module:Yesno, Module:Arguments, the '''whole freaking''' Module:Citation/CS1, and sub-Modules (they're ~half the file), Module:Protection banner+sub and Module:Documentation+subs (~5% each), Module:Check for unknown parameters, Module:Navbox, Template:Dead link/styles.css, and related meta-templates ~50 "pages" total. Apparently, essential backend extensions like Scribunto, ParserFunctions, and TemplateStyles must be installed, with a full export via Special:Export recommended to ensure all dependencies are included. The export produces a ridiculously huge 1.1MB file if I check "Include templates" (required; otherwise, it's tiny).  
:Oh, and do we have an admin who can import templates from Wikipedia or are you looking for one? [[Special:Import]] requires the mop too. I used [[Template:Dead link]] recently at [[eBay]] (before it existed), and <s>would like</s> ''wanted'' to import it so it would ''work'', but I saw the Wikipedia version has a bunch of dependencies: Template:Fix, Module:Yesno, Module:Arguments, the '''whole freaking''' Module:Citation/CS1, and sub-Modules (they're ~half the file), Module:Protection banner+sub and Module:Documentation+subs (~5% each), Module:Check for unknown parameters, Module:Navbox, Template:Dead link/styles.css, and related meta-templates ~50 "pages" total. Apparently, essential backend extensions like Scribunto, ParserFunctions, and TemplateStyles must be installed, with a full export via Special:Export recommended to ensure all dependencies are included. The export produces a ridiculously huge 1.1MB file if I check "Include templates" (required; otherwise, it's tiny).
:'''SUCCESS'''!  Relatively minimalist  [[Template:Dead link]]  forked off Wikia instead. Works!  Having a strategy re https://webmasters.stackexchange.com/questions/117429/how-to-use-wikipedia-templates-on-an-outside-mediawiki would be good.  We have so I presume we already imported CS1, or does it come with MediWiki?  I see we do NOT have citation (CS1, CS2, etc) templates; citations work through Modules, so those templates are not needed, apparently. [[User:CrookKilla|CrookKilla]] ([[User talk:CrookKilla|talk]]) 20:52, 22 June 2026 (UTC)
:'''SUCCESS'''!  Relatively minimalist  [[Template:Dead link]]  forked off Wikia instead. Works!  Having a strategy re https://webmasters.stackexchange.com/questions/117429/how-to-use-wikipedia-templates-on-an-outside-mediawiki would be good.  We have so I presume we already imported CS1, or does it come with MediWiki?  I see we do NOT have citation (CS1, CS2, etc) templates; citations work through Modules, so those templates are not needed, apparently. [[User:CrookKilla|CrookKilla]] ([[User talk:CrookKilla|talk]]) 20:52, 22 June 2026 (UTC)