r98673 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98672‎ | r98673 | r98674 >
Date:16:01, 2 October 2011
Author:ialex
Status:ok (Comments)
Tags:
Comment:
* (bug 30466) Entries in iwlinks table are now cleared when moving a page over redirect
Modified paths:
  • /trunk/phase3/RELEASE-NOTES-1.18 (modified) (history)
  • /trunk/phase3/includes/Title.php (modified) (history)

Diff [purge]

Index: trunk/phase3/RELEASE-NOTES-1.18
@@ -463,6 +463,8 @@
464464 * (bug 31213) Exception thrown when trying to move file cross-namespace
465465 * (bug 18424) Special:Prefixindex and Special:Allpages paging links are
466466 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
467469
468470 === API changes in 1.18 ===
469471 * BREAKING CHANGE: action=watch now requires POST and token.
Index: trunk/phase3/includes/Title.php
@@ -3360,6 +3360,7 @@
33613361 $dbw->delete( 'templatelinks', array( 'tl_from' => $newid ), __METHOD__ );
33623362 $dbw->delete( 'externallinks', array( 'el_from' => $newid ), __METHOD__ );
33633363 $dbw->delete( 'langlinks', array( 'll_from' => $newid ), __METHOD__ );
 3364+ $dbw->delete( 'iwlinks', array( 'iwl_from' => $newid ), __METHOD__ );
33643365 $dbw->delete( 'redirect', array( 'rd_from' => $newid ), __METHOD__ );
33653366 $dbw->delete( 'page_props', array( 'pp_page' => $newid ), __METHOD__ );
33663367 }
@@ -4370,4 +4371,4 @@
43714372 wfRunHooks( 'PageContentLanguage', array( $this, &$pageLang, $wgLang ) );
43724373 return wfGetLangObj( $pageLang );
43734374 }
4374 -}
\ No newline at end of file
 4375+}

Follow-up revisions

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

Comments

#Comment by Raymond (talk | contribs)   06:50, 21 October 2011

This revision was merged into 1.18 but not into 1.18wmf1. I think it is worth to do this too.

Status & tagging log