MediaWiki  master
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. More...
 
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 74 of file SpecialPageFactory_deprecated.php.

References $linkRenderer.

◆ executePath()

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

Definition at line 67 of file SpecialPageFactory_deprecated.php.

References $linkRenderer.

◆ exists()

static SpecialPageFactory::exists (   $name)
static

Definition at line 43 of file SpecialPageFactory_deprecated.php.

References $name.

◆ getLocalNameFor()

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

◆ getNames()

static SpecialPageFactory::getNames ( )
static

◆ getPage()

static SpecialPageFactory::getPage (   $name)
static

Definition at line 47 of file SpecialPageFactory_deprecated.php.

References $name.

Referenced by SpecialPageFactoryTest\testGetPage().

◆ getRegularPages()

static SpecialPageFactory::getRegularPages ( )
static

Definition at line 57 of file SpecialPageFactory_deprecated.php.

◆ getRestrictedPages()

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

Definition at line 61 of file SpecialPageFactory_deprecated.php.

References $user.

◆ getTitleForAlias()

static SpecialPageFactory::getTitleForAlias (   $alias)
static

◆ getUsablePages()

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

Definition at line 51 of file SpecialPageFactory_deprecated.php.

References $user.

◆ resetList()

static SpecialPageFactory::resetList ( )
static

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

Definition at line 94 of file SpecialPageFactory_deprecated.php.

◆ resolveAlias()

static SpecialPageFactory::resolveAlias (   $alias)
static

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