Topic on Manual talk:FAQ

Customize site-logo answer is no longer valid.

3
Summary by Medicinestorm

FAQ entry should be updated.

referencing skin-specific css class resolved discrepancy.

Medicinestorm (talkcontribs)
Medicinestorm (talkcontribs)

P.S.: The MediaWiki:Common.js wasn't working either, but I discovered it is because my skin was using class="mw-logo... instead of class="mw-wiki-logo.... Changing the Common.js lines to the following resolved the issue:

$("a.mw-logo").attr("href", "http://www.example.com");
$("a.mw-logo").attr("title", "Go to example.com website");
Tacsipacsi (talkcontribs)

No, I don’t think there’s a PHP answer that works in MW 1.37+.

For the JavaScript solution, it looks like the two variants of the Vector skin use different class names. he old variant (Vector 2010) uses mw-wiki-logo (as documented in the FAQ), while the new variant (Vector 2022) uses mw-logo. Given that the new variant is becoming the default, maybe the FAQ entry should be updated to at least mention the new one as well. Or the Vector skin should be fixed to be self-consistent.T