SpecialMypage Class Reference
[SpecialPage]

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

Inherits UnlistedSpecialPage.

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 905 of file SpecialPage.php.


Constructor & Destructor Documentation

SpecialMypage::__construct (  ) 

Definition at line 906 of file SpecialPage.php.


Member Function Documentation

SpecialMypage::getRedirect ( subpage  ) 

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

False otherwise.

Reimplemented from SpecialPage.

Definition at line 911 of file SpecialPage.php.

References $wgUser, and Title::makeTitle().


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

Generated on Sat Sep 5 02:08:47 2009 for MediaWiki by  doxygen 1.5.9