- Since
- 1.45
Definition at line 23 of file PatrolManager.php.
◆ __construct()
◆ markPatrolled()
| MediaWiki\RecentChanges\PatrolManager::markPatrolled |
( |
RecentChange | $recentChange, |
|
|
Authority | $performer, |
|
|
| $tags = null ) |
Mark this RecentChange as patrolled.
NOTE: Can also return 'rcpatroldisabled', 'hookaborted' and 'markedaspatrollederror-noautopatrol' as errors
- Parameters
-
| RecentChange | $recentChange | |
| Authority | $performer | User performing the action |
| string | string[] | null | $tags | Change tags to add to the patrol log entry ($performer should be able to add the specified tags before this is called) |
- Returns
- PermissionStatus
Definition at line 78 of file PatrolManager.php.
◆ reallyMarkPatrolled()
| MediaWiki\RecentChanges\PatrolManager::reallyMarkPatrolled |
( |
RecentChange | $recentChange | ) |
|
Mark this RecentChange patrolled, without error checking.
- Parameters
-
| RecentChange | $recentChange | |
- Returns
- int Number of database rows changed, usually 1, but 0 if another request already patrolled it in the mean time.
Definition at line 150 of file PatrolManager.php.
◆ CONSTRUCTOR_OPTIONS
| const MediaWiki\RecentChanges\PatrolManager::CONSTRUCTOR_OPTIONS |
Initial value:= [
]
const UseRCPatrol
Name constant for the UseRCPatrol setting, for use with Config::get()
const UseNPPatrol
Name constant for the UseNPPatrol setting, for use with Config::get()
const UseFilePatrol
Name constant for the UseFilePatrol setting, for use with Config::get()
- Access: internal
- For use by ServiceWiring only
Definition at line 32 of file PatrolManager.php.
◆ PRC_AUTOPATROLLED
| const MediaWiki\RecentChanges\PatrolManager::PRC_AUTOPATROLLED = 2 |
◆ PRC_PATROLLED
| const MediaWiki\RecentChanges\PatrolManager::PRC_PATROLLED = 1 |
◆ PRC_UNPATROLLED
| const MediaWiki\RecentChanges\PatrolManager::PRC_UNPATROLLED = 0 |
The documentation for this class was generated from the following file: