MediaWiki  REL1_19
InfoAction Class Reference
Inheritance diagram for InfoAction:
Collaboration diagram for InfoAction:

List of all members.

Public Member Functions

 getName ()
 Return the name of the action this object responds to.
 onView ()
 Show something on GET request.
 requiresUnblock ()
 Whether this action can still be executed by a blocked user.
 requiresWrite ()
 Whether this action requires the wiki not to be locked.

Static Public Member Functions

static pageCountInfo ($title)
 Return the total number of edits and number of unique editors on a given page.

Protected Member Functions

 getDescription ()
 Returns the description that goes below the <h1> tag.
 getPageTitle ()
 Returns the name that goes in the <h1> page title.

Detailed Description

Definition at line 26 of file InfoAction.php.


Member Function Documentation

InfoAction::getDescription ( ) [protected]

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

Returns:
String

Reimplemented from Action.

Definition at line 32 of file InfoAction.php.

Return the name of the action this object responds to.

Returns:
String lowercase

Reimplemented from Action.

Definition at line 28 of file InfoAction.php.

InfoAction::getPageTitle ( ) [protected]

Returns the name that goes in the <h1> page title.

Returns:
String

Reimplemented from Action.

Definition at line 44 of file InfoAction.php.

References Action\getTitle(), and Action\msg().

Here is the call graph for this function:

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 48 of file InfoAction.php.

References $title, $wgDisableCounters, Html\element(), Action\getLanguage(), Action\getTitle(), Action\getUser(), Action\msg(), pageCountInfo(), and Html\rawElement().

Here is the call graph for this function:

static InfoAction::pageCountInfo ( title) [static]

Return the total number of edits and number of unique editors on a given page.

If page does not exist, returns false.

Parameters:
$titleTitle object
Returns:
mixed array or boolean false

Definition at line 109 of file InfoAction.php.

References $dbr, $title, and wfGetDB().

Referenced by onView().

Here is the call graph for this function:

Here is the caller graph for this function:

Whether this action can still be executed by a blocked user.

Returns:
Bool

Reimplemented from Action.

Definition at line 40 of file InfoAction.php.

Whether this action requires the wiki not to be locked.

Returns:
Bool

Reimplemented from Action.

Definition at line 36 of file InfoAction.php.


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