dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Message: Don't include Title objects in the serialization (part 2)"
[lhc/web/wiklou.git]
/
includes
/
GlobalFunctions.php
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
78d619d
..
a5f4def
100644
(file)
--- a/
includes/GlobalFunctions.php
+++ b/
includes/GlobalFunctions.php
@@
-266,7
+266,7
@@
function wfObjectToArray( $objOrArray, $recursive = true ) {
}
/**
}
/**
- * Get a random decimal value
between 0 and 1
, in a way
+ * Get a random decimal value
in the domain of [0, 1)
, in a way
* not likely to give duplicate values for any realistic
* number of articles.
*
* not likely to give duplicate values for any realistic
* number of articles.
*
@@
-471,7
+471,7
@@
function wfAppendQuery( $url, $query ) {
}
// Add parameter
}
// Add parameter
- if (
false === strpos( $url, '?' )
) {
+ if (
strpos( $url, '?' ) === false
) {
$url .= '?';
} else {
$url .= '&';
$url .= '?';
} else {
$url .= '&';