public function getPossibleErrors()
 {
     $psModule = new ApiPageSet($this);
     return array_merge(parent::getPossibleErrors(), $psModule->getPossibleErrors(), $this->getRequireMaxOneParameterErrorMessages(array('timestamp', 'torevid', 'newerthanrevid')), $this->getRequireOnlyOneParameterErrorMessages(array_merge(array('entirewatchlist'), array_keys($psModule->getAllowedParams()))), array(array('code' => 'notloggedin', 'info' => 'Anonymous users cannot use watchlist change notifications'), array('code' => 'multpages', 'info' => 'torevid may only be used with a single page'), array('code' => 'multpages', 'info' => 'newerthanrevid may only be used with a single page')));
 }
Example #2
0
 public function getPossibleErrors()
 {
     $psModule = new ApiPageSet($this);
     return array_merge(parent::getPossibleErrors(), $psModule->getPossibleErrors());
 }