Verskil tussen weergawes van "Gebruiker:K175/Ruim skakels op"

geen wysigingsopsomming nie
<source lang="js">
(function() {
var pageTextoriginalText = document.getElementById('wpTextbox1').value;
var newText = originalText;
var links = pageText.match(/\[\[([^\]\|]+)\|([^\]\|]+)\]\]/gm);
var $textbox = $( '#wpTextbox1' );
var links = pageTextoriginalText.match(/\[\[([^\]\|]+)\|([^\]\|]+)\]\]/gm);
links.forEach(linkif =>(links) {
var partslinks.forEach(link => link.split('|');{
var part1parts = parts[0]link.substringsplit(2'|');
var part2part1 = parts[10].substring(0, parts[1].length-2);
ifvar (suffixpart2 = parts[1].substring(0, parts[1) != '].length-'2) {;
if (part1.toLowerCase() == part2.toLowerCase().substring(0, part1.length)) {
varif suffix(part1.toLowerCase() == part2.toLowerCase().substring(0, part1.length);) {
if (part1.toLowerCase() = var suffix = part2.toLowerCase().substring(0, part1.length)) {;
if (suffix.substring(0, 1) != '-') {
varif old(suffix.substring(0, 1) != '[[-') + part1 + '|' + part2 + ']]';{
var _newold = '[[' + part2.substring(0, part1.length) + ']]|' + suffixpart2 + ']]';
pageText var _new = pageText'[[' + part2.replacesubstring(old0, _newpart1.length) + ']]' + suffix;
} newText = newText.replace(old, _new);
};
});
});
 
$textbox.textSelection( 'setContents', pageText );
if (newText != originalText) {
document.getElementById('wpSummary').value = '[[Gebruiker:K175/Ruim skakels op|Ruim skakels op]]';
$textbox.textSelection( 'setContents', pageTextnewText );
document.evaluate('//*[@id="wpDiff"]', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.click();
document.getElementById('wpSummary').value = '[[Gebruiker:K175/Ruim skakels op|Ruim skakels op]]';
document.evaluate('//*[@id="wpDiff"]', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.click();
}
}
})();
</source>