r21602 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r21601‎ | r21602 | r21603 >
Date:02:18, 26 April 2007
Author:aaron
Status:old
Tags:
Comment:
*prefix
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.sql (modified) (history)
  • /trunk/extensions/FlaggedRevs/FlaggedRevsPage.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.sql
@@ -39,9 +39,9 @@
4040 CREATE TABLE /*$wgDBprefix*/flaggedpages (
4141 fp_page_id int(10) NOT NULL,
4242 -- The tag type
43 - pr_dimension varchar(255) NOT NULL,
 43+ fp_dimension varchar(255) NOT NULL,
4444 -- The protection level (Sysop, autoconfirmed, etc)
45 - pr_level varchar(255) NOT NULL,
 45+ fp_level varchar(255) NOT NULL,
4646
47 - PRIMARY KEY (fp_page_id,pr_dimension)
 47+ PRIMARY KEY (fp_page_id,fp_dimension)
4848 ) TYPE=InnoDB;
\ No newline at end of file
Index: trunk/extensions/FlaggedRevs/FlaggedRevsPage.body.php
@@ -204,7 +204,7 @@
205205 global $wgOut;
206206
207207 $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
209209 foreach( $this->dims as $quality => $value ) {
210210 if( $value ) $approved = true;
211211 }