From: Chad Horohoe Date: Fri, 2 Jan 2009 16:54:58 +0000 (+0000) Subject: Tweak to r45324, use wfAppendQuery() instead. X-Git-Tag: 1.31.0-rc.0~43617 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=2f0ba8642d421ddd35ed4a6b801d5e62b93b2be3;p=lhc%2Fweb%2Fwiklou.git Tweak to r45324, use wfAppendQuery() instead. --- diff --git a/includes/Title.php b/includes/Title.php index 035314a60d..6dd164b68e 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -761,8 +761,7 @@ class Title { if( isset( $matches[4] ) ) $query .= $matches[4]; $url = str_replace( '$1', $dbkey, $wgActionPaths[$action] ); if( $query != '' ) { - $url .= ( strpos( $wgActionPaths[$action], '?' ) - === false ? '?' : '&' ) . $query; + $url .= wfAppendQuery( $url, $query ); } } }