[Pkg-mediawiki-devel] Bugfix patch?

Thorsten Glaser t.glaser at tarent.de
Wed Jul 6 10:24:27 UTC 2011


Hi,

could you please all have a look at this:
https://evolvis.org/tracker/t_follow.php/1031

Roland Mas thinks this is a bug in MediaWiki. We’ve run
with the following change for a while now:

Index: mediawiki-1.15.5/includes/SearchPostgres.php
===================================================================
--- mediawiki-1.15.5.orig/includes/SearchPostgres.php	2011-07-06 12:04:10.000000000 +0200
+++ mediawiki-1.15.5/includes/SearchPostgres.php	2011-07-06 12:11:04.000000000 +0200
@@ -143,6 +143,12 @@
 		}
 		$prefix = $wgDBversion < 8.3 ? "'default'," : '';
 
+		/*-
+		 * tarent workaround / bugfix for
+		 * https://evolvis.org/tracker/t_follow.php/1031
+		 */
+		$prefix = "'default',";
+
 		# Get the SQL fragment for the given term
 		$searchstring = $this->parseQuery( $term );
 

(This patch is, of course, not intended for a commit;
I’d rather change the line 144 instead.)

Do you think I should commit that to pkg-mw svn?

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 52675-93 • Fax: +49 228 52675-25
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Boris Esser, Elmar Geese



More information about the Pkg-mediawiki-devel mailing list