* Some deprecated presentational html attributes will now be automatically converted to css.
* (bug 31297) Add support for namespaces in Special:RecentChanges subpage filter syntax.
* The default user signature now contains a talk link in addition to the user link.
+* (bug 25306) Add link of old page title to MediaWiki:Delete_and_move_reason
=== Bug fixes in 1.19 ===
* $wgUploadNavigationUrl should be used for file redlinks if
// Delete an associated image if there is
$file = wfLocalFile( $nt );
if( $file->exists() ) {
- $file->delete( wfMsgForContent( 'delete_and_move_reason' ), false );
+ $file->delete( wfMessage( 'delete_and_move_reason', $ot )->inContentLanguage()->text(), false );
}
// This may output an error message and exit
- $article->doDelete( wfMsgForContent( 'delete_and_move_reason' ) );
+ $article->doDelete(wfMessage( 'delete_and_move_reason', $ot )->inContentLanguage()->text() );
}
# don't allow moving to pages with # in
The destination page "[[:$1]]" already exists.
Do you want to delete it to make way for the move?',
'delete_and_move_confirm' => 'Yes, delete the page',
-'delete_and_move_reason' => 'Deleted to make way for move',
+'delete_and_move_reason' => 'Deleted to make way for move from "[[$1]]"',
'selfmove' => 'Source and destination titles are the same;
cannot move a page over itself.',
'immobile-source-namespace' => 'Cannot move pages in namespace "$1"',
'revertmove' => '{{Identical|Revert}}',
'delete_and_move_text' => 'Used when moving a page, but the destination page already exists and needs deletion. This message is to confirm that you really want to delete the page. See also {{msg|delete and move confirm}}.',
'delete_and_move_confirm' => 'Used when moving a page, but the destination page already exists and needs deletion. This message is for a checkbox to confirm that you really want to delete the page. See also {{msg|delete and move text}}.',
+'delete_and_move_reason' => 'Shown as reason in content language in the deletion log. Parameter:
+* $1: The page name for which this page was deleted.',
'immobile-target-namespace-iw' => "This message appears when attempting to move a page, if a person has typed an interwiki link as a namespace prefix in the input box labelled 'To new title'. The special page 'Movepage' cannot be used to move a page to another wiki.
'Destination' can be used instead of 'target' in this message.",