Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5985591
RenderAction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
579 B
Referenced Files
None
Subscribers
None
RenderAction.php
View Options
<?php
/**
* @license GPL-2.0-or-later
* @file
* @ingroup Actions
*/
namespace
MediaWiki\Actions
;
/**
* Handle action=render
*
* This is a wrapper that will call Article::render().
*
* @ingroup Actions
*/
class
RenderAction
extends
FormlessAction
{
/** @inheritDoc */
public
function
getName
()
{
return
'render'
;
}
/** @inheritDoc */
public
function
onView
()
{
return
null
;
}
/** @inheritDoc */
public
function
show
()
{
$this
->
getArticle
()->
render
();
}
}
/** @deprecated class alias since 1.44 */
class_alias
(
RenderAction
::
class
,
'RenderAction'
);
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 23:50 (2 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
3d/1f/f53d3e3fae5cd0da23bb5c6b11d1
Default Alt Text
RenderAction.php (579 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment