WantedPagesPage Class Reference
[SpecialPage]

implements Special:Wantedpages More...

Inherits WantedQueryPage.

List of all members.

Public Member Functions

 WantedPagesPage ($inc=false, $nlinks=true)
 getName ()
 Subclasses return their name here.
 getSQL ()
 Subclasses return an SQL query here.

Public Attributes

 $nlinks


Detailed Description

implements Special:Wantedpages

Definition at line 11 of file SpecialWantedpages.php.


Member Function Documentation

WantedPagesPage::getName (  ) 

Subclasses return their name here.

Make sure the name is also specified in SpecialPage.php and in Language.php as a language message param.

Returns:
String

Reimplemented from QueryPage.

Definition at line 19 of file SpecialWantedpages.php.

WantedPagesPage::getSQL (  ) 

Subclasses return an SQL query here.

Note that the query itself should return the following four columns: 'type' (your special page's name), 'namespace', 'title', and 'value' *in that order*. 'value' is used for sorting.

These may be stored in the querycache table for expensive queries, and that cached data will be returned sometimes, so the presence of extra fields can't be relied upon. The cached 'value' column will be an integer; non-numeric values are useful only for sorting the initial query.

Don't include an ORDER or LIMIT clause, this will be added.

Reimplemented from QueryPage.

Definition at line 23 of file SpecialWantedpages.php.

References $dbr, $page, $wgWantedPagesThreshold, wfGetDB(), and wfRunHooks().

WantedPagesPage::WantedPagesPage ( inc = false,
nlinks = true 
)

Definition at line 14 of file SpecialWantedpages.php.

References $nlinks, and QueryPage::setListoutput().


Member Data Documentation

WantedPagesPage::$nlinks

Definition at line 12 of file SpecialWantedpages.php.

Referenced by WantedPagesPage().


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

Generated on Sat Apr 30 22:57:52 2011 for MediaWiki by  doxygen 1.5.9