MediaWiki  REL1_19
SpecialMypage Class Reference

SpecialMypage, SpecialMytalk and SpecialMycontributions special pages are used to get user independant links pointing to the user page, talk page and list of contributions. More...

Inheritance diagram for SpecialMypage:
Collaboration diagram for SpecialMypage:

List of all members.

Public Member Functions

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

Detailed Description

SpecialMypage, SpecialMytalk and SpecialMycontributions special pages are used to get user independant links pointing to the user page, talk page and list of contributions.

This can let us cache a single copy of any generated content for all users. Shortcut to construct a special page pointing to current user user's page.

Definition at line 1082 of file SpecialPage.php.


Constructor & Destructor Documentation

Definition at line 1083 of file SpecialPage.php.


Member Function Documentation

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

False otherwise.

Parameters:
$parString Subpage string
Returns:
Title|false

Reimplemented from RedirectSpecialPage.

Definition at line 1091 of file SpecialPage.php.

References SpecialPage\getName(), SpecialPage\getUser(), and Title\makeTitle().

Here is the call graph for this function:


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