https://de.wikipedia.org/w/index.php?action=history&feed=atom&title=Benutzer%3ASpBot%2FTAXman-tool-dev.js Benutzer:SpBot/TAXman-tool-dev.js - Versionsgeschichte 2025-06-13T07:57:35Z Versionsgeschichte dieser Seite in Wikipedia MediaWiki 1.45.0-wmf.4 https://de.wikipedia.org/w/index.php?title=Benutzer:SpBot/TAXman-tool-dev.js&diff=50516559&oldid=prev SpBot: so? 2008-09-08T15:33:13Z <p>so?</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 8. September 2008, 17:33 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 83:</td> <td colspan="2" class="diff-lineno">Zeile 83:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> var parm = 'format=xml&amp;action=edit&amp;title=' + encodeURI(requestPage) +</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> var parm = 'format=xml&amp;action=edit&amp;title=' + encodeURI(requestPage) +</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> '&amp;basetimestamp=' + basetimestamp + '&amp;bot=0&amp;recreate=0&amp;token=' + token + '&amp;summary=' + </div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> '&amp;basetimestamp=' + <ins style="font-weight: bold; text-decoration: none;">encodeURI(</ins>basetimestamp<ins style="font-weight: bold; text-decoration: none;">)</ins> + '&amp;bot=0&amp;recreate=0&amp;token=' + <ins style="font-weight: bold; text-decoration: none;">encodeURI(</ins>token<ins style="font-weight: bold; text-decoration: none;">)</ins> + '&amp;summary=' + </div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> encodeURIComponent(comment) + '&amp;appendtext=' + encodeURI(newText);</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> encodeURIComponent(comment) + '&amp;appendtext=' + encodeURI(newText);</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.open("POST", 'http://de.wikipedia.org/w/api.php', true);</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.open("POST", 'http://de.wikipedia.org/w/api.php', true);</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("Content-length", parm.length);</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("title", encodeURI(requestPage));</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("basetimestamp", basetimestamp);</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("token", token);</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("summary", encodeURI(comment));</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("appendtext", encodeURI(newText));</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("Content-length", parm.length);</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("Content-length", parm.length);</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("Connection", "close");</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("Connection", "close");</div></td> </tr> </table> SpBot https://de.wikipedia.org/w/index.php?title=Benutzer:SpBot/TAXman-tool-dev.js&diff=50514842&oldid=prev SpBot am 8. September 2008 um 14:50 Uhr 2008-09-08T14:50:13Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 8. September 2008, 16:50 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 82:</td> <td colspan="2" class="diff-lineno">Zeile 82:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> var parm = 'format=xml&amp;action=edit&amp;title=' + encodeURI(requestPage)<del style="font-weight: bold; text-decoration: none;"> + '&amp;section=' + section</del> +</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> var parm = 'format=xml&amp;action=edit&amp;title=' + encodeURI(requestPage) +</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> '&amp;basetimestamp=' + basetimestamp + '&amp;bot=0&amp;recreate=0&amp;token=' + token + '&amp;summary='<del style="font-weight: bold; text-decoration: none;"> + encodeURIComponent(comment)</del> + </div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> '&amp;basetimestamp=' + basetimestamp + '&amp;bot=0&amp;recreate=0&amp;token=' + token + '&amp;summary=' + </div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> '&amp;appendtext=' + encodeURI(newText);</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;"> encodeURIComponent(comment) +</ins> '&amp;appendtext=' + encodeURI(newText);</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.open("POST", 'http://de.wikipedia.org/w/api.php', <del style="font-weight: bold; text-decoration: none;">false</del>);</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.open("POST", 'http://de.wikipedia.org/w/api.php', <ins style="font-weight: bold; text-decoration: none;">true</ins>);</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("Content-length", parm.length);</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("Content-length", parm.length);</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;">xmlhttp</del>.setRequestHeader("Connection", "close");</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;">xmlHttp</ins>.setRequestHeader("Connection", "close");</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.onreadystatechange = function() {</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.onreadystatechange = function() {</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if (xmlHttp.readyState == 4 &amp;&amp; xmlHttp.status == 200 &amp;&amp; xmlHttp.responseText) {</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if (xmlHttp.readyState == 4 &amp;&amp; xmlHttp.status == 200 &amp;&amp; xmlHttp.responseText) {</div></td> </tr> </table> SpBot https://de.wikipedia.org/w/index.php?title=Benutzer:SpBot/TAXman-tool-dev.js&diff=50510344&oldid=prev SpBot am 8. September 2008 um 12:58 Uhr 2008-09-08T12:58:18Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 8. September 2008, 14:58 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 23:</td> <td colspan="2" class="diff-lineno">Zeile 23:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> // load user list</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> // load user list</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> var rawText = loadFile('Benutzer:Euku/alle Benutzer');</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> var rawText = loadFile('Benutzer:Euku/alle Benutzer');</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> if (!rawText) {</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> showErrorMesage('Ein Fehler ist aufgetreten. Benutzerliste konnte nicht geladen werden. Melde es bitte &lt;a href="/wiki/Benutzer:Euku"&gt;Benutzer:Euku&lt;/a&gt;!');</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> return;</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> }</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> var userNameArray = rawText.split('\n');</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> var userNameArray = rawText.split('\n');</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> for (i in userNameArray)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> for (i in userNameArray)</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Zeile 92:</td> <td colspan="2" class="diff-lineno">Zeile 88:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("Content-length", parm.length);</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("Content-length", parm.length);</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> xmlhttp.setRequestHeader("Connection", "close");</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.onreadystatechange = function() {</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.onreadystatechange = function() {</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if (xmlHttp.readyState == 4 &amp;&amp; xmlHttp.status == 200 &amp;&amp; xmlHttp.responseText) {</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if (xmlHttp.readyState == 4 &amp;&amp; xmlHttp.status == 200 &amp;&amp; xmlHttp.responseText) {</div></td> </tr> </table> SpBot https://de.wikipedia.org/w/index.php?title=Benutzer:SpBot/TAXman-tool-dev.js&diff=50509899&oldid=prev SpBot am 8. September 2008 um 12:46 Uhr 2008-09-08T12:46:34Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 8. September 2008, 14:46 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 13:</td> <td colspan="2" class="diff-lineno">Zeile 13:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> tmpAttrib.nodeValue = attrib;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> tmpAttrib.nodeValue = attrib;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> return tmpAttrib;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> return tmpAttrib;</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>}</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>function showErrorMesage(htmlText) {</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> var img = '&lt;img height="17" width="20" longdesc="/wiki/Bild:Zeichen_101.svg" alt="Achtung" src="/media/wikipedia/commons/thumb/3/38/Zeichen_101.svg/20px-Zeichen_101.svg.png"/&gt;&amp;nbsp;'</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> document.getElementById("no-gadget-active").innerHTML = img + htmlText;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td colspan="2" class="diff-lineno">Zeile 19:</td> <td colspan="2" class="diff-lineno">Zeile 24:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> var rawText = loadFile('Benutzer:Euku/alle Benutzer');</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> var rawText = loadFile('Benutzer:Euku/alle Benutzer');</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if (!rawText) {</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if (!rawText) {</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;">alert</del>(<del style="font-weight: bold; text-decoration: none;">"</del>Ein Fehler ist aufgetreten. Melde es bitte Benutzer:Euku");</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;">showErrorMesage</ins>(<ins style="font-weight: bold; text-decoration: none;">'</ins>Ein Fehler ist aufgetreten<ins style="font-weight: bold; text-decoration: none;">. Benutzerliste konnte nicht geladen werden</ins>. Melde es bitte <ins style="font-weight: bold; text-decoration: none;">&lt;a href="/wiki/</ins>Benutzer:Euku"<ins style="font-weight: bold; text-decoration: none;">&gt;Benutzer:Euku&lt;/a&gt;!'</ins>);</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> return;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> return;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Zeile 40:</td> <td colspan="2" class="diff-lineno">Zeile 45:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>// add hidden iframe, add text and save it</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>function addTextAndSavePage(newText, comment) {</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>function addTextAndSavePage(newText, comment) {</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> // get a token</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> // get a token</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Zeile 62:</td> <td colspan="2" class="diff-lineno">Zeile 66:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> var section=0;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> var section=0;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> var basetimestamp = rawXML.getElementsByTagName("page")[0].getAttribute("touched");</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> var basetimestamp = rawXML.getElementsByTagName("page")[0].getAttribute("touched");</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> var oldText = loadFile(requestPage);</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">//</ins> var oldText = loadFile(requestPage);</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> // save it</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> // save it</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Zeile 82:</td> <td colspan="2" class="diff-lineno">Zeile 86:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> var parm = 'action=edit&amp;title=' + encodeURI(requestPage) + '&amp;section=' + section +</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> var parm = '<ins style="font-weight: bold; text-decoration: none;">format=xml&amp;</ins>action=edit&amp;title=' + encodeURI(requestPage) + '&amp;section=' + section +</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> '&amp;basetimestamp=' + basetimestamp + '&amp;token=' + token + '&amp;summary=' + encodeURIComponent(comment) +</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> '&amp;basetimestamp=' + basetimestamp + '<ins style="font-weight: bold; text-decoration: none;">&amp;bot=0&amp;recreate=0</ins>&amp;token=' + token + '&amp;summary=' + encodeURIComponent(comment) +<ins style="font-weight: bold; text-decoration: none;"> </ins></div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> '&amp;<del style="font-weight: bold; text-decoration: none;">text</del>='<del style="font-weight: bold; text-decoration: none;">+encodeURIComponent(oldText + "\n"</del> + newText);</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> '&amp;<ins style="font-weight: bold; text-decoration: none;">appendtext</ins>=' + <ins style="font-weight: bold; text-decoration: none;">encodeURI(</ins>newText);</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.open("POST", 'http://de.wikipedia.org/w/api.php<del style="font-weight: bold; text-decoration: none;">?action=edit</del>', <del style="font-weight: bold; text-decoration: none;">true</del>);</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.open("POST", 'http://de.wikipedia.org/w/api.php', <ins style="font-weight: bold; text-decoration: none;">false</ins>);</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("title", encodeURI(requestPage));</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("section", section);</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("basetimestamp", basetimestamp);</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("token", token);</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("summary", encodeURI(comment));</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("text", encodeURI(oldText + "\n" + newText));</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("Content-length", parm.length);</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("Content-length", parm.length);</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.setRequestHeader("Connection", "close");</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.onreadystatechange = function() {</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> xmlHttp.onreadystatechange = function() {</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if (xmlHttp.readyState == 4 &amp;&amp; xmlHttp.status == 200 &amp;&amp; xmlHttp.responseText) {</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if (xmlHttp.readyState == 4 &amp;&amp; xmlHttp.status == 200 &amp;&amp; xmlHttp.responseText) {</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Zeile 127:</td> <td colspan="2" class="diff-lineno">Zeile 124:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> var comment = document.getElementById('comment').value;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> var comment = document.getElementById('comment').value;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if (confirmed == wgUserName) {</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if (confirmed == wgUserName) {</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;">alert</del>("<del style="font-weight: bold; text-decoration: none;">[[</del>Cogito ergo sum<del style="font-weight: bold; text-decoration: none;">]]</del>: Du kannst dich nicht selbst bestätigen!<del style="font-weight: bold; text-decoration: none;">"</del>);</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;">showErrorMesage</ins>(<ins style="font-weight: bold; text-decoration: none;">'&lt;a href="/wiki/Cogito_ergo_sum</ins>"<ins style="font-weight: bold; text-decoration: none;">&gt;</ins>Cogito ergo sum<ins style="font-weight: bold; text-decoration: none;">&lt;/a&gt;</ins>: Du kannst dich nicht selbst bestätigen!<ins style="font-weight: bold; text-decoration: none;">'</ins>);</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> return;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> return;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Zeile 149:</td> <td colspan="2" class="diff-lineno">Zeile 146:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> tellUserToWait();</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> tellUserToWait();</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if (!AmIin) {</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if (!AmIin) {</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;"> alert</del>(<del style="font-weight: bold; text-decoration: none;">"</del>Du bist noch nicht in der Liste eingetragen und damit nicht bestätigt. Du darfst noch nicht selber bestätigen. <del style="font-weight: bold; text-decoration: none;">Benutze</del> <del style="font-weight: bold; text-decoration: none;">den</del> <del style="font-weight: bold; text-decoration: none;">oberen</del> <del style="font-weight: bold; text-decoration: none;">Link</del> und <del style="font-weight: bold; text-decoration: none;">warte</del> bis du 3 Bestätigungen <del style="font-weight: bold; text-decoration: none;">bekommst."</del>)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;"> showErrorMesage</ins>(<ins style="font-weight: bold; text-decoration: none;">'</ins>Du bist noch nicht in der Liste eingetragen und damit nicht bestätigt. Du darfst noch nicht selber bestätigen. <ins style="font-weight: bold; text-decoration: none;">Lade</ins> <ins style="font-weight: bold; text-decoration: none;">die</ins> <ins style="font-weight: bold; text-decoration: none;">Seite</ins> <ins style="font-weight: bold; text-decoration: none;">neu</ins> und <ins style="font-weight: bold; text-decoration: none;">trage dich erstmal in die Liste ein! Warte dann</ins> bis du 3 Bestätigungen <ins style="font-weight: bold; text-decoration: none;">bekommen hast!'</ins>)<ins style="font-weight: bold; text-decoration: none;">;</ins></div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> window.location.href = wgServer + '/wiki/' + workPage;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> window.location.href = wgServer + '/wiki/' + workPage;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> return;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> return;</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Zeile 156:</td> <td colspan="2" class="diff-lineno">Zeile 153:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> var rawText = loadFile('Benutzer:Euku/alle Benutzer');</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> var rawText = loadFile('Benutzer:Euku/alle Benutzer');</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if (!rawText) {</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if (!rawText) {</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;"> alert</del>(<del style="font-weight: bold; text-decoration: none;">"</del>Ein Fehler ist aufgetreten. Melde es bitte Benutzer:Euku<del style="font-weight: bold; text-decoration: none;">!</del>");</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;"> showErrorMesage</ins>(<ins style="font-weight: bold; text-decoration: none;">'</ins>Ein Fehler ist aufgetreten<ins style="font-weight: bold; text-decoration: none;">. Benutzerliste konnte nicht geladen werden</ins>. Melde es bitte <ins style="font-weight: bold; text-decoration: none;">&lt;a href="/wiki/</ins>Benutzer:Euku"<ins style="font-weight: bold; text-decoration: none;">&gt;Benutzer:Euku&lt;/a&gt;!'</ins>);</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> return;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> return;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td> </tr> </table> SpBot https://de.wikipedia.org/w/index.php?title=Benutzer:SpBot/TAXman-tool-dev.js&diff=50499286&oldid=prev SpBot: AZ: Die Seite wurde neu angelegt. 2008-09-08T07:43:06Z <p><a href="/wiki/Hilfe:Zusammenfassung_und_Quelle#Auto-Zusammenfassung" class="mw-redirect" title="Hilfe:Zusammenfassung und Quelle">AZ</a>: Die Seite wurde neu angelegt.</p> <p><b>Neue Seite</b></p><div>// for [[Benutzer:TAXman/Gemeinschaftsseite]]<br /> // //könnte etwas Refactoring vertragen<br /> //<br /> // &lt;nowiki&gt;<br /> workPage = &quot;Benutzer:Euku/neue_Anfragen&quot;;<br /> requestPage = &quot;Benutzer:Euku/neue_Einträge&quot;;<br /> <br /> // creates a new attribute<br /> // e.g. newAttrib(&quot;href&quot;, &quot;bla&quot;) returns<br /> // href=&quot;bla&quot; as an attribute for the &lt;a&gt;-tag<br /> function newAttrib(name, attrib) {<br /> var tmpAttrib = document.createAttribute(name);<br /> tmpAttrib.nodeValue = attrib;<br /> return tmpAttrib;<br /> }<br /> <br /> function AmIin() {<br /> // load user list<br /> var rawText = loadFile(&#039;Benutzer:Euku/alle Benutzer&#039;);<br /> if (!rawText) {<br /> alert(&quot;Ein Fehler ist aufgetreten. Melde es bitte Benutzer:Euku&quot;);<br /> return;<br /> }<br /> var userNameArray = rawText.split(&#039;\n&#039;);<br /> for (i in userNameArray)<br /> if (wgUserName == userNameArray[i])<br /> return true;<br /> return false;<br /> }<br /> <br /> function AddMeToThisList() {<br /> if (AmIin)<br /> alert(&quot;Du bist bereits in der Liste eingetragen. Normalerweise wird diese Aktion nun abgebrochen, doch dies ist ein Test...&quot;)<br /> userComment = prompt(&quot;Hier kannst du einen Kommentar zu dir abgeben. z. B. wenn du im Vorstand von Wikimedia bist, gibst du &#039;Wikimedia Deutschland&#039; ein; ansonsten leer lassen.&quot;, &quot;&quot;);<br /> if (userComment == null) return; // Abgebrochen<br /> tellUserToWait();<br /> <br /> // concat the string to save<br /> addTextAndSavePage(&#039;{{Benutzer:Euku/neuer Benutzer|Name=&#039; + wgUserName + &#039;|Kommentar=&#039; + userComment + &#039;|Zeit=~~~~~}}&#039;, &quot;füge mich selbst hinzu&quot;);<br /> }<br /> <br /> // add hidden iframe, add text and save it<br /> function addTextAndSavePage(newText, comment) {<br /> // get a token<br /> xmlHttp = null;<br /> if (typeof XMLHttpRequest != &#039;undefined&#039;) { xmlHttp = new XMLHttpRequest(); }<br /> if (!xmlHttp) {<br /> try { xmlHttp = new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;); }<br /> catch(e) {<br /> try { xmlHttp = new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;); }<br /> catch(e) { throw &#039;Konnte keinen XMLHttpRequest erstellen. Breche ab.&#039;; }<br /> }<br /> }<br /> if (xmlHttp) {<br /> xmlHttp.open(&#039;GET&#039;, &#039;http://de.wikipedia.org/w/api.php?action=query&amp;prop=info&amp;intoken=edit&amp;titles=&#039; + requestPage + &#039;&amp;format=xml&#039;, false);<br /> xmlHttp.send(null);<br /> }<br /> rawXML = xmlHttp.responseXML;<br /> <br /> // get information<br /> var token = rawXML.getElementsByTagName(&quot;page&quot;)[0].getAttribute(&quot;edittoken&quot;);<br /> var section=0;<br /> var basetimestamp = rawXML.getElementsByTagName(&quot;page&quot;)[0].getAttribute(&quot;touched&quot;);<br /> var oldText = loadFile(requestPage);<br /> <br /> // save it<br /> xmlHttp = null;<br /> // Mozilla, Opera, Safari and Internet Explorer 7<br /> if (typeof XMLHttpRequest != &#039;undefined&#039;) {<br /> xmlHttp = new XMLHttpRequest();<br /> }<br /> if (!xmlHttp) {<br /> // &lt;= Internet Explorer 6<br /> try {<br /> xmlHttp = new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);<br /> } catch(e) {<br /> try {<br /> xmlHttp = new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);<br /> } catch(e) {<br /> xmlHttp = null;<br /> }<br /> }<br /> }<br /> var parm = &#039;action=edit&amp;title=&#039; + encodeURI(requestPage) + &#039;&amp;section=&#039; + section +<br /> &#039;&amp;basetimestamp=&#039; + basetimestamp + &#039;&amp;token=&#039; + token + &#039;&amp;summary=&#039; + encodeURIComponent(comment) +<br /> &#039;&amp;text=&#039;+encodeURIComponent(oldText + &quot;\n&quot; + newText);<br /> xmlHttp.open(&quot;POST&quot;, &#039;http://de.wikipedia.org/w/api.php?action=edit&#039;, true);<br /> xmlHttp.setRequestHeader(&quot;Content-Type&quot;, &quot;application/x-www-form-urlencoded&quot;);<br /> xmlHttp.setRequestHeader(&quot;title&quot;, encodeURI(requestPage));<br /> xmlHttp.setRequestHeader(&quot;section&quot;, section);<br /> xmlHttp.setRequestHeader(&quot;basetimestamp&quot;, basetimestamp);<br /> xmlHttp.setRequestHeader(&quot;token&quot;, token);<br /> xmlHttp.setRequestHeader(&quot;summary&quot;, encodeURI(comment));<br /> xmlHttp.setRequestHeader(&quot;text&quot;, encodeURI(oldText + &quot;\n&quot; + newText));<br /> xmlHttp.setRequestHeader(&quot;Content-length&quot;, parm.length);<br /> xmlHttp.setRequestHeader(&quot;Connection&quot;, &quot;close&quot;);<br /> xmlHttp.onreadystatechange = function() {<br /> if (xmlHttp.readyState == 4 &amp;&amp; xmlHttp.status == 200 &amp;&amp; xmlHttp.responseText) {<br /> // load current page again<br /> xmlHttp.abort();<br /> window.location.href = wgServer + &#039;/wiki/&#039; + workPage;<br /> }<br /> };<br /> xmlHttp.send(parm);<br /> }<br /> <br /> function loadFile(file) {<br /> xmlHttp = null;<br /> if (typeof XMLHttpRequest != &#039;undefined&#039;) { xmlHttp = new XMLHttpRequest(); }<br /> if (!xmlHttp) {<br /> try { xmlHttp = new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;); }<br /> catch(e) {<br /> try { xmlHttp = new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;); }<br /> catch(e) { throw &#039;Konnte keinen XMLHttpRequest erstellen. Breche loadFile ab.&#039;; }<br /> }<br /> }<br /> if (xmlHttp) {<br /> xmlHttp.open(&#039;GET&#039;, &#039;http://de.wikipedia.org/w/index.php?title=&#039;+ file +&#039;&amp;action=raw&amp;ctype=text/javascript&amp;dontcountme=s&#039;, false);<br /> xmlHttp.send(null);<br /> return (xmlHttp.responseText);<br /> }<br /> return false;<br /> }<br /> <br /> function saveACKForm() {<br /> var confirmed = document.getElementById(&#039;confirmed&#039;).value;<br /> var comment = document.getElementById(&#039;comment&#039;).value;<br /> if (confirmed == wgUserName) {<br /> alert(&quot;[[Cogito ergo sum]]: Du kannst dich nicht selbst bestätigen!&quot;);<br /> return;<br /> }<br /> tellUserToWait();<br /> addTextAndSavePage(&#039;{{Benutzer:Euku/neue Bestätigung|Bestätiger=&#039; + wgUserName + &#039;|Bestätigter=&#039; + confirmed +<br /> &#039;|Kommentar=&#039; + comment + &#039;|Zeit=~~~~~}}&#039;, &quot;Bestätige [[Benutzer:&quot; + confirmed + &quot;|&quot; + confirmed + &quot;]]&quot;);<br /> }<br /> <br /> function tellUserToWait() {<br /> // tell the user to wait<br /> document.getElementById(&#039;no-gadget-active&#039;).innerHTML = &#039;bitte warten ... &#039;;<br /> var newElement = document.createElement(&quot;img&quot;);<br /> newElement.setAttributeNode(newAttrib(&quot;src&quot;, &quot;/media/wikipedia/commons/4/42/Loading.gif&quot;));<br /> newElement.setAttributeNode(newAttrib(&quot;width&quot;, 18));<br /> newElement.setAttributeNode(newAttrib(&quot;id&quot;, &quot;busyImg&quot;));<br /> newElement.setAttributeNode(newAttrib(&quot;height&quot;, 18));<br /> document.getElementById(&quot;no-gadget-active&quot;).appendChild(newElement);<br /> }<br /> <br /> function showFormToACKsomeone() {<br /> tellUserToWait();<br /> if (!AmIin) {<br /> alert(&quot;Du bist noch nicht in der Liste eingetragen und damit nicht bestätigt. Du darfst noch nicht selber bestätigen. Benutze den oberen Link und warte bis du 3 Bestätigungen bekommst.&quot;)<br /> window.location.href = wgServer + &#039;/wiki/&#039; + workPage;<br /> return;<br /> }<br /> // load user list<br /> var rawText = loadFile(&#039;Benutzer:Euku/alle Benutzer&#039;);<br /> if (!rawText) {<br /> alert(&quot;Ein Fehler ist aufgetreten. Melde es bitte Benutzer:Euku!&quot;);<br /> return;<br /> }<br /> <br /> var userNameArray = rawText.split(&#039;\n&#039;);<br /> var usersToConfirm = &#039;&lt;optgroup label=&quot;0-9&quot;&gt;&#039;;<br /> var currentLetter = &quot;0-9&quot;;<br /> for (var userCounter in userNameArray) {<br /> var tmpUser = userNameArray[userCounter];<br /> // new header?<br /> if ((currentLetter == &quot;0-9&quot;) &amp;&amp; (tmpUser[0] == &quot;A&quot;)) {<br /> currentLetter = &quot;A&quot;;<br /> usersToConfirm += &#039;&lt;/optgroup&gt;&lt;optgroup label=&quot;A&quot;&gt;&#039;;<br /> }<br /> else if ((currentLetter != &quot;0-9&quot;) &amp;&amp; (tmpUser[0] &gt; currentLetter)) {<br /> currentLetter = tmpUser[0];<br /> usersToConfirm += &#039;&lt;/optgroup&gt;&lt;optgroup label=&quot;&#039; + currentLetter + &#039;&quot;&gt;&#039;;<br /> }<br /> usersToConfirm += &#039;&lt;option label=&quot;&#039; + userNameArray[userCounter] + &#039;&quot;&gt;&#039; + userNameArray[userCounter] + &#039;&lt;/option&gt;&#039;;<br /> }<br /> usersToConfirm += &#039;&lt;/optgroup&gt;&#039;;<br /> <br /> var formHTMLcode = &#039;&lt;table width=&quot;500&quot; align=&quot;center&quot; class=&quot;wikitable&quot; id=&quot;ACKtable&quot;&gt;&#039;+<br /> &#039;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;dein Benutzername&lt;/td&gt;&lt;td width=&quot;150&quot; id=&quot;myUserName&quot;&gt;&#039; + wgUserName +<br /> &#039;&lt;/td&gt;&lt;/tr&gt;&#039;+<br /> &#039;&lt;tr&gt;&lt;td&gt;Wen möchtest du bestätigen?&lt;/td&gt;&lt;td&gt;&#039;+<br /> &#039; &lt;select id=&quot;confirmed&quot; style=&quot;width: 100%;&quot;&gt;&#039; + usersToConfirm +<br /> &#039; &lt;/select&gt;&#039; +<br /> &#039;&lt;/td&gt;&lt;/tr&gt;&#039;+<br /> &#039;&lt;tr&gt;&lt;td&gt;Kommentar zur Bestätigung&lt;br/&gt;&lt;small&gt;vermeide Details, die die Identität offenlegen könnten&lt;/small&gt;&lt;/td&gt;&lt;td&gt;&#039;+<br /> &#039;&lt;input type=&quot;text&quot; maxlength=&quot;250&quot; id=&quot;comment&quot; title=&quot;hier auf Wunsch Kommentar eingeben&quot; value=&quot;&quot; maxlenght=&quot;250&quot;/&gt;&#039;+<br /> &#039;&lt;/td&gt;&lt;/tr&gt;&#039;+<br /> &#039;&lt;tr&gt;&lt;td align=&quot;right&quot; colspan=&quot;2&quot;&gt;&lt;b&gt;&lt;a href=&quot;javascript:saveACKForm();&quot;&gt;Speichern&lt;/a&gt;&lt;/b&gt; &lt;a href=&quot;javascript:startTAXmanPage();&quot;&gt;Abbrechen&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&#039;+<br /> &#039;&lt;/tbody&gt;&lt;/table&gt;&#039;;<br /> document.getElementById(&#039;no-gadget-active&#039;).innerHTML = formHTMLcode; //write form<br /> }<br /> <br /> function startTAXmanPage() {<br /> // ersetze den Hinweis und entferne den Edit-Knopf<br /> document.getElementById(&#039;no-gadget-active&#039;).innerHTML = &#039;&lt;div align=&quot;center&quot; id=&quot;new-user-link&quot;&gt;&lt;b&gt;&lt;a href=&quot;javascript:AddMeToThisList();&quot;&gt;ich möchte mich in das System eintragen&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align=&quot;center&quot; id=&quot;new-ack-link&quot;&gt;&lt;b&gt;&lt;a href=&quot;javascript:showFormToACKsomeone();&quot;&gt;ich möchte jemanden bestätigen&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&#039;;<br /> document.getElementById(&#039;ca-edit&#039;).innerHTML = &#039;&#039;;<br /> }<br /> <br /> if (document.URL == wgServer + &#039;/wiki/&#039; + workPage)<br /> addOnloadHook(startTAXmanPage);<br /> // &lt;/nowiki&gt;</div> SpBot