Index: trunk/extensions/FlaggedRevs/FlaggedRevs.sql |
— | — | @@ -39,9 +39,9 @@ |
40 | 40 | CREATE TABLE /*$wgDBprefix*/flaggedpages ( |
41 | 41 | fp_page_id int(10) NOT NULL, |
42 | 42 | -- The tag type |
43 | | - pr_dimension varchar(255) NOT NULL, |
| 43 | + fp_dimension varchar(255) NOT NULL, |
44 | 44 | -- The protection level (Sysop, autoconfirmed, etc) |
45 | | - pr_level varchar(255) NOT NULL, |
| 45 | + fp_level varchar(255) NOT NULL, |
46 | 46 | |
47 | | - PRIMARY KEY (fp_page_id,pr_dimension) |
| 47 | + PRIMARY KEY (fp_page_id,fp_dimension) |
48 | 48 | ) TYPE=InnoDB; |
\ No newline at end of file |
Index: trunk/extensions/FlaggedRevs/FlaggedRevsPage.body.php |
— | — | @@ -204,7 +204,7 @@ |
205 | 205 | global $wgOut; |
206 | 206 | |
207 | 207 | $approved = false; |
208 | | - # If all values are set to zero, this has been unnapproved |
| 208 | + # If all values are set to zero, this has been unapproved |
209 | 209 | foreach( $this->dims as $quality => $value ) { |
210 | 210 | if( $value ) $approved = true; |
211 | 211 | } |