<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://compusofia.com/w/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AVector.js</id>
	<title>MediaWiki:Vector.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://compusofia.com/w/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AVector.js"/>
	<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=MediaWiki:Vector.js&amp;action=history"/>
	<updated>2026-10-06T17:58:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://compusofia.com/w/index.php?title=MediaWiki:Vector.js&amp;diff=13256&amp;oldid=prev</id>
		<title>Majestix: Created page with &quot;/* All JavaScript here will be loaded for users of the Vector skin */  mw.hook(&#039;wikipage.content&#039;).add(function($content) {     // Prüft, ob es sich um ein Touch-Gerät handelt     if (&#039;ontouchstart&#039; in window || navigator.maxTouchPoints &gt; 0) {                  // Sucht nach der Tooltip-Klasse und lauscht auf Klicks         $content.find(&#039;.wiki-tooltip&#039;).on(&#039;click&#039;, function(e) {             e.preventDefault();             e.stopPropagation();                          v...&quot;</title>
		<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=MediaWiki:Vector.js&amp;diff=13256&amp;oldid=prev"/>
		<updated>2026-09-20T06:28:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;span class=&quot;autocomment&quot;&gt;All JavaScript here will be loaded for users of the Vector skin: &lt;/span&gt;  mw.hook(&amp;#039;wikipage.content&amp;#039;).add(function($content) {     // Prüft, ob es sich um ein Touch-Gerät handelt     if (&amp;#039;ontouchstart&amp;#039; in window || navigator.maxTouchPoints &amp;gt; 0) {                  // Sucht nach der Tooltip-Klasse und lauscht auf Klicks         $content.find(&amp;#039;.wiki-tooltip&amp;#039;).on(&amp;#039;click&amp;#039;, function(e) {             e.preventDefault();             e.stopPropagation();                          v...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/* All JavaScript here will be loaded for users of the Vector skin */&lt;br /&gt;
&lt;br /&gt;
mw.hook(&amp;#039;wikipage.content&amp;#039;).add(function($content) {&lt;br /&gt;
    // Prüft, ob es sich um ein Touch-Gerät handelt&lt;br /&gt;
    if (&amp;#039;ontouchstart&amp;#039; in window || navigator.maxTouchPoints &amp;gt; 0) {&lt;br /&gt;
        &lt;br /&gt;
        // Sucht nach der Tooltip-Klasse und lauscht auf Klicks&lt;br /&gt;
        $content.find(&amp;#039;.wiki-tooltip&amp;#039;).on(&amp;#039;click&amp;#039;, function(e) {&lt;br /&gt;
            e.preventDefault();&lt;br /&gt;
            e.stopPropagation();&lt;br /&gt;
            &lt;br /&gt;
            var $tooltipContent = $(this).find(&amp;#039;.tooltip-content&amp;#039;);&lt;br /&gt;
            &lt;br /&gt;
            // Schließt alle anderen eventuell geöffneten Tooltips&lt;br /&gt;
            $(&amp;#039;.tooltip-content&amp;#039;).not($tooltipContent).hide();&lt;br /&gt;
            &lt;br /&gt;
            // Zeigt das aktuelle Tooltip an oder versteckt es (Toggle)&lt;br /&gt;
            $tooltipContent.toggle();&lt;br /&gt;
        });&lt;br /&gt;
&lt;br /&gt;
        // Schließt das Tooltip, wenn der Nutzer irgendwo anders hinklickt&lt;br /&gt;
        $(document).on(&amp;#039;click&amp;#039;, function() {&lt;br /&gt;
            $(&amp;#039;.tooltip-content&amp;#039;).hide();&lt;br /&gt;
        });&lt;br /&gt;
    }&lt;br /&gt;
});&lt;/div&gt;</summary>
		<author><name>Majestix</name></author>
	</entry>
</feed>