Қиянаттауды сүзгілеу сүзгіш басқармасы

Навигацияға өту Іздеуге өту

Түзетулер арасындағы айырмашылық

ДанаVersion from 13:25, 2014 ж. ақпанның 27 by ArystanbekVersion from 22:06, 2014 ж. мамырдың 28 by Arystanbek
Сүзгіш шарттары
Шарттары:
/* simple conditions that aren't met by many actions first */
/* simple conditions that aren't met by many actions first */
user_age  === 0
user_age  === 0
& 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 timed text (NS 102) and treat project pages (NS 4) differently */
   /* exclude categories (NS 14) and timed text (NS 102) and treat project pages (NS 4) differently */
& (  (  (article_namespace % 2) === 0  
& (  (  (article_namespace % 2) === 0  
         & article_namespace !== 4  
         & article_namespace !== 4  
         & article_namespace !== 10
         & article_namespace !== 10
         & article_namespace !== 14  
         & article_namespace !== 14  
         & article_namespace !== 100
         & article_namespace !== 100
         & article_namespace !== 102  
         & article_namespace !== 102  
     )
     )
   /* allow creating deletion requests */
   /* Инкубатор жобасына жазуға рұқсат ету */
   | (  article_namespace === 4 & (  
   | (  article_namespace === 102 & (  
             strpos( article_text, 'Deletion requests/' ) !== 0 & strpos( article_text, 'Categories for discussion/' ) !== 0
             strpos( article_text, 'Инкубатор/' ) !== 0 & strpos( article_text, 'Categories for discussion/' ) !== 0
   ) )
   ) )
   )
   )