https://de.wikipedia.org/w/index.php?action=history&feed=atom&title=Benutzer%3ASarang%2Fcommon.js Benutzer:Sarang/common.js - Versionsgeschichte 2025-05-29T17:05:26Z Versionsgeschichte dieser Seite in Wikipedia MediaWiki 1.45.0-wmf.2 https://de.wikipedia.org/w/index.php?title=Benutzer:Sarang/common.js&diff=215159350&oldid=prev Jon (WMF): maintenance: more info phab:T72470 2021-08-29T16:16:55Z <p>maintenance: <a href="https://meta.wikimedia.org/wiki/User:Jon_(WMF)/Edit_to_user_or_gadget_script" class="extiw" title="metawiki:User:Jon (WMF)/Edit to user or gadget script">more info</a> <a href="https://phabricator.wikimedia.org/T72470" class="extiw" title="phab:T72470">phab:T72470</a></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. August 2021, 18:16 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 1:</td> <td colspan="2" class="diff-lineno">Zeile 1:</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 (wgNamespaceNumber == 6) <del style="font-weight: bold; text-decoration: none;">addOnloadHook</del>(function () {</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> if (<ins style="font-weight: bold; text-decoration: none;">mw.config.get('</ins>wgNamespaceNumber<ins style="font-weight: bold; text-decoration: none;">')</ins> <ins style="font-weight: bold; text-decoration: none;">=</ins>== 6) <ins style="font-weight: bold; text-decoration: none;">$</ins>(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> var url = "//toolserver.org/~magnus/commonshelper.php?interface=de&amp;language=de&amp;project=wikipedia&amp;commonsense=1&amp;remove_categories=1&amp;tusc_user=Sarang&amp;reallydirectupload=1&amp;image=" + encodeURIComponent(wgTitle);</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 url = "//toolserver.org/~magnus/commonshelper.php?interface=de&amp;language=de&amp;project=wikipedia&amp;commonsense=1&amp;remove_categories=1&amp;tusc_user=Sarang&amp;reallydirectupload=1&amp;image=" + encodeURIComponent(wgTitle);</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> addPortletLink("p-cactions", url, "→C", "ca-tocommons", "Per Bot nach Commons verschieben");</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;">mw.util.</ins>addPortletLink("p-cactions", url, "→C", "ca-tocommons", "Per Bot nach Commons verschieben");</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 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 (wgNamespaceNumber === 6 &amp;&amp; /SVG/i.test(wgTitle.slice(-3))) mw.util.addPortletLink(</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>if (<ins style="font-weight: bold; text-decoration: none;">mw.config.get('</ins>wgNamespaceNumber<ins style="font-weight: bold; text-decoration: none;">')</ins> === 6 &amp;&amp; /SVG/i.test(<ins style="font-weight: bold; text-decoration: none;">mw.config.get('</ins>wgTitle<ins style="font-weight: bold; text-decoration: none;">')</ins>.slice(-3))) mw.util.addPortletLink(</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> 'p-cactions', 'http://validator.w3.org/check?uri='+'http:'+wgServer+mw.util.getUrl('Special:Filepath/'+wgTitle)+'&amp;ss=1#source',</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> 'p-cactions', 'http://validator.w3.org/check?uri='+'http:'+<ins style="font-weight: bold; text-decoration: none;">mw.config.get('</ins>wgServer<ins style="font-weight: bold; text-decoration: none;">')</ins>+mw.util.getUrl('Special:Filepath/'+<ins style="font-weight: bold; text-decoration: none;">mw.config.get('</ins>wgTitle<ins style="font-weight: bold; text-decoration: none;">')</ins>)+'&amp;ss=1#source',</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> 'Valid SVG?', 't-validSVG', 'W3C-Validator');</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> 'Valid SVG?', 't-validSVG', 'W3C-Validator');</div></td> </tr> </table> Jon (WMF) https://de.wikipedia.org/w/index.php?title=Benutzer:Sarang/common.js&diff=140960454&oldid=prev Sarang: test 2015-04-18T08:17:22Z <p>test</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 18. April 2015, 10:17 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 5:</td> <td colspan="2" class="diff-lineno">Zeile 5:</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>if (wgNamespaceNumber === 6 &amp;&amp; /SVG/i.test(wgTitle.slice(-3))) mw.util.addPortletLink(</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 (wgNamespaceNumber === 6 &amp;&amp; /SVG/i.test(wgTitle.slice(-3))) mw.util.addPortletLink(</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> 'p-cactions', 'http://validator.w3.org/check?uri='+'http:'+wgServer+mw.util.getUrl('Special:Filepath/'+wgTitle),</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> 'p-cactions', 'http://validator.w3.org/check?uri='+'http:'+wgServer+mw.util.getUrl('Special:Filepath/'+wgTitle)<ins style="font-weight: bold; text-decoration: none;">+'&amp;ss=1#source'</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> 'Valid SVG?', 't-validSVG', 'W3C-Validator');</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> 'Valid SVG?', 't-validSVG', 'W3C-Validator');</div></td> </tr> </table> Sarang https://de.wikipedia.org/w/index.php?title=Benutzer:Sarang/common.js&diff=132864838&oldid=prev Sarang: validator 2014-08-07T16:11:45Z <p>validator</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 7. August 2014, 18:11 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 3:</td> <td colspan="2" class="diff-lineno">Zeile 3:</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> addPortletLink("p-cactions", url, "→C", "ca-tocommons", "Per Bot nach Commons verschieben");</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> addPortletLink("p-cactions", url, "→C", "ca-tocommons", "Per Bot nach Commons verschieben");</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-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>if (wgNamespaceNumber === 6 &amp;&amp; /SVG/i.test(wgTitle.slice(-3))) mw.util.addPortletLink(</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> 'p-cactions', 'http://validator.w3.org/check?uri='+'http:'+wgServer+mw.util.getUrl('Special:Filepath/'+wgTitle),</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> 'Valid SVG?', 't-validSVG', 'W3C-Validator');</div></td> </tr> </table> Sarang https://de.wikipedia.org/w/index.php?title=Benutzer:Sarang/common.js&diff=108690757&oldid=prev Sarang: test 2012-09-30T06:51:38Z <p>test</p> <p><b>Neue Seite</b></p><div> if (wgNamespaceNumber == 6) addOnloadHook(function () {<br /> var url = &quot;//toolserver.org/~magnus/commonshelper.php?interface=de&amp;language=de&amp;project=wikipedia&amp;commonsense=1&amp;remove_categories=1&amp;tusc_user=Sarang&amp;reallydirectupload=1&amp;image=&quot; + encodeURIComponent(wgTitle);<br /> addPortletLink(&quot;p-cactions&quot;, url, &quot;→C&quot;, &quot;ca-tocommons&quot;, &quot;Per Bot nach Commons verschieben&quot;);<br /> });</div> Sarang