MediaWiki
REL1_20
|
Class definition for a wanted query page like WantedPages, WantedTemplates, etc. More...
Public Member Functions | |
forceExistenceCheck () | |
Should formatResult() always check page existence, even if the results are fresh? This is a (hopefully temporary) kluge for Special:WantedFiles, which may contain false positives for files that exist e.g. | |
formatResult ($skin, $result) | |
Format an individual result. | |
isExpensive () | |
Is this query expensive (for some definition of expensive)? Then we don't let it run in miser mode. | |
isSyndicated () | |
Sometime we dont want to build rss / atom feeds. | |
preprocessResults ($db, $res) | |
Cache page existence for performance. | |
Private Member Functions | |
makeWlhLink ($title, $result) | |
Make a "what links here" link for a given title. |
Class definition for a wanted query page like WantedPages, WantedTemplates, etc.
Definition at line 739 of file QueryPage.php.
Should formatResult() always check page existence, even if the results are fresh? This is a (hopefully temporary) kluge for Special:WantedFiles, which may contain false positives for files that exist e.g.
in a shared repo (bug 6220).
Reimplemented in WantedFilesPage.
Definition at line 775 of file QueryPage.php.
WantedQueryPage::formatResult | ( | $ | skin, |
$ | result | ||
) |
Format an individual result.
$skin | Skin to use for UI elements |
$result | Result row |
Reimplemented from QueryPage.
Reimplemented in WantedCategoriesPage.
Definition at line 786 of file QueryPage.php.
Is this query expensive (for some definition of expensive)? Then we don't let it run in miser mode.
$wgDisableQueryPages causes all query pages to be declared expensive. Some query pages are always expensive.
Reimplemented from QueryPage.
Definition at line 741 of file QueryPage.php.
Sometime we dont want to build rss / atom feeds.
Reimplemented from QueryPage.
Definition at line 745 of file QueryPage.php.
WantedQueryPage::makeWlhLink | ( | $ | title, |
$ | result | ||
) | [private] |
Make a "what links here" link for a given title.
$title | Title to make the link for |
$result | Object: result row |
Definition at line 821 of file QueryPage.php.
WantedQueryPage::preprocessResults | ( | $ | db, |
$ | res | ||
) |
Cache page existence for performance.
Reimplemented from QueryPage.
Definition at line 752 of file QueryPage.php.