https://de.wikipedia.org/w/index.php?action=history&feed=atom&title=Benutzer%3AThemulticaster%2Fcommon.js Benutzer:Themulticaster/common.js - Versionsgeschichte 2025-05-18T05:13:11Z Versionsgeschichte dieser Seite in Wikipedia MediaWiki 1.45.0-wmf.1 https://de.wikipedia.org/w/index.php?title=Benutzer:Themulticaster/common.js&diff=148807729&oldid=prev Themulticaster: 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 = $(&#039;.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 = $(&#039;.mwe-math-mathml-a11y&#039;);<br /> if (mathTags.length &gt; 0){ //only do something when there&#039;s math on the page<br /> window.MathJax = { //hook into MathJax&#039;s configuration<br /> AuthorInit: function () {<br /> MathJax.Hub.Register.StartupHook(&quot;End&quot;,function () { //when MathJax is done...<br /> MathJax.Hub.Queue(<br /> function(){<br /> mathTags.removeClass(&#039;mwe-math-mathml-a11y&#039;); // .. make the span around MathML (now MathJax output) visible<br /> $(&#039;.mwe-math-fallback-image-inline&#039;).addClass(&#039;mwe-math-mathml-a11y&#039;); //hide fallback images<br /> }<br /> );<br /> });<br /> }<br /> };<br /> mw.loader.load(&#039;https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=MML_HTMLorMML-full&#039;);//load MathJax with a suitable combined config file<br /> }</div> Themulticaster