dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fba6a47
)
Tweak to r45324, use wfAppendQuery() instead.
author
Chad Horohoe
<demon@users.mediawiki.org>
Fri, 2 Jan 2009 16:54:58 +0000
(16:54 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Fri, 2 Jan 2009 16:54:58 +0000
(16:54 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
035314a
..
6dd164b
100644
(file)
--- 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 );
}
}
}