<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.saya.loseyourip.com/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadget-dynamicconfig.js</id>
	<title>MediaWiki:Gadget-dynamicconfig.js - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.saya.loseyourip.com/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadget-dynamicconfig.js"/>
	<link rel="alternate" type="text/html" href="https://wiki.saya.loseyourip.com/index.php?title=MediaWiki:Gadget-dynamicconfig.js&amp;action=history"/>
	<updated>2026-04-23T12:21:45Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Home Wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.saya.loseyourip.com/index.php?title=MediaWiki:Gadget-dynamicconfig.js&amp;diff=42&amp;oldid=prev</id>
		<title>Saya: Die Seite wurde neu angelegt: „$(function () {      function updateCode() {         const vars = {};          $(&#039;#config-panel input&#039;).each(function() {             vars[this.id] = this.value;             localStorage.setItem(&quot;wiki_&quot; + this.id, this.value);         });          $(&#039;.dynamic-code&#039;).each(function() {             let original = $(this).data(&#039;original&#039;);              if (!original) {                 original = $(this).text();                 $(this).data(&#039;original&#039;, origina…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.saya.loseyourip.com/index.php?title=MediaWiki:Gadget-dynamicconfig.js&amp;diff=42&amp;oldid=prev"/>
		<updated>2026-02-12T22:35:03Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „$(function () {      function updateCode() {         const vars = {};          $(&amp;#039;#config-panel input&amp;#039;).each(function() {             vars[this.id] = this.value;             localStorage.setItem(&amp;quot;wiki_&amp;quot; + this.id, this.value);         });          $(&amp;#039;.dynamic-code&amp;#039;).each(function() {             let original = $(this).data(&amp;#039;original&amp;#039;);              if (!original) {                 original = $(this).text();                 $(this).data(&amp;#039;original&amp;#039;, origina…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;$(function () {&lt;br /&gt;
&lt;br /&gt;
    function updateCode() {&lt;br /&gt;
        const vars = {};&lt;br /&gt;
&lt;br /&gt;
        $(&amp;#039;#config-panel input&amp;#039;).each(function() {&lt;br /&gt;
            vars[this.id] = this.value;&lt;br /&gt;
            localStorage.setItem(&amp;quot;wiki_&amp;quot; + this.id, this.value);&lt;br /&gt;
        });&lt;br /&gt;
&lt;br /&gt;
        $(&amp;#039;.dynamic-code&amp;#039;).each(function() {&lt;br /&gt;
            let original = $(this).data(&amp;#039;original&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
            if (!original) {&lt;br /&gt;
                original = $(this).text();&lt;br /&gt;
                $(this).data(&amp;#039;original&amp;#039;, original);&lt;br /&gt;
            }&lt;br /&gt;
&lt;br /&gt;
            let updated = original.replace(/{{(.*?)}}/g, function(match, p1) {&lt;br /&gt;
                return vars[p1] || match;&lt;br /&gt;
            });&lt;br /&gt;
&lt;br /&gt;
            $(this).text(updated);&lt;br /&gt;
        });&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function loadSavedValues() {&lt;br /&gt;
        $(&amp;#039;#config-panel input&amp;#039;).each(function() {&lt;br /&gt;
            const saved = localStorage.getItem(&amp;quot;wiki_&amp;quot; + this.id);&lt;br /&gt;
            if (saved) this.value = saved;&lt;br /&gt;
        });&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    loadSavedValues();&lt;br /&gt;
    $(&amp;#039;#config-panel input&amp;#039;).on(&amp;#039;input&amp;#039;, updateCode);&lt;br /&gt;
    updateCode();&lt;br /&gt;
});&lt;/div&gt;</summary>
		<author><name>Saya</name></author>
	</entry>
</feed>