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:
d9b6e90
)
fix up new text address handling in page content dumps
author
Ariel T. Glenn
<ariel@wikimedia.org>
Mon, 25 Mar 2019 16:50:27 +0000
(18:50 +0200)
committer
Ariel T. Glenn
<ariel@wikimedia.org>
Mon, 25 Mar 2019 16:52:22 +0000
(18:52 +0200)
Broken in I979b6c8f0a72bc1f5ecce1d499d3fdfa0f671588
Bug: T174031
Change-Id: Ia31fc7b559f59d53bb503a59abf9110f0e65178c
maintenance/dumpTextPass.php
patch
|
blob
|
history
diff --git
a/maintenance/dumpTextPass.php
b/maintenance/dumpTextPass.php
index
f515df7
..
61c63e9
100644
(file)
--- a/
maintenance/dumpTextPass.php
+++ b/
maintenance/dumpTextPass.php
@@
-839,6
+839,7
@@
TEXT
if ( $newAddress === false ) {
return false;
}
+ $newAddress = trim( $newAddress );
if ( strpos( $newAddress, ':' ) === false ) {
$newAddress = SqlBlobStore::makeAddressFromTextId( intval( $newAddress ) );
}