https://de.wikipedia.org/w/index.php?action=history&feed=atom&title=MediaWiki_Diskussion%3AGadget-markAdmins.js MediaWiki Diskussion:Gadget-markAdmins.js - Versionsgeschichte 2025-06-11T11:17:01Z Versionsgeschichte dieser Seite in Wikipedia MediaWiki 1.45.0-wmf.4 https://de.wikipedia.org/w/index.php?title=MediaWiki_Diskussion:Gadget-markAdmins.js&diff=97735125&oldid=prev TMg: /* Optimierter Quelltext */ Antwort und Zwischenüberschrift 2011-12-30T17:25:09Z <p><span class="autocomment">Optimierter Quelltext: </span> Antwort und Zwischenüberschrift</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 30. Dezember 2011, 19:25 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 31:</td> <td colspan="2" class="diff-lineno">Zeile 31:</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>:::::Die Reihenfolge hatte ich auch mal so ausgeknobelt, weshalb ich dein "geht nicht" in Frage gestellt habe. Dass deine Lösung die sinnvollere ist, ist dabei unbestritten - wird auch nachher ausgetestet und dann umgesetzt. Bevorzugt irgendwann "Nachts" wo weniger mitbekommen, wenn ich was verbocke ;) --[[Benutzer:Guandalug|Guandalug]] 15:46, 29. Dez. 2011 (CET)</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>:::::Die Reihenfolge hatte ich auch mal so ausgeknobelt, weshalb ich dein "geht nicht" in Frage gestellt habe. Dass deine Lösung die sinnvollere ist, ist dabei unbestritten - wird auch nachher ausgetestet und dann umgesetzt. Bevorzugt irgendwann "Nachts" wo weniger mitbekommen, wenn ich was verbocke ;) --[[Benutzer:Guandalug|Guandalug]] 15:46, 29. Dez. 2011 (CET)</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>::::::Mein „geht nicht“ lag an der Art, wie ich getestet habe. Ich ändere zum Testen nicht ständig meine common.js sondern habe außerhalb der beschriebenen Reihenfolge einen der Konfigurationsschalter gesetzt. Das ging nicht. Es gibt aber gar keinen Grund, warum das nicht gehen sollte. --[[Benutzer:TMg|TMg]] 15:53, 29. Dez. 2011 (CET)</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>::::::Mein „geht nicht“ lag an der Art, wie ich getestet habe. Ich ändere zum Testen nicht ständig meine common.js sondern habe außerhalb der beschriebenen Reihenfolge einen der Konfigurationsschalter gesetzt. Das ging nicht. Es gibt aber gar keinen Grund, warum das nicht gehen sollte. --[[Benutzer:TMg|TMg]] 15:53, 29. Dez. 2011 (CET)</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>=== Auf UrlParameters verzichten ===</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>In [[Benutzer:PDD/markAdmins.js]] sollte statt &lt;syntaxhighlight lang="javascript"&gt;UrlParameters["diff"]&lt;/syntaxhighlight&gt; einfach einfach &lt;syntaxhighlight lang="javascript"&gt;mw.util.getParamValue('diff') !== null&lt;/syntaxhighlight&gt; (Siehe: [[mw:ResourceLoader/Default modules#getParamValue]]) verwendet werden, dann kann die Funktion und das Array hier entfallen. --[[Benutzer:Fomafix|Fomafix]] 20:13, 29. Dez. 2011 (CET)</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>In [[Benutzer:PDD/markAdmins.js]] sollte statt &lt;syntaxhighlight lang="javascript"&gt;UrlParameters["diff"]&lt;/syntaxhighlight&gt; einfach einfach &lt;syntaxhighlight lang="javascript"&gt;mw.util.getParamValue('diff') !== null&lt;/syntaxhighlight&gt; (Siehe: [[mw:ResourceLoader/Default modules#getParamValue]]) verwendet werden, dann kann die Funktion und das Array hier entfallen. --[[Benutzer:Fomafix|Fomafix]] 20:13, 29. Dez. 2011 (CET)</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>: Das ist ja mal eine geniale Lösung. Hier also NUR das 'include', ja? --[[Benutzer:Guandalug|Guandalug]] 20:15, 29. Dez. 2011 (CET)</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>: Das ist ja mal eine geniale Lösung. Hier also NUR das 'include', ja? --[[Benutzer:Guandalug|Guandalug]] 20:15, 29. Dez. 2011 (CET)</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>:: Eingedampft, gewaltig.</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>:: Eingedampft, gewaltig.</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>:: Wenn du das eigentliche .js auch noch beschleunigen kannst / willst? Ich denke, PDD hat da nix gegen - ich durfte auch immer :D --[[Benutzer:Guandalug|Guandalug]] 21:39, 29. Dez. 2011 (CET)</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>:: Wenn du das eigentliche .js auch noch beschleunigen kannst / willst? Ich denke, PDD hat da nix gegen - ich durfte auch immer :D --[[Benutzer:Guandalug|Guandalug]] 21:39, 29. Dez. 2011 (CET)</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>:::@Fomafix: Genial, so weit hatte ich nicht recherchiert. [[Benutzer:PDD/markAdmins.js]] selbst ist schon ziemlich clever geschrieben (fixes indexOf statt verschachtelter Loops), da lohnen sich weitere Optimierungen kaum. --[[Benutzer:TMg|TMg]] 18:25, 30. Dez. 2011 (CET)</div></td> </tr> </table> TMg https://de.wikipedia.org/w/index.php?title=MediaWiki_Diskussion:Gadget-markAdmins.js&diff=97694783&oldid=prev Guandalug: /* Optimierter Quelltext */ 2011-12-29T20:39:27Z <p><span class="autocomment">Optimierter Quelltext</span></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 29. Dezember 2011, 22:39 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 33:</td> <td colspan="2" class="diff-lineno">Zeile 33:</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>In [[Benutzer:PDD/markAdmins.js]] sollte statt &lt;syntaxhighlight lang="javascript"&gt;UrlParameters["diff"]&lt;/syntaxhighlight&gt; einfach einfach &lt;syntaxhighlight lang="javascript"&gt;mw.util.getParamValue('diff') !== null&lt;/syntaxhighlight&gt; (Siehe: [[mw:ResourceLoader/Default modules#getParamValue]]) verwendet werden, dann kann die Funktion und das Array hier entfallen. --[[Benutzer:Fomafix|Fomafix]] 20:13, 29. Dez. 2011 (CET)</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>In [[Benutzer:PDD/markAdmins.js]] sollte statt &lt;syntaxhighlight lang="javascript"&gt;UrlParameters["diff"]&lt;/syntaxhighlight&gt; einfach einfach &lt;syntaxhighlight lang="javascript"&gt;mw.util.getParamValue('diff') !== null&lt;/syntaxhighlight&gt; (Siehe: [[mw:ResourceLoader/Default modules#getParamValue]]) verwendet werden, dann kann die Funktion und das Array hier entfallen. --[[Benutzer:Fomafix|Fomafix]] 20:13, 29. Dez. 2011 (CET)</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>: Das ist ja mal eine geniale Lösung. Hier also NUR das 'include', ja? --[[Benutzer:Guandalug|Guandalug]] 20:15, 29. Dez. 2011 (CET)</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>: Das ist ja mal eine geniale Lösung. Hier also NUR das 'include', ja? --[[Benutzer:Guandalug|Guandalug]] 20:15, 29. Dez. 2011 (CET)</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>:: Eingedampft, gewaltig.</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>:: Wenn du das eigentliche .js auch noch beschleunigen kannst / willst? Ich denke, PDD hat da nix gegen - ich durfte auch immer :D --[[Benutzer:Guandalug|Guandalug]] 21:39, 29. Dez. 2011 (CET)</div></td> </tr> </table> Guandalug https://de.wikipedia.org/w/index.php?title=MediaWiki_Diskussion:Gadget-markAdmins.js&diff=97691919&oldid=prev Guandalug am 29. Dezember 2011 um 19:15 Uhr 2011-12-29T19:15:07Z <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 29. Dezember 2011, 21:15 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 32:</td> <td colspan="2" class="diff-lineno">Zeile 32:</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>::::::Mein „geht nicht“ lag an der Art, wie ich getestet habe. Ich ändere zum Testen nicht ständig meine common.js sondern habe außerhalb der beschriebenen Reihenfolge einen der Konfigurationsschalter gesetzt. Das ging nicht. Es gibt aber gar keinen Grund, warum das nicht gehen sollte. --[[Benutzer:TMg|TMg]] 15:53, 29. Dez. 2011 (CET)</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>::::::Mein „geht nicht“ lag an der Art, wie ich getestet habe. Ich ändere zum Testen nicht ständig meine common.js sondern habe außerhalb der beschriebenen Reihenfolge einen der Konfigurationsschalter gesetzt. Das ging nicht. Es gibt aber gar keinen Grund, warum das nicht gehen sollte. --[[Benutzer:TMg|TMg]] 15:53, 29. Dez. 2011 (CET)</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>In [[Benutzer:PDD/markAdmins.js]] sollte statt &lt;syntaxhighlight lang="javascript"&gt;UrlParameters["diff"]&lt;/syntaxhighlight&gt; einfach einfach &lt;syntaxhighlight lang="javascript"&gt;mw.util.getParamValue('diff') !== null&lt;/syntaxhighlight&gt; (Siehe: [[mw:ResourceLoader/Default modules#getParamValue]]) verwendet werden, dann kann die Funktion und das Array hier entfallen. --[[Benutzer:Fomafix|Fomafix]] 20:13, 29. Dez. 2011 (CET)</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>In [[Benutzer:PDD/markAdmins.js]] sollte statt &lt;syntaxhighlight lang="javascript"&gt;UrlParameters["diff"]&lt;/syntaxhighlight&gt; einfach einfach &lt;syntaxhighlight lang="javascript"&gt;mw.util.getParamValue('diff') !== null&lt;/syntaxhighlight&gt; (Siehe: [[mw:ResourceLoader/Default modules#getParamValue]]) verwendet werden, dann kann die Funktion und das Array hier entfallen. --[[Benutzer:Fomafix|Fomafix]] 20:13, 29. Dez. 2011 (CET)</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>: Das ist ja mal eine geniale Lösung. Hier also NUR das 'include', ja? --[[Benutzer:Guandalug|Guandalug]] 20:15, 29. Dez. 2011 (CET)</div></td> </tr> </table> Guandalug https://de.wikipedia.org/w/index.php?title=MediaWiki_Diskussion:Gadget-markAdmins.js&diff=97691858&oldid=prev Fomafix: /* Optimierter Quelltext */ Einfachere Lösung 2011-12-29T19:13:20Z <p><span class="autocomment">Optimierter Quelltext: </span> Einfachere Lösung</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 29. Dezember 2011, 21:13 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 31:</td> <td colspan="2" class="diff-lineno">Zeile 31:</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>:::::Die Reihenfolge hatte ich auch mal so ausgeknobelt, weshalb ich dein "geht nicht" in Frage gestellt habe. Dass deine Lösung die sinnvollere ist, ist dabei unbestritten - wird auch nachher ausgetestet und dann umgesetzt. Bevorzugt irgendwann "Nachts" wo weniger mitbekommen, wenn ich was verbocke ;) --[[Benutzer:Guandalug|Guandalug]] 15:46, 29. Dez. 2011 (CET)</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>:::::Die Reihenfolge hatte ich auch mal so ausgeknobelt, weshalb ich dein "geht nicht" in Frage gestellt habe. Dass deine Lösung die sinnvollere ist, ist dabei unbestritten - wird auch nachher ausgetestet und dann umgesetzt. Bevorzugt irgendwann "Nachts" wo weniger mitbekommen, wenn ich was verbocke ;) --[[Benutzer:Guandalug|Guandalug]] 15:46, 29. Dez. 2011 (CET)</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>::::::Mein „geht nicht“ lag an der Art, wie ich getestet habe. Ich ändere zum Testen nicht ständig meine common.js sondern habe außerhalb der beschriebenen Reihenfolge einen der Konfigurationsschalter gesetzt. Das ging nicht. Es gibt aber gar keinen Grund, warum das nicht gehen sollte. --[[Benutzer:TMg|TMg]] 15:53, 29. Dez. 2011 (CET)</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>::::::Mein „geht nicht“ lag an der Art, wie ich getestet habe. Ich ändere zum Testen nicht ständig meine common.js sondern habe außerhalb der beschriebenen Reihenfolge einen der Konfigurationsschalter gesetzt. Das ging nicht. Es gibt aber gar keinen Grund, warum das nicht gehen sollte. --[[Benutzer:TMg|TMg]] 15:53, 29. Dez. 2011 (CET)</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>In [[Benutzer:PDD/markAdmins.js]] sollte statt &lt;syntaxhighlight lang="javascript"&gt;UrlParameters["diff"]&lt;/syntaxhighlight&gt; einfach einfach &lt;syntaxhighlight lang="javascript"&gt;mw.util.getParamValue('diff') !== null&lt;/syntaxhighlight&gt; (Siehe: [[mw:ResourceLoader/Default modules#getParamValue]]) verwendet werden, dann kann die Funktion und das Array hier entfallen. --[[Benutzer:Fomafix|Fomafix]] 20:13, 29. Dez. 2011 (CET)</div></td> </tr> </table> Fomafix https://de.wikipedia.org/w/index.php?title=MediaWiki_Diskussion:Gadget-markAdmins.js&diff=97680258&oldid=prev TMg: /* Optimierter Quelltext */ Antwort 2011-12-29T14:53:18Z <p><span class="autocomment">Optimierter Quelltext: </span> Antwort</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 29. Dezember 2011, 16:53 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 30:</td> <td colspan="2" class="diff-lineno">Zeile 30:</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>::::Das Problem dabei ist, dass man sich auf diese Ausführungsreihenfolge nicht verlassen kann. Sie ist nirgends explizit zu erkennen, wir können uns das nur durch Ausprobieren zusammenreimen. Gadgets dürfen meiner Ansicht nach aber nur aus durchschaubarem Quelltext bestehen. --[[Benutzer:TMg|TMg]] 15:44, 29. Dez. 2011 (CET)</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>::::Das Problem dabei ist, dass man sich auf diese Ausführungsreihenfolge nicht verlassen kann. Sie ist nirgends explizit zu erkennen, wir können uns das nur durch Ausprobieren zusammenreimen. Gadgets dürfen meiner Ansicht nach aber nur aus durchschaubarem Quelltext bestehen. --[[Benutzer:TMg|TMg]] 15:44, 29. Dez. 2011 (CET)</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>:::::Die Reihenfolge hatte ich auch mal so ausgeknobelt, weshalb ich dein "geht nicht" in Frage gestellt habe. Dass deine Lösung die sinnvollere ist, ist dabei unbestritten - wird auch nachher ausgetestet und dann umgesetzt. Bevorzugt irgendwann "Nachts" wo weniger mitbekommen, wenn ich was verbocke ;) --[[Benutzer:Guandalug|Guandalug]] 15:46, 29. Dez. 2011 (CET)</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>:::::Die Reihenfolge hatte ich auch mal so ausgeknobelt, weshalb ich dein "geht nicht" in Frage gestellt habe. Dass deine Lösung die sinnvollere ist, ist dabei unbestritten - wird auch nachher ausgetestet und dann umgesetzt. Bevorzugt irgendwann "Nachts" wo weniger mitbekommen, wenn ich was verbocke ;) --[[Benutzer:Guandalug|Guandalug]] 15:46, 29. Dez. 2011 (CET)</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>::::::Mein „geht nicht“ lag an der Art, wie ich getestet habe. Ich ändere zum Testen nicht ständig meine common.js sondern habe außerhalb der beschriebenen Reihenfolge einen der Konfigurationsschalter gesetzt. Das ging nicht. Es gibt aber gar keinen Grund, warum das nicht gehen sollte. --[[Benutzer:TMg|TMg]] 15:53, 29. Dez. 2011 (CET)</div></td> </tr> </table> TMg https://de.wikipedia.org/w/index.php?title=MediaWiki_Diskussion:Gadget-markAdmins.js&diff=97680014&oldid=prev Guandalug am 29. Dezember 2011 um 14:46 Uhr 2011-12-29T14:46:57Z <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 29. Dezember 2011, 16:46 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 29:</td> <td colspan="2" class="diff-lineno">Zeile 29:</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>::::#erst danach das [[Benutzer:PDD/markAdmins.js|eigentliche Skript]] ausgeführt wird.</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>::::#erst danach das [[Benutzer:PDD/markAdmins.js|eigentliche Skript]] ausgeführt wird.</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>::::Das Problem dabei ist, dass man sich auf diese Ausführungsreihenfolge nicht verlassen kann. Sie ist nirgends explizit zu erkennen, wir können uns das nur durch Ausprobieren zusammenreimen. Gadgets dürfen meiner Ansicht nach aber nur aus durchschaubarem Quelltext bestehen. --[[Benutzer:TMg|TMg]] 15:44, 29. Dez. 2011 (CET)</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>::::Das Problem dabei ist, dass man sich auf diese Ausführungsreihenfolge nicht verlassen kann. Sie ist nirgends explizit zu erkennen, wir können uns das nur durch Ausprobieren zusammenreimen. Gadgets dürfen meiner Ansicht nach aber nur aus durchschaubarem Quelltext bestehen. --[[Benutzer:TMg|TMg]] 15:44, 29. Dez. 2011 (CET)</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>:::::Die Reihenfolge hatte ich auch mal so ausgeknobelt, weshalb ich dein "geht nicht" in Frage gestellt habe. Dass deine Lösung die sinnvollere ist, ist dabei unbestritten - wird auch nachher ausgetestet und dann umgesetzt. Bevorzugt irgendwann "Nachts" wo weniger mitbekommen, wenn ich was verbocke ;) --[[Benutzer:Guandalug|Guandalug]] 15:46, 29. Dez. 2011 (CET)</div></td> </tr> </table> Guandalug https://de.wikipedia.org/w/index.php?title=MediaWiki_Diskussion:Gadget-markAdmins.js&diff=97679980&oldid=prev TMg: /* Optimierter Quelltext */ Einrückung 2011-12-29T14:45:59Z <p><span class="autocomment">Optimierter Quelltext: </span> Einrückung</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 29. Dezember 2011, 16:45 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 24:</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>:::Interessant, ich hatte gedacht, die Commons-Admins..... aber okay, hast recht. --[[Benutzer:Guandalug|Guandalug]] 15:33, 29. Dez. 2011 (CET)</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>:::Interessant, ich hatte gedacht, die Commons-Admins..... aber okay, hast recht. --[[Benutzer:Guandalug|Guandalug]] 15:33, 29. Dez. 2011 (CET)</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>::: Und warum funktioniert dann [http://de.wikipedia.org/w/index.php?title=Benutzer:Guandalug/vector.js&amp;diff=prev&amp;oldid=97679531 das hier]? marksubpages wird vom umseitigen Script definitiv auf 'false' gesetzt.... ich sehe damit jetzt aber Unterseiten markiert. --[[Benutzer:Guandalug|Guandalug]] 15:35, 29. Dez. 2011 (CET)</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>::: Und warum funktioniert dann [http://de.wikipedia.org/w/index.php?title=Benutzer:Guandalug/vector.js&amp;diff=prev&amp;oldid=97679531 das hier]? marksubpages wird vom umseitigen Script definitiv auf 'false' gesetzt.... ich sehe damit jetzt aber Unterseiten markiert. --[[Benutzer:Guandalug|Guandalug]] 15:35, 29. Dez. 2011 (CET)</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>::::Das ist eigentlich nicht wichtig, weil die Variablendefinitionen hier <del style="font-weight: bold; text-decoration: none;">definitiv</del> unnötig sind. Wenn es bei dir funktioniert, dann bedeutet das, dass</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>::::Das ist eigentlich nicht wichtig, weil die Variablendefinitionen hier <ins style="font-weight: bold; text-decoration: none;">so oder so</ins> unnötig sind. Wenn es bei dir funktioniert, dann bedeutet das, dass</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;"> </del>der erste Teil des Gadgets geladen wird und alle Variablen deklariert und vorbelegt werden,</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>#der erste Teil des Gadgets geladen wird und alle Variablen deklariert und vorbelegt werden,</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;"> </del>die Zeilen aus deinem Benutzerskript ausgeführt werden, was die Vorbelegung ändert und</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>#die Zeilen aus deinem Benutzerskript ausgeführt werden, was die Vorbelegung ändert und</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;"> </del>erst danach das [[Benutzer:PDD/markAdmins.js|eigentliche Skript]] ausgeführt wird.</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>#erst danach das [[Benutzer:PDD/markAdmins.js|eigentliche Skript]] ausgeführt wird.</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>Das Problem dabei ist, dass man sich auf diese Ausführungsreihenfolge nicht verlassen kann. Sie ist nirgends explizit zu erkennen, wir können uns das nur durch Ausprobieren zusammenreimen. Gadgets dürfen meiner Ansicht nach aber nur aus durchschaubarem Quelltext bestehen. --[[Benutzer:TMg|TMg]] 15:44, 29. Dez. 2011 (CET)</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>Das Problem dabei ist, dass man sich auf diese Ausführungsreihenfolge nicht verlassen kann. Sie ist nirgends explizit zu erkennen, wir können uns das nur durch Ausprobieren zusammenreimen. Gadgets dürfen meiner Ansicht nach aber nur aus durchschaubarem Quelltext bestehen. --[[Benutzer:TMg|TMg]] 15:44, 29. Dez. 2011 (CET)</div></td> </tr> </table> TMg https://de.wikipedia.org/w/index.php?title=MediaWiki_Diskussion:Gadget-markAdmins.js&diff=97679908&oldid=prev TMg: /* Optimierter Quelltext */ Antwort 2011-12-29T14:44:14Z <p><span class="autocomment">Optimierter Quelltext: </span> Antwort</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 29. Dezember 2011, 16:44 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 24:</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>:::Interessant, ich hatte gedacht, die Commons-Admins..... aber okay, hast recht. --[[Benutzer:Guandalug|Guandalug]] 15:33, 29. Dez. 2011 (CET)</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>:::Interessant, ich hatte gedacht, die Commons-Admins..... aber okay, hast recht. --[[Benutzer:Guandalug|Guandalug]] 15:33, 29. Dez. 2011 (CET)</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>::: Und warum funktioniert dann [http://de.wikipedia.org/w/index.php?title=Benutzer:Guandalug/vector.js&amp;diff=prev&amp;oldid=97679531 das hier]? marksubpages wird vom umseitigen Script definitiv auf 'false' gesetzt.... ich sehe damit jetzt aber Unterseiten markiert. --[[Benutzer:Guandalug|Guandalug]] 15:35, 29. Dez. 2011 (CET)</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>::: Und warum funktioniert dann [http://de.wikipedia.org/w/index.php?title=Benutzer:Guandalug/vector.js&amp;diff=prev&amp;oldid=97679531 das hier]? marksubpages wird vom umseitigen Script definitiv auf 'false' gesetzt.... ich sehe damit jetzt aber Unterseiten markiert. --[[Benutzer:Guandalug|Guandalug]] 15:35, 29. Dez. 2011 (CET)</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>::::Das ist eigentlich nicht wichtig, weil die Variablendefinitionen hier definitiv unnötig sind. Wenn es bei dir funktioniert, dann bedeutet das, dass</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># der erste Teil des Gadgets geladen wird und alle Variablen deklariert und vorbelegt werden,</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># die Zeilen aus deinem Benutzerskript ausgeführt werden, was die Vorbelegung ändert und</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># erst danach das [[Benutzer:PDD/markAdmins.js|eigentliche Skript]] ausgeführt wird.</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>Das Problem dabei ist, dass man sich auf diese Ausführungsreihenfolge nicht verlassen kann. Sie ist nirgends explizit zu erkennen, wir können uns das nur durch Ausprobieren zusammenreimen. Gadgets dürfen meiner Ansicht nach aber nur aus durchschaubarem Quelltext bestehen. --[[Benutzer:TMg|TMg]] 15:44, 29. Dez. 2011 (CET)</div></td> </tr> </table> TMg https://de.wikipedia.org/w/index.php?title=MediaWiki_Diskussion:Gadget-markAdmins.js&diff=97679593&oldid=prev Guandalug: /* Optimierter Quelltext */ 2011-12-29T14:35:36Z <p><span class="autocomment">Optimierter Quelltext</span></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 29. Dezember 2011, 16:35 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>::In [[Benutzer:Guandalug/vector.js|deiner vector.js]] hast du nur Variablen definiert, die das Gadget nicht überschreibt. Alle, die [http://de.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markAdmins.js&amp;oldid=76249632 hier aufgeführt sind], lassen sich nicht konfigurieren. --[[Benutzer:TMg|TMg]] 15:30, 29. Dez. 2011 (CET)</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>::In [[Benutzer:Guandalug/vector.js|deiner vector.js]] hast du nur Variablen definiert, die das Gadget nicht überschreibt. Alle, die [http://de.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markAdmins.js&amp;oldid=76249632 hier aufgeführt sind], lassen sich nicht konfigurieren. --[[Benutzer:TMg|TMg]] 15:30, 29. Dez. 2011 (CET)</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>:::Interessant, ich hatte gedacht, die Commons-Admins..... aber okay, hast recht. --[[Benutzer:Guandalug|Guandalug]] 15:33, 29. Dez. 2011 (CET)</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>:::Interessant, ich hatte gedacht, die Commons-Admins..... aber okay, hast recht. --[[Benutzer:Guandalug|Guandalug]] 15:33, 29. Dez. 2011 (CET)</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>::: Und warum funktioniert dann [http://de.wikipedia.org/w/index.php?title=Benutzer:Guandalug/vector.js&amp;diff=prev&amp;oldid=97679531 das hier]? marksubpages wird vom umseitigen Script definitiv auf 'false' gesetzt.... ich sehe damit jetzt aber Unterseiten markiert. --[[Benutzer:Guandalug|Guandalug]] 15:35, 29. Dez. 2011 (CET)</div></td> </tr> </table> Guandalug https://de.wikipedia.org/w/index.php?title=MediaWiki_Diskussion:Gadget-markAdmins.js&diff=97679554&oldid=prev TMg: /* Optimierter Quelltext */ Quelltext minimal schöner formatiert 2011-12-29T14:34:39Z <p><span class="autocomment">Optimierter Quelltext: </span> Quelltext minimal schöner formatiert</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 29. Dezember 2011, 16:34 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 4:</td> <td colspan="2" class="diff-lineno">Zeile 4:</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 UrlParameters = (function(s)</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 UrlParameters = (function(s)</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 parameters = {}; //Assoziative Arrays gibt es nicht, muss ein Objekt sein</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 parameters = {};<ins style="font-weight: bold; text-decoration: none;"> </ins> //Assoziative Arrays gibt es nicht, muss ein Objekt sein</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> s = s.slice(1).split('&amp;'); //Fragezeichen abschneiden und in Parameter zerlegen</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> s = s.slice(1).split('&amp;');<ins style="font-weight: bold; text-decoration: none;"> </ins> //Fragezeichen abschneiden und in Parameter zerlegen</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 (var i = 0, l = s.length; i &lt; l; i++)</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 (var i = 0, l = s.length; i &lt; l; i++)</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 p = s[i].split('='); //Parameter in Name und Wert zerlegen</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 p = s[i].split('=');<ins style="font-weight: bold; text-decoration: none;"> </ins> //Parameter in Name und Wert zerlegen</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 (p[0]) parameters[decodeURIComponent(p[0])] = p[1] ? decodeURIComponent(p[1]) : 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> if (p[0]) parameters[decodeURIComponent(p[0])] = p[1] ? decodeURIComponent(p[1]) : 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> }</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> return parameters; //Fertiges Pareameterobjekt zurückgeben</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> return parameters;<ins style="font-weight: bold; text-decoration: none;"> </ins> //Fertiges Pareameterobjekt zurückgeben</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>})(location.search); //Aufruf der Funktion und Übergabe des Suchstrings</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>})(location.search);<ins style="font-weight: bold; text-decoration: none;"> </ins> //Aufruf der Funktion und Übergabe des Suchstrings</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>importScript(<del style="font-weight: bold; text-decoration: none;">"</del>Benutzer:PDD/markAdmins.js<del style="font-weight: bold; text-decoration: none;">"</del>); //<del style="font-weight: bold; text-decoration: none;"> </del>[[Benutzer:PDD/markAdmins.js]]</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>importScript(<ins style="font-weight: bold; text-decoration: none;">'</ins>Benutzer:PDD/markAdmins.js<ins style="font-weight: bold; text-decoration: none;">'</ins>); //[[Benutzer:PDD/markAdmins.js]]</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>&lt;/syntaxhighlight&gt;</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>&lt;/syntaxhighlight&gt;</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>Im Kern habe ich zwei große Dinge geändert:</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>Im Kern habe ich zwei große Dinge geändert:</div></td> </tr> </table> TMg