Set of all known menu items for easier building.
More...
Set of all known menu items for easier building.
◆ __construct()
MediaWiki\Minerva\Menu\Definitions::__construct |
( |
SpecialPageFactory | $specialPageFactory | ) |
|
Initialize definitions helper class.
- Parameters
-
SpecialPageFactory | $specialPageFactory | |
◆ insertAboutItem()
MediaWiki\Minerva\Menu\Definitions::insertAboutItem |
( |
Group | $group | ) |
|
Build and insert About page link.
- Parameters
-
◆ insertAuthMenuItem()
MediaWiki\Minerva\Menu\Definitions::insertAuthMenuItem |
( |
Group | $group | ) |
|
Creates a login or logout button with a profile button.
- Parameters
-
◆ insertCommunityPortal()
MediaWiki\Minerva\Menu\Definitions::insertCommunityPortal |
( |
Group | $group | ) |
|
Build and insert the CommunityPortal link.
- Parameters
-
◆ insertDisclaimersItem()
MediaWiki\Minerva\Menu\Definitions::insertDisclaimersItem |
( |
Group | $group | ) |
|
Build and insert Disclaimers link.
- Parameters
-
◆ insertDonateItem()
MediaWiki\Minerva\Menu\Definitions::insertDonateItem |
( |
Group | $group | ) |
|
Insert the Donate Link in the Mobile Menu.
- Parameters
-
◆ insertMobileOptionsItem()
MediaWiki\Minerva\Menu\Definitions::insertMobileOptionsItem |
( |
Group | $group | ) |
|
Build and insert the Settings link.
- Parameters
-
◆ insertNearbyIfSupported()
MediaWiki\Minerva\Menu\Definitions::insertNearbyIfSupported |
( |
Group | $group | ) |
|
If Nearby is supported, build and inject the Nearby link.
- Parameters
-
◆ insertPreferencesItem()
MediaWiki\Minerva\Menu\Definitions::insertPreferencesItem |
( |
Group | $group | ) |
|
Build and insert the Preferences link.
- Parameters
-
◆ insertRecentChanges()
MediaWiki\Minerva\Menu\Definitions::insertRecentChanges |
( |
Group | $group | ) |
|
Build and insert the RecentChanges link.
- Parameters
-
◆ insertSpecialPages()
MediaWiki\Minerva\Menu\Definitions::insertSpecialPages |
( |
Group | $group | ) |
|
Build and insert the SpecialPages link.
- Parameters
-
◆ msg()
MediaWiki\Minerva\Menu\Definitions::msg |
( |
string | $key | ) |
|
Perform message localization.
- Parameters
-
- Returns
- Message
The documentation for this class was generated from the following file: