Inherits QueryPage.
Public Member Functions | |
| getName () | |
| Subclasses return their name here. | |
| 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. | |
| getSQL () | |
| Note: Getting page_namespace only works if $this->isCached() is false. | |
| preprocessResults ($db, $res) | |
| Pre-fill the link cache. | |
| makeWlhLink (&$title, $caption, &$skin) | |
| Make a link to "what links here" for the specified title. | |
| formatResult ($skin, $result) | |
| Make links to the page corresponding to the item, and the "what links here" page for it. | |
Implements Special:Mostlinked
Definition at line 19 of file SpecialMostlinked.php.
| MostlinkedPage::formatResult | ( | $ | skin, | |
| $ | result | |||
| ) |
Make links to the page corresponding to the item, and the "what links here" page for it.
| $skin | Skin to be used | |
| $result | Result row |
Reimplemented from QueryPage.
Definition at line 75 of file SpecialMostlinked.php.
References $result, $title, $wgLang, Title::makeTitleSafe(), makeWlhLink(), wfMsgExt(), and wfSpecialList().
| MostlinkedPage::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.
Reimplemented from QueryPage.
Definition at line 21 of file SpecialMostlinked.php.
| MostlinkedPage::getSQL | ( | ) |
Note: Getting page_namespace only works if $this->isCached() is false.
Reimplemented from QueryPage.
Definition at line 28 of file SpecialMostlinked.php.
| MostlinkedPage::isExpensive | ( | ) |
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 22 of file SpecialMostlinked.php.
| MostlinkedPage::isSyndicated | ( | ) |
Sometime we dont want to build rss / atom feeds.
Reimplemented from QueryPage.
Definition at line 23 of file SpecialMostlinked.php.
| MostlinkedPage::makeWlhLink | ( | &$ | title, | |
| $ | caption, | |||
| &$ | skin | |||
| ) |
Make a link to "what links here" for the specified title.
Definition at line 63 of file SpecialMostlinked.php.
References $title, and SpecialPage::getTitleFor().
Referenced by formatResult().
| MostlinkedPage::preprocessResults | ( | $ | db, | |
| $ | res | |||
| ) |
1.5.9