Index: trunk/phase3/RELEASE-NOTES-1.18 |
— | — | @@ -463,6 +463,8 @@ |
464 | 464 | * (bug 31213) Exception thrown when trying to move file cross-namespace |
465 | 465 | * (bug 18424) Special:Prefixindex and Special:Allpages paging links are |
466 | 466 | really small, and somewhat inconsistent with each other. |
| 467 | +* (bug 30466) Entries in iwlinks table are now cleared when moving a page over |
| 468 | + redirect |
467 | 469 | |
468 | 470 | === API changes in 1.18 === |
469 | 471 | * BREAKING CHANGE: action=watch now requires POST and token. |
Index: trunk/phase3/includes/Title.php |
— | — | @@ -3360,6 +3360,7 @@ |
3361 | 3361 | $dbw->delete( 'templatelinks', array( 'tl_from' => $newid ), __METHOD__ ); |
3362 | 3362 | $dbw->delete( 'externallinks', array( 'el_from' => $newid ), __METHOD__ ); |
3363 | 3363 | $dbw->delete( 'langlinks', array( 'll_from' => $newid ), __METHOD__ ); |
| 3364 | + $dbw->delete( 'iwlinks', array( 'iwl_from' => $newid ), __METHOD__ ); |
3364 | 3365 | $dbw->delete( 'redirect', array( 'rd_from' => $newid ), __METHOD__ ); |
3365 | 3366 | $dbw->delete( 'page_props', array( 'pp_page' => $newid ), __METHOD__ ); |
3366 | 3367 | } |
— | — | @@ -4370,4 +4371,4 @@ |
4371 | 4372 | wfRunHooks( 'PageContentLanguage', array( $this, &$pageLang, $wgLang ) ); |
4372 | 4373 | return wfGetLangObj( $pageLang ); |
4373 | 4374 | } |
4374 | | -} |
\ No newline at end of file |
| 4375 | +} |