|
|
| /* Block users with less than 50 edits from posting URLs in their own user talk namespace, | | /* Block users with less than 50 edits from posting URLs in their own user talk namespace, |
| except for trusted users in specific groups */ | | except for trusted users in specific groups */ |
|
| |
|
| /* First check if the user is NOT in any trusted groups */ | | /* First check if the user is NOT in any trusted groups */ |
| !( | | !( |
| 'bot' in user_groups | | | 'bot' in user_groups | |
| 'sysop' in user_groups | | | 'sysop' in user_groups | |
| 'autoconfirmed' in user_groups | | 'autoconfirmed' in user_groups| |
| | 'confirmed' in user_groups |
| ) | | ) |
| /* AND check all the following conditions: */ | | /* AND check all the following conditions: */ |
| & ( | | & ( |
| /* Check if we're in user namespace (namespace 3) */ | | /* Check if we're in user namespace (namespace 3) */ |
| page_namespace == 3 & | | page_namespace == 3 & |
| | | |
| /* Check if any URLs/links are being added */ | | /* Check if any URLs/links are being added */ |
| added_links > 0 & | | added_links > 0 & |
| | | |
| /* Check if user has made less than 50 edits */ | | /* Check if user has made less than 50 edits */ |
| user_editcount < 50 | | user_editcount < 50 |
| ) | | ) |