- if ( isset( $this->prop['preferencestoken'] ) ) {
- $p = $this->getModulePrefix();
- $this->addDeprecation(
- [
- 'apiwarn-deprecation-withreplacement',
- "{$p}prop=preferencestoken",
- 'action=query&meta=tokens',
- ],
- "meta=userinfo&{$p}prop=preferencestoken"
- );
- }