|
|
| ( | | ( |
| 'wbsetdescription-add' in summary | | 'wbsetdescription-add' in summary |
| & count(lcase(added_lines), lcase(old_wikitext)) > 0 | | & count(lcase(added_lines), lcase(old_wikitext)) > 0 |
| & added_lines rlike '.{4}' /* length(added_lines) doesn't work? */ | | & string(added_lines) rlike '.{4}' /* length(added_lines) doesn't work? */ |
| &! summary rlike '\bwbsetdescription-add:1\|\w{2,3}-\w' | | &! summary rlike '\bwbsetdescription-add:1\|\w{2,3}-\w' |
| ) | ( | | ) /*| ( |
| 'wbeditentity-create' in summary | | 'wbeditentity-create' in summary |
| & rcount('\n', added_lines) > 1 | | & rcount('\n', added_lines) > 1 |
| & ( | | & ( |
| len := strpos(added_lines, '\n'); | | len := strpos(added_lines, '\n'); |
| str := substr(added_lines, 0, len); | | str := substr(added_lines, 0, len); |
| | | |
| lcase(substr(added_lines, len + 1, len)) == lcase(str) | | lcase(substr(added_lines, len + 1, len)) == lcase(str) |
| & length(added_lines) > 2 * len + 2 | | & length(added_lines) > 2 * len + 2 |
| ) | | ) |
| ) | | ) |
| | */ |