r96843 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96842‎ | r96843 | r96844 >
Date:14:46, 12 September 2011
Author:nikerabbit
Status:ok (Comments)
Tags:
Comment:
Already removed this support for very old move log entries from plain changes list, now also from enhanced.
Modified paths:
  • /trunk/phase3/includes/ChangesList.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ChangesList.php
@@ -626,12 +626,8 @@
627627 # Make article link
628628 $type = $rc->mAttribs['rc_type'];
629629 $logType = $rc->mAttribs['rc_log_type'];
630 - // Page moves
 630+ // Page moves, very old style, not supported anymore
631631 if( $type == RC_MOVE || $type == RC_MOVE_OVER_REDIRECT ) {
632 - $msg = ( $type == RC_MOVE ) ? "1movedto2" : "1movedto2_redir";
633 - $clink = wfMsg( $msg, Linker::linkKnown( $rc->getTitle(), null,
634 - array(), array( 'redirect' => 'no' ) ),
635 - Linker::linkKnown( $rc->getMovedToTitle() ) );
636632 // New unpatrolled pages
637633 } elseif( $rc->unpatrolled && $type == RC_NEW ) {
638634 $clink = Linker::linkKnown( $rc->getTitle(), null, array(),

Comments

#Comment by Aaron Schulz (talk | contribs)   01:14, 4 November 2011

I guess for people upgrading from MW ancient.0 they can run rebuildRecentChanges if there any annoying broken entries.

Status & tagging log