MediaWiki  REL1_22
SpecialNewpages Class Reference

A special page that list newly created pages. More...

Inheritance diagram for SpecialNewpages:
Collaboration diagram for SpecialNewpages:

List of all members.

Public Member Functions

 __construct ()
 execute ($par)
 Show a form for filtering namespace and username.
 formatRow ($result)
 Format a row, providing the timestamp, links to the page/history, size, user links, and a comment.

Protected Member Functions

 feed ($type)
 Output a subscription feed listing recent edits to this page.
 feedItem ($row)
 feedItemAuthor ($row)
 feedItemDesc ($row)
 feedTitle ()
 filterLinks ()
 form ()
 getGroupName ()
 Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.
 parseParams ($par)
 patrollable ($result)
 Should a specific result row provide "patrollable" links?
 setup ($par)

Protected Attributes

 $customFilters
FormOptions $opts
 $showNavigation = false

Detailed Description

A special page that list newly created pages.

Definition at line 29 of file SpecialNewpages.php.


Constructor & Destructor Documentation

Definition at line 40 of file SpecialNewpages.php.


Member Function Documentation

Show a form for filtering namespace and username.

Parameters:
$parString
Returns:
String

Reimplemented from SpecialPage.

Definition at line 129 of file SpecialNewpages.php.

SpecialNewpages::feed ( type) [protected]

Output a subscription feed listing recent edits to this page.

Parameters:
$typeString

Definition at line 414 of file SpecialNewpages.php.

SpecialNewpages::feedItem ( row) [protected]

Definition at line 455 of file SpecialNewpages.php.

References $title, feedItemAuthor(), feedItemDesc(), and Title\makeTitle().

SpecialNewpages::feedItemAuthor ( row) [protected]

Definition at line 474 of file SpecialNewpages.php.

Referenced by feedItem().

SpecialNewpages::feedItemDesc ( row) [protected]

Definition at line 478 of file SpecialNewpages.php.

References SpecialPage\msg(), Revision\newFromId(), and FeedItem\stripComment().

Referenced by feedItem().

SpecialNewpages::feedTitle ( ) [protected]

Definition at line 448 of file SpecialNewpages.php.

References SpecialPage\getDescription(), and global.

Format a row, providing the timestamp, links to the page/history, size, user links, and a comment.

Parameters:
object$resultResult row
Returns:
String

Definition at line 305 of file SpecialNewpages.php.

Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.

Returns:
string
Since:
1.21

Reimplemented from SpecialPage.

Definition at line 492 of file SpecialNewpages.php.

SpecialNewpages::parseParams ( par) [protected]

Definition at line 81 of file SpecialNewpages.php.

References array(), as, and SpecialPage\getLanguage().

Referenced by setup().

SpecialNewpages::patrollable ( result) [protected]

Should a specific result row provide "patrollable" links?

Parameters:
object$resultResult row
Returns:
Boolean

Definition at line 405 of file SpecialNewpages.php.


Member Data Documentation

SpecialNewpages::$customFilters [protected]

Definition at line 35 of file SpecialNewpages.php.

FormOptions SpecialNewpages::$opts [protected]

Definition at line 34 of file SpecialNewpages.php.

Referenced by setup().

SpecialNewpages::$showNavigation = false [protected]

Definition at line 38 of file SpecialNewpages.php.


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