MediaWiki  REL1_19
RevisiondeleteAction.php
Go to the documentation of this file.
00001 <?php
00026 class RevisiondeleteAction extends FormlessAction {
00027 
00028         public function getName() {
00029                 return 'revisiondelete';
00030         }
00031 
00032         public function requiresUnblock() {
00033                 return false;
00034         }
00035 
00036         public function getDescription() {
00037                 return '';
00038         }
00039 
00040         public function onView() {
00041                 return '';
00042         }
00043 
00044         public function show() {
00045                 $special = SpecialPageFactory::getPage( 'Revisiondelete' );
00046                 $special->setContext( $this->getContext() );
00047                 $special->execute( '' );
00048         }
00049 }