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 execute method, which sends the HTML for the special page to $wgOut. The parent class has an execute method which distributes the call to the historical global functions. Additionally, execute also checks if the user has the necessary access privileges and bails out if not.