r4798 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r4797‎ | r4798 | r4799 >
Date:07:24, 15 August 2004
Author:timstarling
Status:old
Tags:
Comment:
Added rc_id and rc_patrolled updaters
Modified paths:
  • /trunk/phase3/maintenance/updaters.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/updaters.inc
@@ -139,6 +139,16 @@
140140 dbsource( "maintenance/archives/patch-rc_ip.sql", $wgDatabase );
141141 echo "ok\n";
142142 }
 143+ if ( !$wgDatabase->fieldExists( "recentchanges", "rc_id" ) ) {
 144+ echo "Adding rc_id...";
 145+ dbsource( "maintenance/archives/patch-rc_id.sql", $wgDatabase );
 146+ echo "ok\n";
 147+ }
 148+ if ( !$wgDatabase->fieldExists( "recentchanges", "rc_patrolled" ) ) {
 149+ echo "Adding rc_patrolled...";
 150+ dbsource( "maintenance/archives/patch-rc-patrol.sql", $wgDatabase );
 151+ echo "ok\n";
 152+ }
143153 }
144154
145155 function do_user_real_name_update() {

Status & tagging log