Inherits SpecialPage.
Public Member Functions | |
__construct () | |
execute ($par) | |
Default execute method Checks user permissions, calls the function given in mFunction. | |
showIndirectLinks ($level, $target, $limit, $from=0, $back=0) | |
makeSelfLink ($text, $query) | |
getPrevNext ($prevId, $nextId) | |
whatlinkshereForm () | |
getFilterPanel () | |
Create filter panel. | |
Protected Member Functions | |
listStart () | |
listItem ($row, $nt, $notClose=false) | |
listEnd () | |
wlhLink (Title $target, $text) | |
Protected Attributes | |
$opts | |
$target | |
$selfTitle | |
$skin | |
$limits = array( 20, 50, 100, 250, 500 ) |
Definition at line 13 of file SpecialWhatlinkshere.php.
SpecialWhatLinksHere::__construct | ( | ) |
SpecialWhatLinksHere::execute | ( | $ | par | ) |
Default execute method Checks user permissions, calls the function given in mFunction.
This may be overridden by subclasses.
Reimplemented from SpecialPage.
Definition at line 29 of file SpecialWhatlinkshere.php.
References $opts, $wgOut, $wgRequest, SpecialPage::getTitleFor(), FormOptions::INTNULL, Title::newFromURL(), SpecialPage::setHeaders(), showIndirectLinks(), wfMsg(), and whatlinkshereForm().
SpecialWhatLinksHere::getFilterPanel | ( | ) |
Create filter panel.
Definition at line 404 of file SpecialWhatlinkshere.php.
References $changed, $msg, $wgLang, Xml::fieldset(), makeSelfLink(), wfMsg(), and wfMsgHtml().
Referenced by showIndirectLinks().
SpecialWhatLinksHere::getPrevNext | ( | $ | prevId, | |
$ | nextId | |||
) |
Definition at line 325 of file SpecialWhatlinkshere.php.
References $changed, $wgLang, makeSelfLink(), wfMsgExt(), and wfMsgHtml().
Referenced by showIndirectLinks().
SpecialWhatLinksHere::listEnd | ( | ) | [protected] |
Definition at line 299 of file SpecialWhatlinkshere.php.
References Xml::closeElement().
Referenced by showIndirectLinks().
SpecialWhatLinksHere::listItem | ( | $ | row, | |
$ | nt, | |||
$ | notClose = false | |||
) | [protected] |
Definition at line 251 of file SpecialWhatlinkshere.php.
References $msg, Xml::openElement(), Xml::tags(), wfMsgExt(), wlhLink(), and Xml::wrapClass().
Referenced by showIndirectLinks().
SpecialWhatLinksHere::listStart | ( | ) | [protected] |
Definition at line 247 of file SpecialWhatlinkshere.php.
References Xml::openElement().
Referenced by showIndirectLinks().
SpecialWhatLinksHere::makeSelfLink | ( | $ | text, | |
$ | query | |||
) |
Definition at line 316 of file SpecialWhatlinkshere.php.
Referenced by getFilterPanel(), and getPrevNext().
SpecialWhatLinksHere::showIndirectLinks | ( | $ | level, | |
$ | target, | |||
$ | limit, | |||
$ | from = 0 , |
|||
$ | back = 0 | |||
) |
$level | int Recursion level | |
$target | Title Target title | |
$limit | int Number of entries to display | |
$from | Title Display from this article ID | |
$back | Title Display from this article ID at backwards scrolling |
Definition at line 80 of file SpecialWhatlinkshere.php.
References $dbr, $options, $rows, $target, $wgMaxRedirectLinksRetrieved, $wgOut, Xml::closeElement(), getFilterPanel(), getPrevNext(), listEnd(), listItem(), listStart(), Title::makeTitle(), wfGetDB(), and whatlinkshereForm().
Referenced by execute().
SpecialWhatLinksHere::whatlinkshereForm | ( | ) |
Definition at line 356 of file SpecialWhatlinkshere.php.
References $name, $target, $wgScript, Xml::closeElement(), Xml::fieldset(), SpecialPage::getTitleFor(), Xml::hidden(), Xml::inputLabel(), Xml::label(), Xml::namespaceSelector(), Xml::openElement(), Xml::submitButton(), and wfMsg().
Referenced by execute(), and showIndirectLinks().
SpecialWhatLinksHere::wlhLink | ( | Title $ | target, | |
$ | text | |||
) | [protected] |
Definition at line 303 of file SpecialWhatlinkshere.php.
References $title, Title::getPrefixedText(), and SpecialPage::getTitleFor().
Referenced by listItem().
SpecialWhatLinksHere::$limits = array( 20, 50, 100, 250, 500 ) [protected] |
Definition at line 21 of file SpecialWhatlinkshere.php.
SpecialWhatLinksHere::$opts [protected] |
SpecialWhatLinksHere::$selfTitle [protected] |
Definition at line 16 of file SpecialWhatlinkshere.php.
SpecialWhatLinksHere::$skin [protected] |
Definition at line 19 of file SpecialWhatlinkshere.php.
SpecialWhatLinksHere::$target [protected] |
Definition at line 16 of file SpecialWhatlinkshere.php.
Referenced by showIndirectLinks(), and whatlinkshereForm().