|
|
| (article_namespace == 0 | article_namespace == 2) | | ( |
| & set_var('reflist', '\{\{ *reflist *[|}]') | | (action == 'edit' & article_namespace == 0) | |
| & lcase(added_lines) rlike reflist
| | (action == 'move' & moved_to_namespace == 0 & moved_from_namespace > 0) |
| &! lcase(removed_lines) rlike reflist
| | ) |
| | & ( |
| | reflist := '\{\{ *(šablona:|template:)? *reflist *[|}]'; |
| | added := (action == 'edit') ? lcase(added_lines) : lcase(new_wikitext); |
| | removed := (action == 'edit') ? lcase(removed_lines) : ''; |
| | |
| | added rlike reflist &! removed rlike reflist |
| | ) |