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