X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialUndelete.php;h=4c6a5938388fdc1941fc1e341076efd2de6cc1bc;hb=5bed0c741a30711b22d4e93e49b1b6d1e3632439;hp=04f5be46ca4c61dc0e6f0f0a992e5272f23547be;hpb=02abae3248b9273be6b312aeb9f1cae81a3ac6c0;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialUndelete.php b/includes/specials/SpecialUndelete.php index 04f5be46ca..4c6a593838 100644 --- a/includes/specials/SpecialUndelete.php +++ b/includes/specials/SpecialUndelete.php @@ -1141,8 +1141,8 @@ class SpecialUndelete extends SpecialPage { 'textarea', [ 'readonly' => 'readonly', - 'cols' => $user->getIntOption( 'cols' ), - 'rows' => $user->getIntOption( 'rows' ) + 'cols' => 80, + 'rows' => 25 ], $content->getNativeData() . "\n" ); @@ -1806,11 +1806,9 @@ class SpecialUndelete extends SpecialPage { // Show revision undeletion warnings and errors $status = $archive->getRevisionStatus(); if ( $status && !$status->isGood() ) { - $out->addWikiText( '
' . - $status->getWikiText( - 'cannotundelete', - 'cannotundelete' - ) . '
' + $out->wrapWikiMsg( + "
\n$1\n
", + 'cannotundelete' ); }