|
MediaWiki 1.43.1
|
Inherits MediaWiki\Skin\ComponentRegistryContext.

Public Member Functions | |
| __construct (Skin $skin) | |
| getConfig () | |
Returns the config needed for the component.
| |
| getContextSource () | |
| getFooterIcons () | |
| Temporarily allows access to Skin method. | |
| getLanguage () | |
| getMessageLocalizer () | |
| getOutput () | |
| getRelevantTitle () | |
| getTitle () | |
Returns the Title object for the component.
| |
| getUser () | |
| getWikiPage () | |
| makeFooterIcon ( $icon, $withImage='withImage') | |
| Renders a $wgFooterIcons icon according to the method's arguments It exists to support skins overriding the method in MediaWiki 1.40 (overriding the method is now deprecated) It can be removed in 1.41. | |
Definition at line 35 of file SkinComponentRegistryContext.php.
| MediaWiki\Skin\SkinComponentRegistryContext::__construct | ( | Skin | $skin | ) |
| Skin | $skin |
Definition at line 46 of file SkinComponentRegistryContext.php.
| MediaWiki\Skin\SkinComponentRegistryContext::getConfig | ( | ) |
Returns the config needed for the component.
Implements MediaWiki\Skin\ComponentRegistryContext.
Definition at line 60 of file SkinComponentRegistryContext.php.
Referenced by MediaWiki\Skin\SkinComponentCopyright\__construct().
| MediaWiki\Skin\SkinComponentRegistryContext::getContextSource | ( | ) |
Definition at line 53 of file SkinComponentRegistryContext.php.
| MediaWiki\Skin\SkinComponentRegistryContext::getFooterIcons | ( | ) |
Temporarily allows access to Skin method.
It exists to support skins overriding the method in MediaWiki 1.40 (overriding the method is now deprecated) It can be removed in 1.41
Definition at line 130 of file SkinComponentRegistryContext.php.
| MediaWiki\Skin\SkinComponentRegistryContext::getLanguage | ( | ) |
Definition at line 95 of file SkinComponentRegistryContext.php.
Referenced by MediaWiki\Skin\SkinComponentLastModified\__construct().
| MediaWiki\Skin\SkinComponentRegistryContext::getMessageLocalizer | ( | ) |
Definition at line 102 of file SkinComponentRegistryContext.php.
Referenced by MediaWiki\Skin\SkinComponentCopyright\__construct(), and MediaWiki\Skin\SkinComponentLastModified\__construct().
| MediaWiki\Skin\SkinComponentRegistryContext::getOutput | ( | ) |
Definition at line 81 of file SkinComponentRegistryContext.php.
| MediaWiki\Skin\SkinComponentRegistryContext::getRelevantTitle | ( | ) |
Definition at line 74 of file SkinComponentRegistryContext.php.
References getTitle().
| MediaWiki\Skin\SkinComponentRegistryContext::getTitle | ( | ) |
Returns the Title object for the component.
Implements MediaWiki\Skin\ComponentRegistryContext.
Definition at line 67 of file SkinComponentRegistryContext.php.
| MediaWiki\Skin\SkinComponentRegistryContext::getUser | ( | ) |
Definition at line 88 of file SkinComponentRegistryContext.php.
Referenced by MediaWiki\Skin\SkinComponentCopyright\__construct(), and MediaWiki\Skin\SkinComponentLastModified\__construct().
| MediaWiki\Skin\SkinComponentRegistryContext::getWikiPage | ( | ) |
Definition at line 116 of file SkinComponentRegistryContext.php.
| MediaWiki\Skin\SkinComponentRegistryContext::makeFooterIcon | ( | $icon, | |
| $withImage = 'withImage' ) |
Renders a $wgFooterIcons icon according to the method's arguments It exists to support skins overriding the method in MediaWiki 1.40 (overriding the method is now deprecated) It can be removed in 1.41.
| array | $icon | The icon to build the html for, see $wgFooterIcons for the format of this array. |
| bool | string | $withImage | Whether to use the icon's image or output a text-only footericon. |
Definition at line 148 of file SkinComponentRegistryContext.php.