MediaWiki REL1_31
UnprotectAction.php
Go to the documentation of this file.
1<?php
34
35 public function getName() {
36 return 'unprotect';
37 }
38
39 public function show() {
40 $this->page->unprotect();
41 }
42
43 public function doesWrites() {
44 return true;
45 }
46}
Handle page protection.
Handle page unprotection.
doesWrites()
Indicates whether this action may perform database writes.
getName()
Return the name of the action this object responds to.
show()
The main action entry point.