|
MediaWiki master
|
Public Member Functions | |
| __construct (private readonly MessageLocalizer $localizer, private readonly HookRunner $hookRunner, private readonly ServiceOptions $serviceOptions,) | |
| getCards () | |
Static Public Member Functions | |
| static | getAssociatedNavigationLinks (UserIdentity $viewingUser, ?UserIdentity $targetUser) |
| static | isEnabledOnCurrentSkin (Skin $skin, array $specialContributeSkinsEnabled=[]) |
| Check if the Special:Contribute page is enabled for the current skin This can be removed when T323083 is resolved ie. | |
Public Attributes | |
| const | CONSTRUCTOR_OPTIONS = [ MainConfigNames::SpecialContributeNewPageTarget ] |
Definition at line 20 of file ContributeFactory.php.
| MediaWiki\Specials\Contribute\ContributeFactory::__construct | ( | private readonly MessageLocalizer | $localizer, |
| private readonly HookRunner | $hookRunner, | ||
| private readonly ServiceOptions | $serviceOptions ) |
Definition at line 24 of file ContributeFactory.php.
|
static |
| UserIdentity | $viewingUser | |
| ?UserIdentity | $targetUser |
Definition at line 87 of file ContributeFactory.php.
References if.
| MediaWiki\Specials\Contribute\ContributeFactory::getCards | ( | ) |
Definition at line 32 of file ContributeFactory.php.
References $url.
|
static |
Check if the Special:Contribute page is enabled for the current skin This can be removed when T323083 is resolved ie.
the Special:Contribute feature has been shipped by the WMF Language Team.
| Skin | $skin | |
| array | $specialContributeSkinsEnabled |
Definition at line 71 of file ContributeFactory.php.
References return.
| const MediaWiki\Specials\Contribute\ContributeFactory::CONSTRUCTOR_OPTIONS = [ MainConfigNames::SpecialContributeNewPageTarget ] |
Definition at line 22 of file ContributeFactory.php.