MediaWiki  REL1_24
SpecialWhatLinksHere Class Reference

Implements Special:Whatlinkshere. More...

Inheritance diagram for SpecialWhatLinksHere:
Collaboration diagram for SpecialWhatLinksHere:

List of all members.

Public Member Functions

 __construct ()
 execute ($par)
 Default execute method Checks user permissions.
 getFilterPanel ()
 Create filter panel.
 getPrevNext ($prevId, $nextId)
 makeSelfLink ($text, $query)
 showIndirectLinks ($level, $target, $limit, $from=0, $back=0)
 whatlinkshereForm ()

Protected Member Functions

 getGroupName ()
 Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.
 listEnd ()
 listItem ($row, $nt, $target, $notClose=false)
 listStart ($level)
 wlhLink (Title $target, $text)

Protected Attributes

 $limits = array( 20, 50, 100, 250, 500 )
FormOptions $opts
 *
 $selfTitle
Title $target
 *

Detailed Description

Implements Special:Whatlinkshere.

Definition at line 29 of file SpecialWhatlinkshere.php.


Constructor & Destructor Documentation


Member Function Documentation

Default execute method Checks user permissions.

This must be overridden by subclasses; it will be made abstract in a future version

Parameters:
string | null$subPage

Reimplemented from SpecialPage.

Definition at line 42 of file SpecialWhatlinkshere.php.

Create filter panel.

Returns:
string HTML fieldset and filter panel with the show/hide links

Definition at line 467 of file SpecialWhatlinkshere.php.

Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.

Returns:
string
Since:
1.21

Reimplemented from SpecialPage.

Definition at line 497 of file SpecialWhatlinkshere.php.

SpecialWhatLinksHere::getPrevNext ( prevId,
nextId 
)

Definition at line 382 of file SpecialWhatlinkshere.php.

Definition at line 355 of file SpecialWhatlinkshere.php.

SpecialWhatLinksHere::listItem ( row,
nt,
target,
notClose = false 
) [protected]

Definition at line 296 of file SpecialWhatlinkshere.php.

SpecialWhatLinksHere::listStart ( level) [protected]

Definition at line 292 of file SpecialWhatlinkshere.php.

SpecialWhatLinksHere::makeSelfLink ( text,
query 
)

Definition at line 373 of file SpecialWhatlinkshere.php.

SpecialWhatLinksHere::showIndirectLinks ( level,
target,
limit,
from = 0,
back = 0 
)
Parameters:
int$levelRecursion level
Title$targetTarget title
int$limitNumber of entries to display
int$fromDisplay from this article ID (default: 0)
int$backDisplay from this article ID at backwards scrolling (default: 0)

Definition at line 100 of file SpecialWhatlinkshere.php.

SpecialWhatLinksHere::wlhLink ( Title target,
text 
) [protected]

Definition at line 359 of file SpecialWhatlinkshere.php.


Member Data Documentation

SpecialWhatLinksHere::$limits = array( 20, 50, 100, 250, 500 ) [protected]

Definition at line 36 of file SpecialWhatlinkshere.php.

FormOptions SpecialWhatLinksHere::$opts [protected]

*

Definition at line 30 of file SpecialWhatlinkshere.php.

SpecialWhatLinksHere::$selfTitle [protected]

Definition at line 32 of file SpecialWhatlinkshere.php.

Title SpecialWhatLinksHere::$target [protected]

*

Definition at line 34 of file SpecialWhatlinkshere.php.


The documentation for this class was generated from the following file: