Nighttime commit when I'm tired and want to get this thing checked in and go to bed...
[lhc/web/wiklou.git] / includes / SpecialLockdb.php
index 929e028..b523591 100644 (file)
@@ -36,7 +36,7 @@ function wfSpecialLockdb() {
 }
 
 /**
- * @todo document - e.g. a one-sentence top-level class description.
+ * A form to make the database readonly (eg for maintenance purposes).
  * @addtogroup SpecialPage
  */
 class DBLockForm {
@@ -51,7 +51,7 @@ class DBLockForm {
                global $wgOut, $wgUser;
 
                $wgOut->setPagetitle( wfMsg( 'lockdb' ) );
-               $wgOut->addWikiText( wfMsg( 'lockdbtext' ) );
+               $wgOut->addWikiMsg( 'lockdbtext' );
 
                if ( "" != $err ) {
                        $wgOut->setSubtitle( wfMsg( 'formerror' ) );
@@ -121,7 +121,7 @@ END
 
                $wgOut->setPagetitle( wfMsg( 'lockdb' ) );
                $wgOut->setSubtitle( wfMsg( 'lockdbsuccesssub' ) );
-               $wgOut->addWikiText( wfMsg( 'lockdbsuccesstext' ) );
+               $wgOut->addWikiMsg( 'lockdbsuccesstext' );
        }
        
        public static function notWritable() {
@@ -131,4 +131,4 @@ END
        
 }
 
-?>
+