MediaWiki  REL1_19
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 ()
 parseParams ($par)
 patrollable ($result)
 Should a specific result row provide "patrollable" links?
 setup ($par)

Protected Attributes

 $customFilters
 $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 42 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 128 of file SpecialNewpages.php.

References $out, feed(), form(), SpecialPage\getOutput(), SpecialPage\including(), SpecialPage\outputHeader(), SpecialPage\setHeaders(), setup(), and wfArrayToCGI().

Here is the call graph for this function:

SpecialNewpages::feed ( type) [protected]

Output a subscription feed listing recent edits to this page.

Parameters:
$typeString

Definition at line 384 of file SpecialNewpages.php.

References $limit, $wgFeed, $wgFeedClasses, $wgFeedLimit, feedItem(), feedTitle(), SpecialPage\getOutput(), SpecialPage\getTitle(), and wfMsgExt().

Referenced by execute().

Here is the call graph for this function:

Here is the caller graph for this function:

SpecialNewpages::feedItem ( row) [protected]

Definition at line 422 of file SpecialNewpages.php.

References $title, feedItemAuthor(), and feedItemDesc().

Referenced by feed().

Here is the call graph for this function:

Here is the caller graph for this function:

SpecialNewpages::feedItemAuthor ( row) [protected]

Definition at line 441 of file SpecialNewpages.php.

Referenced by feedItem().

Here is the caller graph for this function:

SpecialNewpages::feedItemDesc ( row) [protected]

Definition at line 445 of file SpecialNewpages.php.

References Revision\newFromId(), FeedItem\stripComment(), and wfMsgForContent().

Referenced by feedItem().

Here is the call graph for this function:

Here is the caller graph for this function:

SpecialNewpages::feedTitle ( ) [protected]

Definition at line 416 of file SpecialNewpages.php.

References $wgLanguageCode, $wgSitename, and SpecialPage\getDescription().

Referenced by feed().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 164 of file SpecialNewpages.php.

References $changed, $self, $wgGroupPermissions, SpecialPage\getLanguage(), SpecialPage\getTitle(), SpecialPage\getUser(), Linker\link(), and wfMsgHtml().

Referenced by form().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Parameters:
$resultResult row
Returns:
String

Definition at line 285 of file SpecialNewpages.php.

References $comment, $result, $title, Html\element(), ChangeTags\formatSummaryRow(), SpecialPage\getLanguage(), SpecialPage\including(), Linker\linkKnown(), Title\makeTitle(), SpecialPage\msg(), Title\newFromRow(), patrollable(), Html\rawElement(), Linker\revComment(), Linker\revUserTools(), wfMessage(), wfMsg(), and wfMsgHtml().

Here is the call graph for this function:

SpecialNewpages::parseParams ( par) [protected]

Definition at line 80 of file SpecialNewpages.php.

References SpecialPage\getLanguage().

Referenced by setup().

Here is the call graph for this function:

Here is the caller graph for this function:

SpecialNewpages::patrollable ( result) [protected]

Should a specific result row provide "patrollable" links?

Parameters:
$resultResult row
Returns:
Boolean

Definition at line 375 of file SpecialNewpages.php.

References $result, and SpecialPage\getUser().

Referenced by formatRow().

Here is the call graph for this function:

Here is the caller graph for this function:

SpecialNewpages::setup ( par) [protected]

Definition at line 46 of file SpecialNewpages.php.

References $opts, $wgEnableNewpagesUserFilter, SpecialPage\getRequest(), SpecialPage\getUser(), parseParams(), and wfRunHooks().

Referenced by execute().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

SpecialNewpages::$customFilters [protected]

Definition at line 37 of file SpecialNewpages.php.

SpecialNewpages::$opts [protected]

Definition at line 36 of file SpecialNewpages.php.

Referenced by setup().

SpecialNewpages::$showNavigation = false [protected]

Definition at line 40 of file SpecialNewpages.php.


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