* (bug 28568) Entries in the iwlinks table are now removed on page deletion
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 16 Apr 2011 07:46:47 +0000 (07:46 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 16 Apr 2011 07:46:47 +0000 (07:46 +0000)
HISTORY
includes/Article.php

diff --git a/HISTORY b/HISTORY
index 79b89e1..80634b3 100644 (file)
--- 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.
index 7dd19dd..f1862ea 100644 (file)
@@ -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 ) );
                }