break;
default:
- self::dieUsage( __METHOD__ . ': Unknown value for \'formatversion\'' );
+ $this->dieUsage( __METHOD__ . ': Unknown value for \'formatversion\'', 'unknownformatversion' );
}
$text = serialize( $this->getResult()->getResultData( null, $transforms ) );
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'
);
}