Regarding Manual:FAQ#How do I customize the link-URL of the site-logo in the top left corner of all pages that activates when the site-logo is clicked upon? The proposed solution uses Manual:Hooks/SkinTemplateOutputPageBeforeExec Which was removed in MW version 1.37. Is there an alternative answer that works in MW versions 1.37+?
Topic on Manual talk:FAQ
Appearance
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");
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