|
MediaWiki
REL1_19
|
Implements Special:Whatlinkshere. More...


Public Member Functions | |
| __construct () | |
| execute ($par) | |
| Default execute method Checks user permissions, calls the function given in mFunction. | |
| getFilterPanel () | |
| Create filter panel. | |
| getPrevNext ($prevId, $nextId) | |
| makeSelfLink ($text, $query) | |
| showIndirectLinks ($level, $target, $limit, $from=0, $back=0) | |
| whatlinkshereForm () | |
Protected Member Functions | |
| listEnd () | |
| listItem ($row, $nt, $notClose=false) | |
| listStart ($level) | |
| wlhLink (Title $target, $text) | |
Protected Attributes | |
| $limits = array( 20, 50, 100, 250, 500 ) | |
| $opts | |
| $selfTitle | |
| $target | |
Implements Special:Whatlinkshere.
Definition at line 29 of file SpecialWhatlinkshere.php.
Definition at line 45 of file SpecialWhatlinkshere.php.
| SpecialWhatLinksHere::execute | ( | $ | par | ) |
Default execute method Checks user permissions, calls the function given in mFunction.
This must be overridden by subclasses; it will be made abstract in a future version
| $par | String subpage string, if one was specified |
Reimplemented from SpecialPage.
Definition at line 49 of file SpecialWhatlinkshere.php.
References $opts, $out, $wgQueryPageDefaultLimit, SpecialPage\getOutput(), SpecialPage\getRequest(), SpecialPage\getSkin(), SpecialPage\getTitle(), FormOptions\INTNULL, SpecialPage\msg(), Title\newFromURL(), SpecialPage\outputHeader(), SpecialPage\setHeaders(), showIndirectLinks(), and whatlinkshereForm().

Create filter panel.
Definition at line 435 of file SpecialWhatlinkshere.php.
References $changed, Xml\fieldset(), SpecialPage\getLanguage(), makeSelfLink(), wfMsg(), and wfMsgHtml().
Referenced by showIndirectLinks().


| SpecialWhatLinksHere::getPrevNext | ( | $ | prevId, |
| $ | nextId | ||
| ) |
Definition at line 357 of file SpecialWhatlinkshere.php.
References $changed, $limit, SpecialPage\getLanguage(), makeSelfLink(), wfMessage(), and wfMsgHtml().
Referenced by showIndirectLinks().


| SpecialWhatLinksHere::listEnd | ( | ) | [protected] |
Definition at line 331 of file SpecialWhatlinkshere.php.
References Xml\closeElement().
Referenced by showIndirectLinks().


| SpecialWhatLinksHere::listItem | ( | $ | row, |
| $ | nt, | ||
| $ | notClose = false |
||
| ) | [protected] |
Definition at line 281 of file SpecialWhatlinkshere.php.
References SpecialPage\getLanguage(), Linker\linkKnown(), Xml\openElement(), Xml\tags(), wfMsgExt(), wlhLink(), and Xml\wrapClass().
Referenced by showIndirectLinks().


| SpecialWhatLinksHere::listStart | ( | $ | level | ) | [protected] |
Definition at line 277 of file SpecialWhatlinkshere.php.
References Xml\openElement().
Referenced by showIndirectLinks().


| SpecialWhatLinksHere::makeSelfLink | ( | $ | text, |
| $ | query | ||
| ) |
Definition at line 348 of file SpecialWhatlinkshere.php.
References Linker\linkKnown().
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 103 of file SpecialWhatlinkshere.php.
References $dbr, $limit, $options, $out, $rows, $target, $wgMaxRedirectLinksRetrieved, Xml\closeElement(), getFilterPanel(), SpecialPage\getOutput(), getPrevNext(), listEnd(), listItem(), listStart(), Title\makeTitle(), wfGetDB(), and whatlinkshereForm().
Referenced by execute().


Definition at line 387 of file SpecialWhatlinkshere.php.
References $f, $target, $wgScript, Xml\closeElement(), Xml\fieldset(), SpecialPage\getTitle(), Html\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 335 of file SpecialWhatlinkshere.php.
References $title, Title\getPrefixedText(), SpecialPage\getTitle(), and Linker\linkKnown().
Referenced by listItem().


SpecialWhatLinksHere::$limits = array( 20, 50, 100, 250, 500 ) [protected] |
Definition at line 43 of file SpecialWhatlinkshere.php.
SpecialWhatLinksHere::$opts [protected] |
Definition at line 34 of file SpecialWhatlinkshere.php.
Referenced by execute().
SpecialWhatLinksHere::$selfTitle [protected] |
Definition at line 36 of file SpecialWhatlinkshere.php.
SpecialWhatLinksHere::$target [protected] |
Definition at line 41 of file SpecialWhatlinkshere.php.
Referenced by showIndirectLinks(), and whatlinkshereForm().