called unconditionally.
* TablePager::getBody() is now 'final' and can't be overridden in subclasses.
* TablePager::getBody() is deprecated, use getBodyOutput() or getFullOutput().
+* log_page for move log entries store the original page ID, rather than that
+ of the new redirect page. This is not retroactive.
==== Renamed classes ====
* CLDRPluralRuleConverter_Expression to CLDRPluralRuleConverterExpression
$redirectContent = null;
}
+ // bug 57084: log_page should be the ID of the *moved* page
+ $oldid = $this->getArticleID();
+ $logTitle = clone $this;
+
$logEntry = new ManualLogEntry( 'move', $logType );
$logEntry->setPerformer( $wgUser );
- $logEntry->setTarget( $this );
+ $logEntry->setTarget( $logTitle );
$logEntry->setComment( $reason );
$logEntry->setParameters( array(
'4::target' => $nt->getPrefixedText(),
# Truncate for whole multibyte characters.
$comment = $wgContLang->truncate( $comment, 255 );
- $oldid = $this->getArticleID();
-
$dbw = wfGetDB( DB_MASTER );
$newpage = WikiPage::factory( $nt );