From: Aaron Schulz Date: Sat, 29 Oct 2011 09:53:55 +0000 (+0000) Subject: Updated rc_type documentation X-Git-Tag: 1.31.0-rc.0~26830 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=c62a8fad5e57a9f7f8c6f78193e7d91c9ed45430;p=lhc%2Fweb%2Fwiklou.git Updated rc_type documentation --- diff --git a/includes/Defines.php b/includes/Defines.php index 7da6a4bbd7..fc39af5698 100644 --- a/includes/Defines.php +++ b/includes/Defines.php @@ -149,13 +149,12 @@ define( 'MW_DATE_ISO', 'ISO 8601' ); /**@{ * RecentChange type identifiers - * This may be obsolete; log items are now used for moves? */ define( 'RC_EDIT', 0); define( 'RC_NEW', 1); -define( 'RC_MOVE', 2); +define( 'RC_MOVE', 2); // obsolete define( 'RC_LOG', 3); -define( 'RC_MOVE_OVER_REDIRECT', 4); +define( 'RC_MOVE_OVER_REDIRECT', 4); // obsolete /**@}*/ /**@{ diff --git a/maintenance/tables.sql b/maintenance/tables.sql index f42b9a6ae8..5149d31b12 100644 --- a/maintenance/tables.sql +++ b/maintenance/tables.sql @@ -1016,6 +1016,7 @@ CREATE TABLE /*_*/recentchanges ( -- default view. rc_bot tinyint unsigned NOT NULL default 0, + -- Set if this change corresponds to a page creation rc_new tinyint unsigned NOT NULL default 0, -- Key to page_id (was cur_id prior to 1.5). @@ -1029,8 +1030,10 @@ CREATE TABLE /*_*/recentchanges ( -- rev_id of the prior revision, for generating diff links. rc_last_oldid int unsigned NOT NULL default 0, - -- These may no longer be used, with the new move log. + -- The type of change entry (RC_EDIT,RC_NEW,RC_LOG) rc_type tinyint unsigned NOT NULL default 0, + + -- These may no longer be used, with the new move log. rc_moved_to_ns tinyint unsigned NOT NULL default 0, rc_moved_to_title varchar(255) binary NOT NULL default '',