Index: trunk/extensions/FlaggedRevs/FlaggedRevs.sql |
— | — | @@ -112,7 +112,7 @@ |
113 | 113 | fpc_select integer NOT NULL, |
114 | 114 | -- Override the page? |
115 | 115 | fpc_override bool NOT NULL, |
116 | | - -- The protection level (Sysop, etc) for autoreview |
| 116 | + -- The protection level (Sysop, etc) for autoreview/review |
117 | 117 | fpc_level varbinary(60) NULL, |
118 | 118 | -- Field for time-limited settings |
119 | 119 | fpc_expiry varbinary(14) NOT NULL default 'infinity' |
Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -806,8 +806,8 @@ |
807 | 807 | $result = false; |
808 | 808 | return false; |
809 | 809 | } |
810 | | - # Enforce autoreview restrictions |
811 | | - } else if( $action === 'autoreview' ) { |
| 810 | + # Enforce autoreview/review restrictions |
| 811 | + } else if( $action === 'autoreview' || $action === 'review' ) { |
812 | 812 | # Get autoreview restriction settings... |
813 | 813 | $config = FlaggedRevs::getPageVisibilitySettings( $title, true ); |
814 | 814 | # Convert Sysop -> protect |