MediaWiki master
ActionRestriction.php
Go to the documentation of this file.
1<?php
10
12
19
23 public const TYPE = 'action';
24
28 public const TYPE_ID = 3;
29
33 public function matches( Title $title ) {
34 // Action blocks don't apply to particular titles. For example,
35 // if a block only blocked uploading, the target would still be
36 // allowed to edit any page.
37 return false;
38 }
39
40}
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:69