Make autopatrol third option in rc_patrolled and use it in API
[lhc/web/wiklou.git] / includes / changes / RecentChange.php
index 3dacf6a..b051120 100644 (file)
@@ -74,6 +74,10 @@ class RecentChange {
        const SRC_EXTERNAL = 'mw.external'; // obsolete
        const SRC_CATEGORIZE = 'mw.categorize';
 
+       const PRC_UNPATROLLED = 0;
+       const PRC_PATROLLED = 1;
+       const PRC_AUTOPATROLLED = 2;
+
        public $mAttribs = [];
        public $mExtra = [];