- // Deprecated parameters
- if ( isset( $prop['hasrelated'] ) ) {
- $this->addDeprecation(
- [ 'apiwarn-deprecation-parameter', 'srprop=hasrelated' ], 'action=search&srprop=hasrelated'
- );
- }
- if ( isset( $prop['score'] ) ) {
- $this->addDeprecation(
- [ 'apiwarn-deprecation-parameter', 'srprop=score' ], 'action=search&srprop=score'
- );
- }
-