diff options
author | Asher Feldman <asher@users.mediawiki.org> | 2012-02-09 01:47:22 +0000 |
---|---|---|
committer | Asher Feldman <asher@users.mediawiki.org> | 2012-02-09 01:47:22 +0000 |
commit | 67c8bb7338ef550616fbec8eb9f5c5fdd751cf14 (patch) | |
tree | db2cb3f6786d39afe2f13b8b209ae41b33b9ca27 | |
parent | 085644b2a0b2d1b998dd27cb0e6b7e277da34188 (diff) | |
download | mediawikicore-67c8bb7338ef550616fbec8eb9f5c5fdd751cf14.tar.gz mediawikicore-67c8bb7338ef550616fbec8eb9f5c5fdd751cf14.zip |
path fix and cleanup
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/111018
-rw-r--r-- | maintenance/upgrade-1.19wmf1-1.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/maintenance/upgrade-1.19wmf1-1.php b/maintenance/upgrade-1.19wmf1-1.php index d9c3f2aeef9f..d54ce82abc7c 100644 --- a/maintenance/upgrade-1.19wmf1-1.php +++ b/maintenance/upgrade-1.19wmf1-1.php @@ -21,7 +21,7 @@ class SchemaMigration extends Maintenance { $sectionLoads = $wgLBFactoryConf['sectionLoads']; $sectionsByDB = $wgLBFactoryConf['sectionsByDB']; - $rootPass = trim( wfShellExec( '/home/wikipedia/bin/mysql_root_pass' ) ); + $rootPass = trim( wfShellExec( '/usr/local/bin/mysql_root_pass' ) ); // Compile wiki lists $wikisBySection = array(); @@ -84,8 +84,6 @@ class SchemaMigration extends Maintenance { echo "$server $wiki 1.19wmf1-1"; - //$this->sourceUpgradeFile( $db, dirname( __FILE__ ) .'/schema-changes-1.19wmf1-1.sql' ); - if ( ! $db->indexExists( 'page', 'page_redirect_namespace_len' ) ) { echo " page_redirect_namespace_len index"; $this->sourceUpgradeFile( $db, dirname( __FILE__ ) . '/archives/patch-page_redirect_namespace_len.sql' ); |