MediaWiki  REL1_22
MarkpatrolledAction Class Reference

Mark a revision as patrolled on a page. More...

Inheritance diagram for MarkpatrolledAction:
Collaboration diagram for MarkpatrolledAction:

List of all members.

Public Member Functions

 getName ()
 Return the name of the action this object responds to.
 onView ()
 Show something on GET request.

Protected Member Functions

 getDescription ()
 Returns the description that goes below the <h1> tag.

Detailed Description

Mark a revision as patrolled on a page.

Definition at line 30 of file MarkpatrolledAction.php.


Member Function Documentation

Returns the description that goes below the <h1> tag.

Returns:
String

Reimplemented from Action.

Definition at line 36 of file MarkpatrolledAction.php.

Return the name of the action this object responds to.

Returns:
String lowercase

Reimplemented from Action.

Definition at line 32 of file MarkpatrolledAction.php.

Show something on GET request.

Returns:
String|null will be added to the HTMLForm if present, or just added to the output if not. Return null to not add anything

Reimplemented from FormlessAction.

Definition at line 40 of file MarkpatrolledAction.php.

References $user, array(), Action\getOutput(), Action\getRequest(), SpecialPage\getTitleFor(), Action\getUser(), Action\msg(), and RecentChange\newFromId().


The documentation for this class was generated from the following file: