r98674 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98673‎ | r98674 | r98675 >
Date:16:02, 2 October 2011
Author:ialex
Status:ok
Tags:
Comment:
MFT r98673:
* (bug 30466) Entries in iwlinks table are now cleared when moving a page over redirect
Modified paths:
  • /branches/REL1_18/phase3/includes/Title.php (modified) (history)

Diff [purge]

Index: branches/REL1_18/phase3/includes/Title.php
@@ -3331,6 +3331,7 @@
33323332 $dbw->delete( 'templatelinks', array( 'tl_from' => $newid ), __METHOD__ );
33333333 $dbw->delete( 'externallinks', array( 'el_from' => $newid ), __METHOD__ );
33343334 $dbw->delete( 'langlinks', array( 'll_from' => $newid ), __METHOD__ );
 3335+ $dbw->delete( 'iwlinks', array( 'iwl_from' => $newid ), __METHOD__ );
33353336 $dbw->delete( 'redirect', array( 'rd_from' => $newid ), __METHOD__ );
33363337 }
33373338 // If the target page was recently created, it may have an entry in recentchanges still
@@ -4322,4 +4323,4 @@
43234324 wfRunHooks( 'PageContentLanguage', array( $this, &$pageLang, $wgLang ) );
43244325 return wfGetLangObj( $pageLang );
43254326 }
4326 -}
\ No newline at end of file
 4327+}

Follow-up revisions

RevisionCommit summaryAuthorDate
r98684Merged revisions 98665,98669,98673,98676,98678 via svnmerge from...dantman16:18, 2 October 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r98673* (bug 30466) Entries in iwlinks table are now cleared when moving a page ove...ialex16:01, 2 October 2011

Status & tagging log