MediaWiki
REL1_24
|
Variant of QueryPage which formats the result as a simple link to the page. More...
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. |
Variant of QueryPage which formats the result as a simple link to the page.
Definition at line 29 of file PageQueryPage.php.
PageQueryPage::formatResult | ( | $ | skin, |
$ | row | ||
) |
Format the result as a simple link to the page.
Skin | $skin | |
object | $row | Result row |
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.
DatabaseBase | $db | |
ResultWrapper | $res |
Reimplemented from QueryPage.
Definition at line 38 of file PageQueryPage.php.