/**
* Get the permission required to perform this action. Often, but not always,
* the same as the action name
+ * @return String|null
*/
- public abstract function getRestriction();
+ public function getRestriction() {
+ return null;
+ }
/**
* Checks if the given user (identified by an object) can perform this action. Can be
return 'credits';
}
- public function getRestriction() {
- return null;
- }
-
protected function getDescription() {
return wfMsg( 'creditspage' );
}
return 'history';
}
- public function getRestriction() {
- return null;
- }
-
public function requiresWrite() {
return false;
}
return 'info';
}
- public function getRestriction() {
- return null;
- }
-
protected function getDescription() {
return '';
}
return 'markpatrolled';
}
- public function getRestriction() {
- return null;
- }
-
protected function getDescription() {
return '';
}
return 'purge';
}
- public function getRestriction() {
- return null;
- }
-
public function requiresUnblock() {
return false;
}
return 'raw';
}
- public function getRestriction() {
- return null;
- }
-
public function requiresWrite() {
return false;
}
return 'revert';
}
- public function getRestriction() {
- return null;
- }
-
public function show() {
$this->getOutput()->showErrorPage( 'nosuchaction', 'nosuchactiontext' );
}
return 'revisiondelete';
}
- public function getRestriction() {
- return null;
- }
-
public function requiresUnblock() {
return false;
}
return 'watch';
}
- public function getRestriction() {
- return null;
- }
-
public function requiresUnblock() {
return false;
}