r55320 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55319‎ | r55320 | r55321 >
Date:11:44, 19 August 2009
Author:rainman
Status:deferred
Tags:
Comment:
bug 20309 Lucene Search configure doesn't work when maintenance is symlinked
Modified paths:
  • /branches/lucene-search-2.1/src/org/wikimedia/lsearch/util/Configure.java (modified) (history)

Diff [purge]

Index: branches/lucene-search-2.1/src/org/wikimedia/lsearch/util/Configure.java
@@ -42,7 +42,7 @@
4343
4444 if( ! new File(mediawiki+"/LocalSettings.php").exists() ){
4545 System.out.println("ERROR: "+mediawiki+" does not appear to contain a MediaWiki installation. ");
46 - System.out.println("Please give full path to root directory (where LocaliseSettings.php is) of your MediWiki installation. ");
 46+ System.out.println("Please give full path to root directory (where LocalSettings.php is) of your MediWiki installation. ");
4747 return;
4848 }
4949
@@ -84,7 +84,7 @@
8585 return Command.exec(new String[] {
8686 "/bin/bash",
8787 "-c",
88 - "cd "+mediawiki+" && (echo \"return \\$"+var+"\" | php maintenance/eval.php | sed -e 's/^> // ; /^$/d')"}).trim();
 88+ "cd "+mediawiki+" && (echo \"return \\$"+var+"\" | php maintenance/eval.php --conf "+mediawiki+"/LocalSettings.php | sed -e 's/^> // ; /^$/d')"}).trim();
8989 }
9090
9191 /** create config file from template, replacing variables

Status & tagging log