Jump to content

Extension talk:LogoFunctions

Add topic
From mediawiki.org
Latest comment: 3 years ago by 66.102.87.40 in topic Does this work with Skin:Vector/2022?


Extension not work after update to 1.25

[edit]

In Mediawiki 1.25, the system use different way to display the logo on a page and the extension doesn't work. I have opened a bug post to try to fix it : https://phabricator.wikimedia.org/T146940 ~ JonathanMM (talk) 21:04, 28 September 2016 (UTC)Reply

Doesn't work in MediaWiki 1.31

[edit]

As of MediaWiki 1.31, {{#setlogo:}} is unusable (doesn't do anything) and needs to be rewritten.

Possible reasons: 1) $wgLogo is used before setlogo changes it, 2) extension is unaware of the parser cache (doesn't save the new logo in ParserOutput). Edward Chernenko (talk) 13:35, 16 October 2018 (UTC)Reply

I'm seeing the same issues in MediaWiki 1.31.1; the #setlogo tag does nothing. I've opened another bug report at https://phabricator.wikimedia.org/T208342 as the existing bug report appears to have been for MW1.25 (as reported by JonathanMM, below). Carlb (talk) 05:09, 29 October 2018 (UTC)Reply

CSSmin

[edit]

I am getting a CSSmin not found error. When I attempt to use the stamp feature.

Using Mediawiki 1.39.2 -𝘼𝙧𝙘𝙝𝙖𝙣𝙜𝙚𝙡💀 20:38, 9 March 2023 (UTC)Reply

Does this work with Skin:Vector/2022?

[edit]

As of MW 1.38+ the MediaWiki software is bundled with a new skin, vector-2022, which matches the skin currently in use on this wiki and anything hosted by Wikimedia (including Wikipedia), Miraheze and a few others.

That skin splits $wgLogo into multiple logos so that the icon, site name (wordmark) and tagline are three separate files, like:

  • the puzzle globe en.wikipedia.org/static/images/icons/wikipedia.png
  • the "Wikipedia" wordmark: en.wikipedia.org/static/images/mobile/copyright/wikipedia-wordmark-en.svg
  • "the free encyclopedia" tagline: en.wikipedia.org/static/images/mobile/copyright/wikipedia-tagline-en.svg

That's going to be a problem for this extension, as LogoFunctions is expecting to override one file with the logo and there are now actually three smaller images (plus some variants for SVG versions, or higher-resolution versions of the same PNG content) which must be set. I see no way to do that with this extension. 66.102.87.40 (talk) 17:21, 16 May 2023 (UTC)Reply