|
|
| reRef := '(?i)<ref\b(?![^>]*pozn)'; | | reRef := '(?i)<ref\b(?![^>]*pozn)'; |
| reRefSection := '(?i)=+\s*Referencie\s*=+\s+(?:(?!==).)*?(<references\b|\{\{\s*Referencie\b)'; | | reRefSection := '(?i)=+\s*Referencie\s*=+\s+(?:(?!==).)*?(<references\b|\{\{\s*(referencie|reflist)\b)'; |
|
| |
|
| (article_namespace == 0) & | | (article_namespace == 0) & |
| (action == "edit") & | | (action == "edit") & |
| ( (rcount(reRef, added_lines) > rcount(reRef, removed_lines)) & | | ( (rcount(reRef, added_lines) > rcount(reRef, removed_lines)) & |
| !(new_wikitext rlike reRefSection) | | !(new_wikitext rlike reRefSection) |
| | | | | |
| (old_wikitext rlike reRefSection) & | | (old_wikitext rlike reRefSection) & |
| !(new_wikitext rlike reRefSection) & | | !(new_wikitext rlike reRefSection) & |
| (rcount(reRef, new_wikitext) > 0) | | (rcount(reRef, new_wikitext) > 0) |
| ) | | ) |