Translations:Manual:SpecialPage.php/4/en

The object instantiated must be either an instance of SpecialPage or a sub-class thereof. It must have an  method, which sends the HTML for the special page to $wgOut. The parent class has an  method which distributes the call to the historical global functions. Additionally,  also checks if the user has the necessary access privileges and bails out if not.