From: Alexandre Emsenhuber Date: Sat, 16 Apr 2011 07:46:47 +0000 (+0000) Subject: * (bug 28568) Entries in the iwlinks table are now removed on page deletion X-Git-Tag: 1.31.0-rc.0~30800 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=5f2d7cf31295b161831749b96410b7cfac5654e6;p=lhc%2Fweb%2Fwiklou.git * (bug 28568) Entries in the iwlinks table are now removed on page deletion --- diff --git a/HISTORY b/HISTORY index 79b89e1f4e..80634b3f2b 100644 --- a/HISTORY +++ b/HISTORY @@ -457,6 +457,7 @@ are used instead. * (bug 1379) Installer directory conflicts with some hosts' configuration panel. * (bug 12070) After Installation MySQL was blocked * Fix XML well-formedness on a few pages when $wgHtml5 is true (the default) +* (bug 28568) Entries in the iwlinks table are now removed on page deletion === API changes in 1.17 === * (bug 22738) Allow filtering by action type on query=logevent. diff --git a/includes/Article.php b/includes/Article.php index 7dd19ddd41..f1862ea362 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -3134,6 +3134,7 @@ class Article { $dbw->delete( 'templatelinks', array( 'tl_from' => $id ) ); $dbw->delete( 'externallinks', array( 'el_from' => $id ) ); $dbw->delete( 'langlinks', array( 'll_from' => $id ) ); + $dbw->delete( 'iwlinks', array( 'iwl_from' => $id ) ); $dbw->delete( 'redirect', array( 'rd_from' => $id ) ); }