MediaWiki  REL1_20
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 ()
 execute ($par)
 Default execute method Checks user permissions, calls the function given in mFunction.
 showForm ($title)

Detailed Description

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

Definition at line 29 of file SpecialFilepath.php.


Constructor & Destructor Documentation

Definition at line 31 of file SpecialFilepath.php.


Member Function Documentation

SpecialFilepath::execute ( subPage)

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

Parameters:
$subPagestring|null

Reimplemented from SpecialPage.

Definition at line 35 of file SpecialFilepath.php.

References $file, $title, $url, SpecialPage\getOutput(), SpecialPage\getRequest(), Title\newFromText(), SpecialPage\outputHeader(), SpecialPage\setHeaders(), showForm(), and wfFindFile().


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