Difference between revisions 59841193 and 59843765 on enwiki/* from [[User:DavidHOzAu]]'s monobook.js */ function MyCitation() { // iterate over all <sup>-elements for(var i=0; a = document.getElementsByTagName("sup")[i]; i++) { // if found a citation thag if(a.getAttribute("title")=="Needs citation" || a.getAttribute("class")=="uncited") { // replace it with whatever I want //a.innerHTML = '<span style="padding: 0; margin: 0;"><a href="/wiki/Wikipedia:Cite_sources" title="Citation needed"><img src="http://upload.wikimedia.org/wikipedia/en/4/4a/Citation_needed.gif" alt="Citation needed" width="38" height="11" border="0"/></a></span>'; //a.innerHTML = '[<a href="/wiki/Wikipedia:Cite_sources" title="Citation needed">CITE</a>]'; a.innerHTML = '{{fact}}<small><tt>{{citation needed}}</tt></small>' a.style.verticalAlign = 'top'; } } } addOnloadHook(MyCitation); All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://en.wikipedia.org/w/index.php?diff=prev&oldid=59843765.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|