// Usage: add importScript(User:Svick/HarvErrors.js); to Special:Mypage/skin.js// See also Wikipedia:Centralized discussion/Citation discussion#Technical discussion regarding Harvard Refs// This script works fine for Harvard references in <ref> tags, but for inline Harv. refs,// the error message shows up at the end of the paragraph in which the error iserror = " <strong class=error>Harv error: this link doesn't point to any citation.</strong>";jQuery(document).ready(function($) { links = document.links; for (i=0; i < links.length; i++) { href = links[i].getAttribute('href'); if (href.indexOf('#CITEREF') == 0) if (document.getElementById(href.substring(1)) == null) links[i].parentNode.innerHTML += error; }});
🔥 Top keywords: Main PageSpecial:SearchPage 3Wikipedia:Featured picturesHouse of the DragonUEFA Euro 2024Bryson DeChambeauJuneteenthInside Out 2Eid al-AdhaCleopatraDeaths in 2024Merrily We Roll Along (musical)Jonathan GroffJude Bellingham.xxx77th Tony AwardsBridgertonGary PlauchéKylian MbappéDaniel RadcliffeUEFA European Championship2024 ICC Men's T20 World CupUnit 731The Boys (TV series)Rory McIlroyN'Golo KantéUEFA Euro 2020YouTubeRomelu LukakuOpinion polling for the 2024 United Kingdom general electionThe Boys season 4Romania national football teamNicola CoughlanStereophonic (play)Gene WilderErin DarkeAntoine GriezmannProject 2025