MediaWiki REL1_33
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.
30 $params = $block->getPermissionsError( RequestContext::getMain() );
31 parent::__construct( 'blockedtitle', array_shift( $params ), $params );
32 }
33}
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
getPermissionsError(IContextSource $context)
Get the key and parameters for the corresponding error message.
Definition Block.php:1878
An error page which can definitely be safely rendered using the OutputPage.
Show an error when the user tries to do something whilst blocked.
__construct(Block $block)