On Nov 25, 2003, at 14:27, Erik Moeller wrote:
1) Edit talk page with separate browser, not logged
in
2) Check in first browser
-> no notification
In the user_newtalk table, user_id is not set. This could be
- because the deferred update is not run in some circumstances
Unable to reproduce on my test box with a copy of your talk page.
Patching some debug code into the live server...
SQL: DELETE FROM brokenlinks WHERE bl_from=146148 AND bl_to
IN('Test:Image:EloquenceSunflowerBlue-
Large3_copy.png','Current_Wiki_controversies','International_logo_contes
t','Terrorism_against_Arabs','UserContributions:Evercat','BackLinks:
Foo','Dating_Do's_and_Dont's')
Missed some escaping there. This looks to be the culprit in
LinksUpdate.php:
$sql = "DELETE FROM brokenlinks WHERE bl_from={$this->mId} AND bl_to
IN('" . implode( "','", $del ) . "')";
Naturally this wouldn't be issued on my test box, which is missing the
brokenlinks entries in question and thus doesn't need to delete them.
Okay, I've added in an array_map() to run wfStrencode prior to the
implode, and it should be working fine now... database says you've got
messages!
-- brion vibber (brion @
pobox.com)