MediaWiki REL1_31
UserBlockedError.php
Go to the documentation of this file.
1<?php
28 public function __construct( Block $block ) {
29 // @todo FIXME: Implement a more proper way to get context here.
31 parent::__construct( 'blockedtitle', array_shift( $params ), $params );
32 }
33}
getPermissionsError(IContextSource $context)
Get the key and parameters for the corresponding error message.
Definition Block.php:1615
An error page which can definitely be safely rendered using the OutputPage.
static getMain()
Get the RequestContext object associated with the main request.
Show an error when the user tries to do something whilst blocked.
__construct(Block $block)