An error page which can definitely be safely rendered using the OutputPage.
An action that just passes the request to the relevant special page.
string $actionName
Name of this action, must exist as a key in $actionToSpecialPageMapping.
onView()
Show something on GET request.
static array $actionToSpecialPageMapping
A mapping of action names to special page names.
SpecialPageFactory $specialPageFactory
doesWrites()
Indicates whether this action may perform database writes.
getName()
Return the name of the action this object responds to.1.17string Lowercase name
getDescription()
Returns the description that goes below the <h1> tag.
requiresUnblock()
Whether this action can still be executed by a blocked user.
__construct(Page $page, IContextSource $context, SpecialPageFactory $specialPageFactory, string $actionName)
Interface for objects which can provide a MediaWiki context on request.
Interface for type hinting (accepts WikiPage, Article, ImagePage, CategoryPage)