|
|
| /* simple conditions that aren't met by many actions first */ | | /* simple conditions that aren't met by many actions first */ |
| user_editcount < 100 | | user_editcount < 100 |
| & old_size === 0 | | & old_size === 0 |
| & action === 'edit' | | & action === 'edit' |
|
| |
|
| /* only article-namespaces (talk pages should be excluded);*/ | | /* only article-namespaces (talk pages should be excluded);*/ |
| /* exclude categories (NS 14) and project (NS 102) and Wikipedia pages (NS 4) differently */ | | /* exclude categories (NS 14) and project (NS 102) and Wikipedia pages (NS 4) differently */ |
| & ( ( (page_namespace % 2) === 0 | | & ( ( (page_namespace % 2) === 0 |
| | & page_namespace !== 2 |
| & page_namespace !== 4 | | & page_namespace !== 4 |
| & page_namespace !== 10 | | & page_namespace !== 10 |
| & page_namespace !== 14 | | & page_namespace !== 14 |
| & page_namespace !== 100 | | & page_namespace !== 100 |
| & page_namespace !== 102 | | & page_namespace !== 102 |
| ) | | ) |
| /* Инкубатор жобасына жазуға рұқсат ету */ | | /* Инкубатор жобасына жазуға рұқсат ету */ |
| | ( page_namespace === 102 & ( | | | ( page_namespace === 102 & ( |
| strpos( page_title, 'Инкубатор/' ) !== 0 | | strpos( page_title, 'Инкубатор/' ) !== 0 |
| ) ) | | ) ) |
| ) | | ) |