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:
f82d2e5
)
People keep sticking raw user_text fields into LinkBatch::add(), so let's go ahead...
author
Brion Vibber
<brion@users.mediawiki.org>
Mon, 3 Dec 2007 16:19:47 +0000
(16:19 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Mon, 3 Dec 2007 16:19:47 +0000
(16:19 +0000)
includes/LinkBatch.php
patch
|
blob
|
history
diff --git
a/includes/LinkBatch.php
b/includes/LinkBatch.php
index
20bcd3d
..
db1114c
100644
(file)
--- a/
includes/LinkBatch.php
+++ b/
includes/LinkBatch.php
@@
-34,7
+34,7
@@
class LinkBatch {
$this->data[$ns] = array();
}
- $this->data[$ns][
$dbkey
] = 1;
+ $this->data[$ns][
str_replace( ' ', '_', $dbkey )
] = 1;
}
/**