* Added an attractive space on the namespace selector on contribs
* Move PHP 5-friendly XHTML doctype hack to Sanitizer, use for sig checks.
Fixes use of named entities in sigs on PHP 5
+* (bug 4482) Include move comment on the null edit as well as the redirect
=== Caveats ===
$dbw->delete( 'page', array( 'page_id' => $newid ), $fname );
# Save a null revision in the page's history notifying of the move
- $nullRevision = Revision::newNullRevision( $dbw, $oldid,
- wfMsgForContent( '1movedto2', $this->getPrefixedText(), $nt->getPrefixedText() ),
- true );
+ $nullRevision = Revision::newNullRevision( $dbw, $oldid, $comment, true );
$nullRevId = $nullRevision->insertOn( $dbw );
# Change the name of the target page:
$linkCache =& LinkCache::singleton();
# Save a null revision in the page's history notifying of the move
- $nullRevision = Revision::newNullRevision( $dbw, $oldid,
- wfMsgForContent( '1movedto2', $this->getPrefixedText(), $nt->getPrefixedText() ),
- true );
+ $nullRevision = Revision::newNullRevision( $dbw, $oldid, $comment, true );
$nullRevId = $nullRevision->insertOn( $dbw );
# Rename cur entry