„Szerkesztő:AntiVandal/recent2.js” változatai közötti eltérés

a
rv
a
a (rv)
ret.push(s.replace(RegExp('([-|.()\\+:!,?*^${}\\[\\]])', 'g'), '\\$1'));
}
// // ((( repeatedchar ) ) | ( ... | ... | ... ))( bdy )
// 123 3 2| 4 415 5
window.badWords=RegExp("<td>[+]</td>\\s*<td .*?>\\s*.*?((([^-{}.\\s'=wI:*#0-9A-F])\\32{2,})|[^/]\\b(" + ret.join('|') + "))(\\b[^/]|[|]).*\\s*</td>", 'im');
// ((( repeatedchar ) )| ( ... | ... | ... ))( bdy )
window.badWords=RegExp("<td>[+]</td>\\s*<td .*?>\\s*.*?((([^-{}.\\s'=wI:*#0-9A-F])\\3{2,})|[^/]\\b(" + ret.join('|') + "))(\\b[^/]|[|]).*\\s*</td>", 'im');
}
}
 
articleTitle=getFirstTagContent(items[i], 'title');
var id=processRecentChanges.id;
var badWord=badMatch[2] || badMatch[4];
// highlighting
badMatch[0]=badMatch[0].split(badWordbadMatch[1]).join('<span style="background-color: #FF6">'+badWordbadMatch[1]+'</span>');
output.push(recent2.doLine({timestamp: timestamp, article:article, articleTitle:articleTitle,
editor:editor, id:id, badWord:badWordbadMatch[1], badDiffFragment:badMatch[0], diff:diffText,
summary:editSummary}));
processRecentChanges.id++;
86

szerkesztés