MediaWiki master
GrantsLocalization.php File Reference

Go to the source code of this file.

Classes

class  MediaWiki\Permissions\GrantsLocalization
 This separate service is needed because the ::getGrantsLink method requires a LinkRenderer and if we tried to inject a LinkRenderer into the GrantsInfo service, it would result in recursive service instantiation for sessions using the BotPasswordSessionProvider, as a result of injecting the LinkRenderer when trying to use a GrantsInfo method that doesn't even need it. More...
 

Namespaces

namespace  MediaWiki\Permissions
 

Detailed Description

Note
GPL-2.0-or-later

Definition in file GrantsLocalization.php.