Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki-CVS

SVN: [58730] trunk/phase3/maintenance/rebuildall.php

 

 

Wikipedia mediawiki-cvs RSS feed   Index | Next | Previous | View Threaded


maxsem at svn

Nov 7, 2009, 12:55 PM

Post #1 of 1 (74 views)
Permalink
SVN: [58730] trunk/phase3/maintenance/rebuildall.php

http://www.mediawiki.org/wiki/Special:Code/MediaWiki/58730

Revision: 58730
Author: maxsem
Date: 2009-11-07 20:55:57 +0000 (Sat, 07 Nov 2009)

Log Message:
-----------
Now that rebuildtextindex.php is not MySQL-only, rebuildall.php should also take it into account

Modified Paths:
--------------
trunk/phase3/maintenance/rebuildall.php

Modified: trunk/phase3/maintenance/rebuildall.php
===================================================================
--- trunk/phase3/maintenance/rebuildall.php 2009-11-07 20:10:02 UTC (rev 58729)
+++ trunk/phase3/maintenance/rebuildall.php 2009-11-07 20:55:57 UTC (rev 58730)
@@ -32,7 +32,7 @@
public function execute() {
global $wgDBtype;
// Rebuild the text index
- if ( $wgDBtype == 'mysql' ) {
+ if ( $wgDBtype != 'postgres' ) {
$this->output( "** Rebuilding fulltext search index (if you abort this will break searching; run this script again to fix):\n" );
$rebuildText = $this->runChild( 'RebuildTextIndex', 'rebuildtextindex.php' );
$rebuildText->execute();



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Wikipedia mediawiki-cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.