MediaWiki REL1_39
ActionRestriction.php
Go to the documentation of this file.
1<?php
24
31
35 public const TYPE = 'action';
36
40 public const TYPE_ID = 3;
41
45 public function matches( \Title $title ) {
46 // Action blocks don't apply to particular titles. For example,
47 // if a block only blocked uploading, the target would still be
48 // allowed to edit any page.
49 return false;
50 }
51
52}
Restriction for partial blocks of actions.
matches(\Title $title)
Determine if a restriction matches a given title.1.33 bool
Represents a title within MediaWiki.
Definition Title.php:49