MediaWiki:Common.js: Difference between revisions
From Liberation Map
Created page with "→Any JavaScript here will be loaded for all users on every page load.: $("a.mw-wiki-logo").attr("href", "https://liberation-map.michaelzfreeman.org/"); $("a.mw-wiki-logo").attr("title", "Go to the master Liberation Map");" |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
/* This would work if the anchor tag actually had an ID but it does not - https://www.mediawiki.org/wiki/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? | |||
$("a.mw-wiki-logo").attr("href", "https://liberation-map.michaelzfreeman.org/"); | $("a.mw-wiki-logo").attr("href", "https://liberation-map.michaelzfreeman.org/"); | ||
$("a.mw-wiki-logo").attr("title", "Go to the master Liberation Map"); | $("a.mw-wiki-logo").attr("title", "Go to the master Liberation Map"); */ | ||
Revision as of 19:41, 30 June 2022
/* Any JavaScript here will be loaded for all users on every page load. */
/* This would work if the anchor tag actually had an ID but it does not - https://www.mediawiki.org/wiki/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?
$("a.mw-wiki-logo").attr("href", "https://liberation-map.michaelzfreeman.org/");
$("a.mw-wiki-logo").attr("title", "Go to the master Liberation Map"); */
