MediaWiki REL1_30
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:1544
An error page which can definitely be safely rendered using the OutputPage.
static getMain()
Static methods.
Show an error when the user tries to do something whilst blocked.
__construct(Block $block)