https://de.wikipedia.org/w/index.php?action=history&feed=atom&title=Benutzer%3ACodc%2Ffixlinks.js
Benutzer:Codc/fixlinks.js - Versionsgeschichte
2025-05-12T16:42:01Z
Versionsgeschichte dieser Seite in Wikipedia
MediaWiki 1.44.0-wmf.28
https://de.wikipedia.org/w/index.php?title=Benutzer:Codc/fixlinks.js&diff=209055748&oldid=prev
Ladsgroup: Maintenance: Replacing legacy global variable (phab:T72470)
2021-02-21T08:33:50Z
<p>Maintenance: Replacing legacy global variable (<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 21. Februar 2021, 10:33 Uhr</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Zeile 64:</td>
<td colspan="2" class="diff-lineno">Zeile 64:</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 req = newRequest();</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 req = newRequest();</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 (req) {</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 (req) {</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 text = wgServer + wgScriptPath + '/api.php?action=query&format=xml&list=imageusage&iulimit=500&iutitle='+wgPageName;</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 text = <ins style="font-weight: bold; text-decoration: none;">mw.config.get('</ins>wgServer<ins style="font-weight: bold; text-decoration: none;">')</ins> + <ins style="font-weight: bold; text-decoration: none;">mw.config.get('</ins>wgScriptPath<ins style="font-weight: bold; text-decoration: none;">')</ins> + '/api.php?action=query&format=xml&list=imageusage&iulimit=500&iutitle='+wgPageName;</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> req.open("GET", text, false);</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> req.open("GET", text, false);</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> req.send("");</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> req.send("");</div></td>
</tr>
<tr>
<td colspan="2" class="diff-lineno">Zeile 86:</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> if(getimage=='Wikipedia:WikiProjekt SVG/Wunschliste') continue;</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(getimage=='Wikipedia:WikiProjekt SVG/Wunschliste') continue;</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 gettime = generate_flatime();</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 gettime = generate_flatime();</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 url = wgServer+wgScript+"?title="+getimage+"&action=edit&replace="+encodeURIComponent(wgTitle)+"&replacewith="+encodeURIComponent(replacewith)+"&fixlinkstype="+encodeURIComponent(fixlinkstype)+"&flauser="+encodeURIComponent(getuser)+"&flatime="+encodeURIComponent(gettime);</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 url = <ins style="font-weight: bold; text-decoration: none;">mw.config.get('</ins>wgServer<ins style="font-weight: bold; text-decoration: none;">')</ins>+<ins style="font-weight: bold; text-decoration: none;">mw.config.get('</ins>wgScript<ins style="font-weight: bold; text-decoration: none;">')</ins>+"?title="+getimage+"&action=edit&replace="+encodeURIComponent(wgTitle)+"&replacewith="+encodeURIComponent(replacewith)+"&fixlinkstype="+encodeURIComponent(fixlinkstype)+"&flauser="+encodeURIComponent(getuser)+"&flatime="+encodeURIComponent(gettime);</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> url = encodeURI(url);</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> url = encodeURI(url);</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.open(url);</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.open(url);</div></td>
</tr>
<tr>
<td colspan="2" class="diff-lineno">Zeile 113:</td>
<td colspan="2" class="diff-lineno">Zeile 113:</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 req2 = newRequest();</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 req2 = newRequest();</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 (req2) {</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 (req2) {</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 text = wgServer + wgScriptPath + '/api.php?action=query&format=xml&list=backlinks&bllimit=500&blfilterredir=nonredirects&blnamespace=0|4|6|10|12|14|100&bltitle='+movefrom;</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 text = <ins style="font-weight: bold; text-decoration: none;">mw.config.get('</ins>wgServer<ins style="font-weight: bold; text-decoration: none;">')</ins> + <ins style="font-weight: bold; text-decoration: none;">mw.config.get('</ins>wgScriptPath<ins style="font-weight: bold; text-decoration: none;">')</ins> + '/api.php?action=query&format=xml&list=backlinks&bllimit=500&blfilterredir=nonredirects&blnamespace=0|4|6|10|12|14|100&bltitle='+movefrom;</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> req2.open("GET", text, false);</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> req2.open("GET", text, false);</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> req2.send("");</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> req2.send("");</div></td>
</tr>
<tr>
<td colspan="2" class="diff-lineno">Zeile 121:</td>
<td colspan="2" class="diff-lineno">Zeile 121:</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 req3 = newRequest();</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 req3 = newRequest();</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 (req3) {</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 (req3) {</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 text = wgServer + wgScriptPath + '/api.php?action=query&format=xml&list=imageusage&iulimit=500&iufilterredir=nonredirects&iunamespace=0|4|6|10|12|14|100&iutitle='+movefrom;</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 text = <ins style="font-weight: bold; text-decoration: none;">mw.config.get('</ins>wgServer<ins style="font-weight: bold; text-decoration: none;">')</ins> + <ins style="font-weight: bold; text-decoration: none;">mw.config.get('</ins>wgScriptPath<ins style="font-weight: bold; text-decoration: none;">')</ins> + '/api.php?action=query&format=xml&list=imageusage&iulimit=500&iufilterredir=nonredirects&iunamespace=0|4|6|10|12|14|100&iutitle='+movefrom;</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> req3.open("GET", text, false);</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> req3.open("GET", text, false);</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> req3.send("");</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> req3.send("");</div></td>
</tr>
<tr>
<td colspan="2" class="diff-lineno">Zeile 129:</td>
<td colspan="2" class="diff-lineno">Zeile 129:</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 req4 = newRequest();</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 req4 = newRequest();</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 (req4) {</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 (req4) {</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 text = wgServer + wgScriptPath + '/api.php?action=query&format=xml&list=embeddedin&eilimit=500&eifilterredir=nonredirects&einamespace=0|4|6|10|12|14|100&eititle='+movefrom;</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 text = <ins style="font-weight: bold; text-decoration: none;">mw.config.get('</ins>wgServer<ins style="font-weight: bold; text-decoration: none;">')</ins> + <ins style="font-weight: bold; text-decoration: none;">mw.config.get('</ins>wgScriptPath<ins style="font-weight: bold; text-decoration: none;">')</ins> + '/api.php?action=query&format=xml&list=embeddedin&eilimit=500&eifilterredir=nonredirects&einamespace=0|4|6|10|12|14|100&eititle='+movefrom;</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> req4.open("GET", text, false);</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> req4.open("GET", text, false);</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> req4.send("");</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> req4.send("");</div></td>
</tr>
<tr>
<td colspan="2" class="diff-lineno">Zeile 149:</td>
<td colspan="2" class="diff-lineno">Zeile 149:</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> getimage = getimage.replace(/\&/g, '%26');</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> getimage = getimage.replace(/\&/g, '%26');</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(testvar) {</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(testvar) {</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 url = wgServer+wgScript+"?title="+getimage+"&action=edit&replace="+encodeURIComponent(movefrom)+"&replacewith="+encodeURIComponent(moveto)+"&fixlinkstype="+fixlinkstype+"&flauser="+encodeURIComponent(getuser)+"&flatime="+encodeURIComponent(gettime);</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 url = <ins style="font-weight: bold; text-decoration: none;">mw.config.get('</ins>wgServer<ins style="font-weight: bold; text-decoration: none;">')</ins>+<ins style="font-weight: bold; text-decoration: none;">mw.config.get('</ins>wgScript<ins style="font-weight: bold; text-decoration: none;">')</ins>+"?title="+getimage+"&action=edit&replace="+encodeURIComponent(movefrom)+"&replacewith="+encodeURIComponent(moveto)+"&fixlinkstype="+fixlinkstype+"&flauser="+encodeURIComponent(getuser)+"&flatime="+encodeURIComponent(gettime);</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> //url = encodeURI(url);</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> //url = encodeURI(url);</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.open(url);</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.open(url);</div></td>
</tr>
<tr>
<td colspan="2" class="diff-lineno">Zeile 162:</td>
<td colspan="2" class="diff-lineno">Zeile 162:</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(getimage=='Wikipedia:WikiProjekt SVG/Wunschliste') testvar = false;</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(getimage=='Wikipedia:WikiProjekt SVG/Wunschliste') testvar = false;</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(testvar) {</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(testvar) {</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 url = wgServer+wgScript+"?title="+getimage+"&action=edit&replace="+encodeURIComponent(movefrom)+"&replacewith="+encodeURIComponent(moveto)+"&fixlinkstype="+fixlinkstype+"&flauser="+encodeURIComponent(getuser)+"&flatime="+encodeURIComponent(gettime);</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 url = <ins style="font-weight: bold; text-decoration: none;">mw.config.get('</ins>wgServer<ins style="font-weight: bold; text-decoration: none;">')</ins>+<ins style="font-weight: bold; text-decoration: none;">mw.config.get('</ins>wgScript<ins style="font-weight: bold; text-decoration: none;">')</ins>+"?title="+getimage+"&action=edit&replace="+encodeURIComponent(movefrom)+"&replacewith="+encodeURIComponent(moveto)+"&fixlinkstype="+fixlinkstype+"&flauser="+encodeURIComponent(getuser)+"&flatime="+encodeURIComponent(gettime);</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> url = encodeURI(url);</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> url = encodeURI(url);</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.open(url);</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.open(url);</div></td>
</tr>
<tr>
<td colspan="2" class="diff-lineno">Zeile 175:</td>
<td colspan="2" class="diff-lineno">Zeile 175:</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(getimage=='Wikipedia:WikiProjekt SVG/Wunschliste') testvar = false;</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(getimage=='Wikipedia:WikiProjekt SVG/Wunschliste') testvar = false;</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(testvar) {</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(testvar) {</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 url = wgServer+wgScript+"?title="+getimage+"&action=edit&replace="+encodeURIComponent(movefrom)+"&replacewith="+encodeURIComponent(moveto)+"&fixlinkstype="+fixlinkstype+"&flauser="+encodeURIComponent(getuser)+"&flatime="+encodeURIComponent(gettime);</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 url = <ins style="font-weight: bold; text-decoration: none;">mw.config.get('</ins>wgServer<ins style="font-weight: bold; text-decoration: none;">')</ins>+<ins style="font-weight: bold; text-decoration: none;">mw.config.get('</ins>wgScript<ins style="font-weight: bold; text-decoration: none;">')</ins>+"?title="+getimage+"&action=edit&replace="+encodeURIComponent(movefrom)+"&replacewith="+encodeURIComponent(moveto)+"&fixlinkstype="+fixlinkstype+"&flauser="+encodeURIComponent(getuser)+"&flatime="+encodeURIComponent(gettime);</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> url = encodeURI(url);</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> url = encodeURI(url);</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.open(url);</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.open(url);</div></td>
</tr>
</table>
Ladsgroup
https://de.wikipedia.org/w/index.php?title=Benutzer:Codc/fixlinks.js&diff=182341850&oldid=prev
Codc: AZ: Die Seite wurde neu angelegt: function newRequest() { try { if (window.XMLHttpRequest) { return new XMLHttp…
2018-10-31T22:39:32Z
<p><a href="/wiki/Hilfe:Zusammenfassung_und_Quellen#Auto-Zusammenfassung" title="Hilfe:Zusammenfassung und Quellen">AZ</a>: Die Seite wurde neu angelegt: function newRequest() { try { if (window.XMLHttpRequest) { return new XMLHttp…</p>
<p><b>Neue Seite</b></p><div> function newRequest()<br />
{<br />
try {<br />
if (window.XMLHttpRequest) {<br />
return new XMLHttpRequest();<br />
} else {<br />
return new ActiveXObject("MSXML2.XMLHTTP");<br />
}<br />
} catch (e) {<br />
return false;<br />
}<br />
}<br />
<br />
// token functions<br />
function generate_flauser () {<br />
return encodeURIComponent(wgUserName);<br />
}<br />
<br />
function validate_flauser (flauser) {<br />
var retval = false;<br />
if (flauser == encodeURIComponent(encodeURIComponent(generate_flauser())) )<br />
retval = true;<br />
<br />
return retval;<br />
}<br />
<br />
function generate_flatime () {<br />
var arbitrary_datestamp = Date.UTC(2008,10,1,0,0,0,0); // 1.11.2008<br />
var current_date = new Date();<br />
var current_timestamp = current_date.getTime();<br />
<br />
return ( Math.floor((current_timestamp - arbitrary_datestamp) / 1000) );<br />
}<br />
<br />
function validate_flatime (flatime) {<br />
var retval = false;<br />
var timediff = generate_flatime() - flatime;<br />
<br />
if ((timediff >= 0) && (timediff < 45))<br />
retval = true;<br />
<br />
return retval;<br />
}<br />
<br />
// get URL parameters (used for page type variables)<br />
var FLUrlParameters = new Array ();<br />
readparams();<br />
<br />
function readparams() {<br />
var asReadInUrlParameters;<br />
var asReadInUrlParameter;<br />
<br />
// Get URL parameters<br />
asReadInUrlParameters = location.search.substring(1, location.search.length).split("&");<br />
for (i = 0; i < asReadInUrlParameters.length; i++) {<br />
asReadInUrlParameter = asReadInUrlParameters[i].split("=");<br />
FLUrlParameters[decodeURIComponent(asReadInUrlParameter[0])] = asReadInUrlParameter[1];<br />
}<br />
}<br />
<br />
// Funktion zum Öffnen der Links<br />
function fixlinksimages() {<br />
if(confirm("Möchtest du mit dem Abarbeiten von NowCommons bzw. JetztSVG fortfahren? Zum Umbiegen von Links auf eine frei definierbare Seite gehe zuerst in die Linkliste. Zum Löschen von Verlinkungen klicke auf RemoveLinks.")){<br />
var req = newRequest();<br />
if (req) {<br />
var text = wgServer + wgScriptPath + '/api.php?action=query&format=xml&list=imageusage&iulimit=500&iutitle='+wgPageName;<br />
req.open("GET", text, false);<br />
req.send("");<br />
<br />
var imageusage = req.responseXML.getElementsByTagName("iu");<br />
}<br />
for(i=0;i<10;i++){<br />
if (!imageusage[i]) continue;<br />
var replacewith = document.getElementById('Vorlage_NowCommons');<br />
var fixlinkstype = 'nowcommons';<br />
if(!replacewith) {<br />
var replacewith = document.getElementById('Vorlage_JetztSVG');<br />
fixlinkstype = 'svg';<br />
}<br />
if(!replacewith) continue;<br />
replacewith = replacewith.getElementsByTagName('td')[1].getElementsByTagName('a')[0].getAttribute('title').replace(/\bcommons.File./,'').replace(/\bDatei\:/,'');<br />
var getuser = generate_flauser();<br />
var getimage = imageusage[i].getAttribute('title');<br />
if(getimage.search(/Kategorie\:Wikipedia\:Datei/) != -1) continue;<br />
if(getimage=='Wikipedia:Grafikwerkstatt') continue;<br />
if(getimage=='Wikipedia:WikiProjekt SVG/Wunschliste') continue;<br />
var gettime = generate_flatime();<br />
var url = wgServer+wgScript+"?title="+getimage+"&action=edit&replace="+encodeURIComponent(wgTitle)+"&replacewith="+encodeURIComponent(replacewith)+"&fixlinkstype="+encodeURIComponent(fixlinkstype)+"&flauser="+encodeURIComponent(getuser)+"&flatime="+encodeURIComponent(gettime);<br />
url = encodeURI(url);<br />
window.open(url);<br />
if(i==9 && imageusage.length>10) {<br />
document.getElementById('firstHeading').setAttribute('class', 'recentlyrestored');<br />
document.getElementById('firstHeading').setAttribute('style', 'text-decoration: blink; background-color:red;');<br />
document.getElementById('firstHeading').innerHTML = 'Es sind noch Einbindungen vorhanden! Skript noch einmal ausführen!';<br />
}<br />
}<br />
}<br />
}<br />
<br />
function fixlinkslinklist(gettype) {<br />
var counter = 0;<br />
var movefrom = wgPageName;<br />
if(wgCanonicalSpecialPageName == "Whatlinkshere") movefrom = document.getElementById('contentSub').getElementsByTagName('a')[0].innerHTML; <br />
if (gettype == '1') {<br />
var moveto = prompt('Wohin sollen die Links gefixt werden?');<br />
var startwith = prompt('Wie viele Links sollen übersprungen werden?', '0');<br />
startwith = parseInt(startwith);<br />
} else {<br />
var moveto = 'DELETE';<br />
var startwith = 0;<br />
}<br />
if(moveto && (moveto !== '') && (moveto !== movefrom)) {<br />
var req2 = newRequest();<br />
if (req2) {<br />
var text = wgServer + wgScriptPath + '/api.php?action=query&format=xml&list=backlinks&bllimit=500&blfilterredir=nonredirects&blnamespace=0|4|6|10|12|14|100&bltitle='+movefrom;<br />
req2.open("GET", text, false);<br />
req2.send("");<br />
<br />
var linklist1 = req2.responseXML.getElementsByTagName("bl");<br />
}<br />
var req3 = newRequest();<br />
if (req3) {<br />
var text = wgServer + wgScriptPath + '/api.php?action=query&format=xml&list=imageusage&iulimit=500&iufilterredir=nonredirects&iunamespace=0|4|6|10|12|14|100&iutitle='+movefrom;<br />
req3.open("GET", text, false);<br />
req3.send("");<br />
<br />
var linklist2 = req3.responseXML.getElementsByTagName("iu");<br />
}<br />
var req4 = newRequest();<br />
if (req4) {<br />
var text = wgServer + wgScriptPath + '/api.php?action=query&format=xml&list=embeddedin&eilimit=500&eifilterredir=nonredirects&einamespace=0|4|6|10|12|14|100&eititle='+movefrom;<br />
req4.open("GET", text, false);<br />
req4.send("");<br />
<br />
var linklist3 = req4.responseXML.getElementsByTagName("ei");<br />
}<br />
if (gettype=='1') { var fixlinkstype = 'linklist'; } else { var fixlinkstype = 'deletelinks'; }<br />
for(i=0;i<10;i++){<br />
if(counter < 10) {<br />
var getuser = generate_flauser();<br />
var gettime = generate_flatime();<br />
<br />
if (linklist1[i+startwith]) {<br />
var getimage = linklist1[i+startwith].getAttribute('title');<br />
var testvar = true;<br />
if(getimage.search(/Kategorie\:Wikipedia\:Datei/) != -1) testvar = false;<br />
if(getimage=='Wikipedia:Grafikwerkstatt') testvar = false;<br />
if(getimage=='Wikipedia:WikiProjekt SVG/Wunschliste') testvar = false;<br />
getimage = getimage.replace(/\&/g, '%26');<br />
if(testvar) {<br />
var url = wgServer+wgScript+"?title="+getimage+"&action=edit&replace="+encodeURIComponent(movefrom)+"&replacewith="+encodeURIComponent(moveto)+"&fixlinkstype="+fixlinkstype+"&flauser="+encodeURIComponent(getuser)+"&flatime="+encodeURIComponent(gettime);<br />
//url = encodeURI(url);<br />
window.open(url);<br />
counter++;<br />
}<br />
}<br />
if (linklist2[i]) {<br />
var getimage = linklist2[i].getAttribute('title');<br />
var testvar = true;<br />
if(getimage.search(/Kategorie\:Wikipedia\:Datei/) != -1) testvar = false;<br />
if(getimage=='Wikipedia:Grafikwerkstatt') testvar = false;<br />
if(getimage=='Wikipedia:WikiProjekt SVG/Wunschliste') testvar = false;<br />
if(testvar) {<br />
var url = wgServer+wgScript+"?title="+getimage+"&action=edit&replace="+encodeURIComponent(movefrom)+"&replacewith="+encodeURIComponent(moveto)+"&fixlinkstype="+fixlinkstype+"&flauser="+encodeURIComponent(getuser)+"&flatime="+encodeURIComponent(gettime);<br />
url = encodeURI(url);<br />
window.open(url);<br />
counter++;<br />
}<br />
}<br />
if (linklist3[i] && !linklist) {<br />
var getimage = linklist3[i].getAttribute('title');<br />
var testvar = true;<br />
if(getimage.search(/Kategorie\:Wikipedia\:Datei/) != -1) testvar = false;<br />
if(getimage=='Wikipedia:Grafikwerkstatt') testvar = false;<br />
if(getimage=='Wikipedia:WikiProjekt SVG/Wunschliste') testvar = false;<br />
if(testvar) {<br />
var url = wgServer+wgScript+"?title="+getimage+"&action=edit&replace="+encodeURIComponent(movefrom)+"&replacewith="+encodeURIComponent(moveto)+"&fixlinkstype="+fixlinkstype+"&flauser="+encodeURIComponent(getuser)+"&flatime="+encodeURIComponent(gettime);<br />
url = encodeURI(url);<br />
window.open(url);<br />
counter++;<br />
}<br />
}<br />
<br />
} else {<br />
document.getElementById('firstHeading').setAttribute('class', 'recentlyrestored');<br />
document.getElementById('firstHeading').setAttribute('style', 'text-decoration: blink; background-color:red;');<br />
document.getElementById('firstHeading').innerHTML = 'Es sind noch Einbindungen vorhanden! Skript noch einmal ausführen!';<br />
}<br />
}<br />
}<br />
//}<br />
}<br />
<br />
// Funktion zum Ändern der Artikelinhalte<br />
function fixlinks(){<br />
if (validate_flauser(FLUrlParameters["flauser"])) {<br />
if (validate_flatime(FLUrlParameters["flatime"])) {<br />
var replacewith = decodeURIComponent(decodeURIComponent(decodeURIComponent(FLUrlParameters["replacewith"])));<br />
var replacer = decodeURIComponent(decodeURIComponent(FLUrlParameters["replace"])).replace(/[\s_\.]/g,'.').replace(/\(/,'\\(').replace(/\)/,'\\)');<br />
if (FLUrlParameters["fixlinkstype"] == 'linklist' || FLUrlParameters["fixlinkstype"] == 'deletelinks') {<br />
replacer = '\\[\\['+replacer;<br />
replacer = replacer.replace(/\\\[\\\[(Bild:|Image:|Datei:|File:)/g, '');<br />
}<br />
if (FLUrlParameters["fixlinkstype"] != 'deletelinks') replacer = new RegExp(replacer, 'gi');<br />
//alert(replacer);<br />
//alert(replacewith);<br />
if(FLUrlParameters["fixlinkstype"] == 'nowcommons'){<br />
document.editform.wpSummary.value = "Die Datei [[Datei:"+decodeURIComponent(decodeURIComponent(FLUrlParameters["replace"]))+"]] ist nun auf Commons unter [[commons:File:"+decodeURIComponent(replacewith)+"]] zu finden. ([[Benutzer:DerHexer/fixlinks.js|fixlinks.js]])";<br />
} else if (FLUrlParameters["fixlinkstype"] == 'svg') {<br />
document.editform.wpSummary.value = "Die Datei [[Datei:"+decodeURIComponent(decodeURIComponent(FLUrlParameters["replace"]))+"]] ist nun als [[Scalable Vector Graphics|SVG]] unter [[Datei:"+decodeURIComponent(replacewith)+"]] zu finden. ([[Benutzer:DerHexer/fixlinks.js|fixlinks.js]])";<br />
} else if (FLUrlParameters["fixlinkstype"] == 'linklist') {<br />
document.editform.wpSummary.value = "[[Benutzer:DerHexer/fixlinks.js|Linkfix]] ([["+decodeURIComponent(decodeURIComponent(FLUrlParameters["replace"])).replace(/\[\[/,'')+"]] → [["+decodeURIComponent(replacewith)+"]])";<br />
replacewith = '[['+replacewith;<br />
replacewith = replacewith.replace(/\[\[(Bild:|Image:|Datei:|File:)/, '');<br />
} else if (FLUrlParameters["fixlinkstype"] == 'deletelinks') {<br />
document.editform.wpSummary.value = "Links von [["+decodeURIComponent(decodeURIComponent(FLUrlParameters["replace"])).replace(/\[\[/,'')+"]] wurden gelöscht. ([[Benutzer:DerHexer/fixlinks.js|fixlinks.js]])";<br />
replacer = '\(\\[\\[\)\?\(Bild:|Image:|Datei:|File:|bild:|image:|datei:|file:\)\?' + replacer + '\.\*\(\\]\\]\)\?';<br />
//alert(replacer);<br />
replacer = new RegExp(replacer, 'i');<br />
//alert(replacer);<br />
} else {<br />
document.editform.wpSummary.value = "Die Datei [[Datei:"+decodeURIComponent(decodeURIComponent(FLUrlParameters["replace"]))+"]] wurde durch die Datei [[Datei:"+decodeURIComponent(replacewith)+"]] ersetzt. ([[Benutzer:DerHexer/fixlinks.js|fixlinks.js]])";<br />
}<br />
document.editform.wpMinoredit.checked=true;<br />
if (FLUrlParameters["fixlinkstype"] != 'deletelinks') { document.editform.wpTextbox1.value = document.editform.wpTextbox1.value.replace(replacer, replacewith); } else { document.editform.wpTextbox1.value = document.editform.wpTextbox1.value.replace(replacer, ''); }<br />
document.editform.wpDiff.click();<br />
//document.editform.wpSave.click();<br />
//window.setTimeout(function() { window.close(); }, 1000);<br />
} else {<br />
alert("Token zur automatischen Speicherung ist abgelaufen.");<br />
}<br />
}<br />
}<br />
if(FLUrlParameters["replace"] && FLUrlParameters["replacewith"]) $(fixlinks);<br />
<br />
if(wgNamespaceNumber==6) <br />
{<br />
$(function() <br />
{ <br />
mediaWiki.util.addPortletLink('p-tb', "javascript:fixlinksimages();", "FixLinks", 't-fixlinks', 'fix Links', '', document.getElementById('t-whatlinkshere'));<br />
});<br />
}<br />
if(wgCanonicalSpecialPageName == "Whatlinkshere")<br />
{<br />
$(function() <br />
{ <br />
mediaWiki.util.addPortletLink('p-tb', "javascript:fixlinkslinklist(1);", "FixLinks", 't-fixlinks', 'fix Links', '', document.getElementById('t-upload'));<br />
});<br />
}<br />
if(wgNamespaceNumber==6 || wgCanonicalSpecialPageName == "Whatlinkshere") <br />
{<br />
$(function() <br />
{ <br />
mediaWiki.util.addPortletLink('p-tb', "javascript:fixlinkslinklist(2);", "RemoveLinks", 't-removelinks', 'entferne Links', '', document.getElementById('t-whatlinkshere'));<br />
});<br />
}</div>
Codc