r90679 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90678‎ | r90679 | r90680 >
Date:21:26, 23 June 2011
Author:demon
Status:ok
Tags:
Comment:
update.php on the cluster is a no-no
Modified paths:
  • /branches/wmf/1.17wmf1/maintenance/update.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/maintenance/update.php
@@ -16,6 +16,12 @@
1717 die( 1 );
1818 }
1919
 20+/**
 21+ * update.php is verboten on WMF cluster. It's *not* how you do schema updates
 22+ */
 23+die( "Do not run update.php on the cluster. If you're seeing this you should
 24+probably ask for some help in performing your schema changes.\n" );
 25+
2026 $wgUseMasterForMaintenance = true;
2127 require_once( dirname( __FILE__ ) . '/Maintenance.php' );
2228

Status & tagging log