MediaWiki  REL1_24
PageQueryPage Class Reference

Variant of QueryPage which formats the result as a simple link to the page. More...

Inheritance diagram for PageQueryPage:
Collaboration diagram for PageQueryPage:

List of all members.

Public Member Functions

 formatResult ($skin, $row)
 Format the result as a simple link to the page.
 preprocessResults ($db, $res)
 Run a LinkBatch to pre-cache LinkCache information, like page existence and information for stub color and redirect hints.

Detailed Description

Variant of QueryPage which formats the result as a simple link to the page.

Definition at line 29 of file PageQueryPage.php.


Member Function Documentation

PageQueryPage::formatResult ( skin,
row 
)

Format the result as a simple link to the page.

Parameters:
Skin$skin
object$rowResult row
Returns:
string

Reimplemented from QueryPage.

Reimplemented in UncategorizedCategoriesPage.

Definition at line 59 of file PageQueryPage.php.

References $title, $wgContLang, array(), Html\element(), SpecialPage\getContext(), Linker\getInvalidTitleDescription(), global, Linker\link(), and Title\makeTitleSafe().

PageQueryPage::preprocessResults ( db,
res 
)

Run a LinkBatch to pre-cache LinkCache information, like page existence and information for stub color and redirect hints.

This should be done for live data and cached data.

Parameters:
DatabaseBase$db
ResultWrapper$res

Reimplemented from QueryPage.

Definition at line 38 of file PageQueryPage.php.

References $batch, $res, and as.


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