preg_match( '/\<\s*cross-domain-policy\s*\>/i', $text )
) {
$this->dieUsage(
- 'This response cannot be represented using format=php. See https://bugzilla.wikimedia.org/show_bug.cgi?id=66776',
+ 'This response cannot be represented using format=php. ' .
+ 'See https://phabricator.wikimedia.org/T68776',
'internalerror'
);
}
}
public function getAllowedParams() {
- $ret = array(
+ $ret = parent::getAllowedParams() + array(
'formatversion' => array(
ApiBase::PARAM_TYPE => array( 1, 2, 'latest' ),
ApiBase::PARAM_DFLT => 1,