MediaWiki REL1_35
SpecialPageFactory Class Reference

Wrapper for backward compatibility for old callers that used static methods. More...

Static Public Member Functions

static capturePath (Title $title, IContextSource $context, LinkRenderer $linkRenderer=null)
 
static executePath (Title &$title, IContextSource &$context, $including=false, LinkRenderer $linkRenderer=null)
 
static exists ( $name)
 
static getLocalNameFor ( $name, $subpage=false)
 
static getNames ()
 
static getPage ( $name)
 
static getRegularPages ()
 
static getRestrictedPages (User $user=null)
 
static getTitleForAlias ( $alias)
 
static getUsablePages (User $user=null)
 
static resetList ()
 No-op since 1.32, call overrideMwServices() instead.
 
static resolveAlias ( $alias)
 

Detailed Description

Wrapper for backward compatibility for old callers that used static methods.

Deprecated:
since 1.32, use the SpecialPageFactory service instead

Definition at line 34 of file SpecialPageFactory_deprecated.php.

Member Function Documentation

◆ capturePath()

static SpecialPageFactory::capturePath ( Title  $title,
IContextSource  $context,
LinkRenderer  $linkRenderer = null 
)
static

Definition at line 82 of file SpecialPageFactory_deprecated.php.

References $title, and wfDeprecated().

◆ executePath()

static SpecialPageFactory::executePath ( Title $title,
IContextSource $context,
  $including = false,
LinkRenderer  $linkRenderer = null 
)
static

Definition at line 74 of file SpecialPageFactory_deprecated.php.

References $title, and wfDeprecated().

◆ exists()

static SpecialPageFactory::exists (   $name)
static

Definition at line 45 of file SpecialPageFactory_deprecated.php.

References wfDeprecated().

◆ getLocalNameFor()

static SpecialPageFactory::getLocalNameFor (   $name,
  $subpage = false 
)
static

Definition at line 90 of file SpecialPageFactory_deprecated.php.

References wfDeprecated().

◆ getNames()

static SpecialPageFactory::getNames ( )
static

Definition at line 35 of file SpecialPageFactory_deprecated.php.

◆ getPage()

static SpecialPageFactory::getPage (   $name)
static

Definition at line 50 of file SpecialPageFactory_deprecated.php.

References wfDeprecated().

◆ getRegularPages()

static SpecialPageFactory::getRegularPages ( )
static

Definition at line 62 of file SpecialPageFactory_deprecated.php.

◆ getRestrictedPages()

static SpecialPageFactory::getRestrictedPages ( User  $user = null)
static

Definition at line 67 of file SpecialPageFactory_deprecated.php.

◆ getTitleForAlias()

static SpecialPageFactory::getTitleForAlias (   $alias)
static

Definition at line 96 of file SpecialPageFactory_deprecated.php.

References wfDeprecated().

◆ getUsablePages()

static SpecialPageFactory::getUsablePages ( User  $user = null)
static

Definition at line 55 of file SpecialPageFactory_deprecated.php.

◆ resetList()

static SpecialPageFactory::resetList ( )
static

No-op since 1.32, call overrideMwServices() instead.

Definition at line 105 of file SpecialPageFactory_deprecated.php.

References wfDeprecated().

◆ resolveAlias()

static SpecialPageFactory::resolveAlias (   $alias)
static

Definition at line 40 of file SpecialPageFactory_deprecated.php.


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