https://de.wikipedia.org/w/index.php?action=history&feed=atom&title=Benutzer%3AThemulticaster%2Fcommon.jsBenutzer:Themulticaster/common.js - Versionsgeschichte2025-05-18T05:13:11ZVersionsgeschichte dieser Seite in WikipediaMediaWiki 1.45.0-wmf.1https://de.wikipedia.org/w/index.php?title=Benutzer:Themulticaster/common.js&diff=148807729&oldid=prevThemulticaster: AZ: Die Seite wurde neu angelegt: // add to User:YOURNAME/common.js to get smooth MathJax rendering var mathTags = $('.mwe-math-mathml-a…2015-12-06T15:03:30Z<p><a href="/wiki/Hilfe:Zusammenfassung_und_Quellen#Auto-Zusammenfassung" title="Hilfe:Zusammenfassung und Quellen">AZ</a>: Die Seite wurde neu angelegt: // add to User:YOURNAME/common.js to get smooth MathJax rendering var mathTags = $('.mwe-math-mathml-a…</p>
<p><b>Neue Seite</b></p><div>// add to User:YOURNAME/common.js to get smooth MathJax rendering<br />
var mathTags = $('.mwe-math-mathml-a11y');<br />
if (mathTags.length > 0){ //only do something when there's math on the page<br />
window.MathJax = { //hook into MathJax's configuration<br />
AuthorInit: function () {<br />
MathJax.Hub.Register.StartupHook("End",function () { //when MathJax is done...<br />
MathJax.Hub.Queue(<br />
function(){<br />
mathTags.removeClass('mwe-math-mathml-a11y'); // .. make the span around MathML (now MathJax output) visible<br />
$('.mwe-math-fallback-image-inline').addClass('mwe-math-mathml-a11y'); //hide fallback images<br />
}<br />
);<br />
});<br />
}<br />
};<br />
mw.loader.load('https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=MML_HTMLorMML-full');//load MathJax with a suitable combined config file<br />
}</div>Themulticaster