Per T184485#3890167, we should start storing patrolled status as 0 (unpatrolled), 1 (manually patrolled), or 2 (autopatrolled), rather than just 0 (unpatrolled) or 1 (patrolled).
We will also need to update ChangesListSpecialPage::reviewStatusFilterGroupDefinition, various APIs (watchlist, usercontribs, recentchanges), and other ancillary code.
No database schema changes should be necessary. The MSSQL schema will need to be updated.
- Do not assume rc_patrolled is binary in ChangesListSpecialPage (https://gerrit.wikimedia.org/r/421277)
- Do not assume rc_patrolled is binary (https://gerrit.wikimedia.org/r/421294)
- Make autopatrol third option in rc_patrolled and use it in API (https://gerrit.wikimedia.org/r/421291)
- Mark autopatrolled RC entries use the right number (https://gerrit.wikimedia.org/r/421293)