MediaWiki  REL1_22
SpecialFilepath Class Reference

A special page that redirects to the URL of a given file. More...

Inheritance diagram for SpecialFilepath:
Collaboration diagram for SpecialFilepath:

List of all members.

Public Member Functions

 __construct ()
 getRedirect ($par)
 If the special page is a redirect, then get the Title object it redirects to.

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'.

Detailed Description

A special page that redirects to the URL of a given file.

Definition at line 30 of file SpecialFilepath.php.


Constructor & Destructor Documentation

Definition at line 31 of file SpecialFilepath.php.

References array().


Member Function Documentation

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 42 of file SpecialFilepath.php.

If the special page is a redirect, then get the Title object it redirects to.

False otherwise.

Parameters:
string$parSubpage string
Returns:
Title|bool

Reimplemented from RedirectSpecialPage.

Definition at line 37 of file SpecialFilepath.php.

References $file, SpecialPage\getRequest(), and SpecialPage\getSafeTitleFor().


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