MediaWiki  master
ActionRestriction.php
Go to the documentation of this file.
1 <?php
24 
26 
33 
37  public const TYPE = 'action';
38 
42  public const TYPE_ID = 3;
43 
47  public function matches( Title $title ) {
48  // Action blocks don't apply to particular titles. For example,
49  // if a block only blocked uploading, the target would still be
50  // allowed to edit any page.
51  return false;
52  }
53 
54 }
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:82