MediaWiki  1.23.14
RevisiondeleteAction.php
Go to the documentation of this file.
1 <?php
32 
33  public function getName() {
34  return 'revisiondelete';
35  }
36 
37  public function requiresUnblock() {
38  return false;
39  }
40 
41  public function getDescription() {
42  return '';
43  }
44 
45  public function onView() {
46  return '';
47  }
48 
49  public function show() {
50  $special = SpecialPageFactory::getPage( 'Revisiondelete' );
51  $special->setContext( $this->getContext() );
52  $special->getContext()->setTitle( $special->getPageTitle() );
53  $special->run( '' );
54  }
55 }
php
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
Definition: skin.txt:62
RevisiondeleteAction
An action that just pass the request to Special:RevisionDelete.
Definition: RevisiondeleteAction.php:31
FormlessAction
An action which just does something, without showing a form first.
Definition: FormlessAction.php:29
RevisiondeleteAction\show
show()
The main action entry point.
Definition: RevisiondeleteAction.php:49
Action\getContext
getContext()
Get the IContextSource in use here.
Definition: Action.php:164
RevisiondeleteAction\getDescription
getDescription()
Returns the description that goes below the <h1> tag.
Definition: RevisiondeleteAction.php:41
RevisiondeleteAction\getName
getName()
Return the name of the action this object responds to.
Definition: RevisiondeleteAction.php:33
RevisiondeleteAction\requiresUnblock
requiresUnblock()
Whether this action can still be executed by a blocked user.
Definition: RevisiondeleteAction.php:37
RevisiondeleteAction\onView
onView()
Show something on GET request.
Definition: RevisiondeleteAction.php:45
SpecialPageFactory\getPage
static getPage( $name)
Find the object with a given name and return it (or NULL)
Definition: SpecialPageFactory.php:338
$special
namespace and then decline to actually register it RecentChangesLinked and Watchlist $special
Definition: hooks.txt:815