MediaWiki
REL1_20
|
A special page that redirects to the URL of a given file. More...
Public Member Functions | |
__construct () | |
execute ($par) | |
Default execute method Checks user permissions, calls the function given in mFunction. | |
showForm ($title) |
A special page that redirects to the URL of a given file.
Definition at line 29 of file SpecialFilepath.php.
Definition at line 31 of file SpecialFilepath.php.
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
$subPage | string|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().
SpecialFilepath::showForm | ( | $ | title | ) |
$title | Title |
Definition at line 75 of file SpecialFilepath.php.
References $title, Html\closeElement(), Html\element(), SpecialPage\getOutput(), SpecialPage\getTitle(), Html\hidden(), Xml\inputLabel(), SpecialPage\msg(), Html\openElement(), and Xml\submitButton().
Referenced by execute().