Index: trunk/phase3/maintenance/tables.sql |
— | — | @@ -1016,6 +1016,7 @@ |
1017 | 1017 | -- default view. |
1018 | 1018 | rc_bot tinyint unsigned NOT NULL default 0, |
1019 | 1019 | |
| 1020 | + -- Set if this change corresponds to a page creation |
1020 | 1021 | rc_new tinyint unsigned NOT NULL default 0, |
1021 | 1022 | |
1022 | 1023 | -- Key to page_id (was cur_id prior to 1.5). |
— | — | @@ -1029,8 +1030,10 @@ |
1030 | 1031 | -- rev_id of the prior revision, for generating diff links. |
1031 | 1032 | rc_last_oldid int unsigned NOT NULL default 0, |
1032 | 1033 | |
| 1034 | + -- The type of change entry (RC_EDIT,RC_NEW,RC_LOG) |
| 1035 | + rc_type tinyint unsigned NOT NULL default 0, |
| 1036 | + |
1033 | 1037 | -- These may no longer be used, with the new move log. |
1034 | | - rc_type tinyint unsigned NOT NULL default 0, |
1035 | 1038 | rc_moved_to_ns tinyint unsigned NOT NULL default 0, |
1036 | 1039 | rc_moved_to_title varchar(255) binary NOT NULL default '', |
1037 | 1040 | |
Index: trunk/phase3/includes/Defines.php |
— | — | @@ -149,13 +149,12 @@ |
150 | 150 | |
151 | 151 | /**@{ |
152 | 152 | * RecentChange type identifiers |
153 | | - * This may be obsolete; log items are now used for moves? |
154 | 153 | */ |
155 | 154 | define( 'RC_EDIT', 0); |
156 | 155 | define( 'RC_NEW', 1); |
157 | | -define( 'RC_MOVE', 2); |
| 156 | +define( 'RC_MOVE', 2); // obsolete |
158 | 157 | define( 'RC_LOG', 3); |
159 | | -define( 'RC_MOVE_OVER_REDIRECT', 4); |
| 158 | +define( 'RC_MOVE_OVER_REDIRECT', 4); // obsolete |
160 | 159 | /**@}*/ |
161 | 160 | |
162 | 161 | /**@{ |