Show an explanation to non-sysops
authorJens Frank <jeluf@users.mediawiki.org>
Sat, 20 Aug 2005 18:42:43 +0000 (18:42 +0000)
committerJens Frank <jeluf@users.mediawiki.org>
Sat, 20 Aug 2005 18:42:43 +0000 (18:42 +0000)
includes/SpecialUndelete.php

index a29fee3..6b90f50 100644 (file)
@@ -416,6 +416,8 @@ class UndeleteForm {
                }
                if ( $this->mAllowed ) {
                        $wgOut->addWikiText( wfMsg( "undeletehistory" ) . "\n----\n" . $text );
+               } else {
+                       $wgOut->addWikiText( wfMsg( "undeletehistorynoadmin" );
                }
 
                # List all stored revisions