From: Rob Church Date: Wed, 12 Jul 2006 11:28:01 +0000 (+0000) Subject: * Preserve entered reason when reporting unconfirmed lock on Special:Lockdb X-Git-Tag: 1.31.0-rc.0~56281 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=5deff4e6b524759e3c319c35d8485920d7dff486;p=lhc%2Fweb%2Fwiklou.git * Preserve entered reason when reporting unconfirmed lock on Special:Lockdb * Alter default "lockdbsuccesstext" message to link to Special:Unlockdb --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 1d2c8ab444..8079a0dfbb 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -58,6 +58,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 6635) Fix regression searching for range blocks on Ipblocklist * Fix regression searching Ipblocklist with ugly URLs * (bug 6639) Use a consistent default for upload directories +* Preserve entered reason when reporting unconfirmed lock on Special:Lockdb == Languages updated == diff --git a/includes/SpecialLockdb.php b/includes/SpecialLockdb.php index 8c58373e22..72172e2c6f 100644 --- a/includes/SpecialLockdb.php +++ b/includes/SpecialLockdb.php @@ -64,12 +64,13 @@ class DBLockForm { $elr = htmlspecialchars( wfMsg( 'enterlockreason' ) ); $titleObj = Title::makeTitle( NS_SPECIAL, 'Lockdb' ); $action = $titleObj->escapeLocalURL( 'action=submit' ); + $reason = htmlspecialchars( $this->reason ); $token = htmlspecialchars( $wgUser->editToken() ); $wgOut->addHTML( << {$elr}: - +
diff --git a/languages/Messages.php b/languages/Messages.php index 060107d2f9..7f752b91f2 100644 --- a/languages/Messages.php +++ b/languages/Messages.php @@ -1343,7 +1343,7 @@ Please confirm that this is what you intend to do.', 'lockdbsuccesssub' => 'Database lock succeeded', 'unlockdbsuccesssub' => 'Database lock removed', 'lockdbsuccesstext' => 'The database has been locked. -
Remember to remove the lock after your maintenance is complete.', +
Remember to [[Special:Unlockdb|remove the lock]] after your maintenance is complete.', 'unlockdbsuccesstext' => 'The database has been unlocked.', 'lockfilenotwritable' => 'The database lock file is not writable. To lock or unlock the database, this needs to be writable by the web server.',