Consumer Rights Wiki talk:Moderators' noticeboard: Difference between revisions
CrookKilla (talk | contribs) |
CrookKilla (talk | contribs) |
||
| Line 169: | Line 169: | ||
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. | ||
Would save trouble - issues I see like comments asking people to use better filenames and the use logo category, and https://consumerrights.wiki/w/Talk:DuckDuckGo#Logo would all go away. And [company/ | Would save trouble - issues I see like comments asking people to use better filenames and the use logo category, and https://consumerrights.wiki/w/Talk:DuckDuckGo#Logo would all go away. And [company/productName_logo.svg] could be the default instead of [[:File:QuestionMark.svg]]! | ||
In other words, [https://consumerrights.wiki/index.php?title=Ecobee&diff=prev&oldid=58644 this edit] should just work, and https://commons.wikimedia.org/wiki/File:Ecobee_logo.svg should display. Notice: https://en.wikipedia.org/wiki/File:Ecobee_logo.svg doesn't have an edit button; the file doesn't exist there. | In other words, [https://consumerrights.wiki/index.php?title=Ecobee&diff=prev&oldid=58644 this edit] should just work, and https://commons.wikimedia.org/wiki/File:Ecobee_logo.svg should display. Notice: https://en.wikipedia.org/wiki/File:Ecobee_logo.svg doesn't have an edit button; the file doesn't exist there. | ||
| Line 175: | Line 175: | ||
Pretty confident there's no legal or technical issue with doing this. They say hotlinking, as it's called, is allowed, here: https://commons.wikimedia.org/wiki/Commons:Reusing_content_outside_Wikimedia: " '''Use it''': Download or hotlink the file and use it. ('''See [[commons:Commons:Reusing_content_outside_Wikimedia/technical|Commons:Reusing content outside Wikimedia/technical]].''')" | Pretty confident there's no legal or technical issue with doing this. They say hotlinking, as it's called, is allowed, here: https://commons.wikimedia.org/wiki/Commons:Reusing_content_outside_Wikimedia: " '''Use it''': Download or hotlink the file and use it. ('''See [[commons:Commons:Reusing_content_outside_Wikimedia/technical|Commons:Reusing content outside Wikimedia/technical]].''')" | ||
I guess | I guess @[[User:Keith|Keith]] needs to add the line. Or if someone grants me access, I'll edit <s>[[Special:FilePath]] or</s> the server's copy of LocalSettings.php accordingly to make this work. (For the latter, see https://www.mediawiki.org/wiki/InstantCommons, a firewall tweak <u>may</u> be needed if we go the InstantCommons route.) [[User:CrookKilla|CrookKilla]] ([[User talk:CrookKilla|talk]]) 19:02, 22 June 2026 (UTC) | ||
:Update2: I was confused by bad documentation. | :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) | ||
=== 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) | ||