Only @inheritDoc works for the Sniff
MediaWiki.Commenting.FunctionComment
Change-Id: I91fc02cda6701d790e4334fc2bc47f230955545c
23 files changed:
/**
* @deprecated Do not use. This only exists here because UsageException is in
* the inheritance chain for backwards compatibility.
/**
* @deprecated Do not use. This only exists here because UsageException is in
* the inheritance chain for backwards compatibility.
*/
public function getCodeString() {
wfDeprecated( __METHOD__, '1.29' );
*/
public function getCodeString() {
wfDeprecated( __METHOD__, '1.29' );
/**
* @deprecated Do not use. This only exists here because UsageException is in
* the inheritance chain for backwards compatibility.
/**
* @deprecated Do not use. This only exists here because UsageException is in
* the inheritance chain for backwards compatibility.
*/
public function getMessageArray() {
wfDeprecated( __METHOD__, '1.29' );
*/
public function getMessageArray() {
wfDeprecated( __METHOD__, '1.29' );
*/
public function getMessageObject() {
return $this->status->getMessage();
*/
public function getMessageObject() {
return $this->status->getMessage();
* @note Override this if it makes sense to support more than one instance
*/
public function getUniqueId() {
* @note Override this if it makes sense to support more than one instance
*/
public function getUniqueId() {
* @note Reimplement this if you do anything other than
* User::getCanonicalName( $req->username ) to determine the user being
* authenticated.
* @note Reimplement this if you do anything other than
* User::getCanonicalName( $req->username ) to determine the user being
* authenticated.
* @note Reimplement this if self::getAuthenticationRequests( AuthManager::ACTION_REMOVE )
* doesn't return requests that will revoke all access for the user.
*/
* @note Reimplement this if self::getAuthenticationRequests( AuthManager::ACTION_REMOVE )
* doesn't return requests that will revoke all access for the user.
*/
* @note Reimplement this if self::getAuthenticationRequests( AuthManager::ACTION_REMOVE )
* doesn't return requests that will revoke all access for the user.
*/
* @note Reimplement this if self::getAuthenticationRequests( AuthManager::ACTION_REMOVE )
* doesn't return requests that will revoke all access for the user.
*/
const TYPE_NONE = 'none';
/**
const TYPE_NONE = 'none';
/**
*
* Of the requests returned by this method, exactly one should have
* {@link AuthenticationRequest::$required} set to REQUIRED.
*
* Of the requests returned by this method, exactly one should have
* {@link AuthenticationRequest::$required} set to REQUIRED.
*/
public function displaysOnUnstructuredUi() {
return !!$this->showHide;
}
/**
*/
public function displaysOnUnstructuredUi() {
return !!$this->showHide;
}
/**
*/
public function isFeatureAvailableOnStructuredUi() {
return $this->isReplacedInStructuredUi ||
*/
public function isFeatureAvailableOnStructuredUi() {
return $this->isReplacedInStructuredUi ||
*/
public function getJsData() {
$output = parent::getJsData();
*/
public function getJsData() {
$output = parent::getJsData();
*/
public function isSelected( FormOptions $opts ) {
return !$opts[ $this->getName() ] &&
*/
public function isSelected( FormOptions $opts ) {
return !$opts[ $this->getName() ] &&
*/
protected function createFilter( array $filterDefinition ) {
return new ChangesListBooleanFilter( $filterDefinition );
*/
protected function createFilter( array $filterDefinition ) {
return new ChangesListBooleanFilter( $filterDefinition );
*/
public function isPerGroupRequestParameter() {
return false;
*/
public function isPerGroupRequestParameter() {
return false;
*/
class ChangesListStringOptionsFilter extends ChangesListFilter {
/**
*/
class ChangesListStringOptionsFilter extends ChangesListFilter {
/**
*/
public function displaysOnUnstructuredUi() {
return false;
}
/**
*/
public function displaysOnUnstructuredUi() {
return false;
}
/**
*/
public function isSelected( FormOptions $opts ) {
$option = $opts[ $this->getGroup()->getName() ];
*/
public function isSelected( FormOptions $opts ) {
$option = $opts[ $this->getGroup()->getName() ];
*/
public function isPerGroupRequestParameter() {
return true;
*/
public function isPerGroupRequestParameter() {
return true;
*/
protected function createFilter( array $filterDefinition ) {
return new ChangesListStringOptionsFilter( $filterDefinition );
*/
protected function createFilter( array $filterDefinition ) {
return new ChangesListStringOptionsFilter( $filterDefinition );
*/
public function getJsData() {
$output = parent::getJsData();
*/
public function getJsData() {
$output = parent::getJsData();
*/
class BufferHandler extends BaseBufferHandler {
/**
*/
class BufferHandler extends BaseBufferHandler {
/**
*/
public function handle( array $record ) {
if ( !$this->initialized ) {
*/
public function handle( array $record ) {
if ( !$this->initialized ) {
*/
protected function write( array $record ) {
if ( $record['formatted'] !== null ) {
*/
protected function write( array $record ) {
if ( $record['formatted'] !== null ) {
*/
public function handleBatch( array $batch ) {
$channels = [];
*/
public function handleBatch( array $batch ) {
$channels = [];
*/
public function format( array $record ) {
// Drop the 'private' flag from the context
*/
public function format( array $record ) {
// Drop the 'private' flag from the context
*/
class WordLevelDiff extends \Diff {
/**
*/
class WordLevelDiff extends \Diff {
/**
*/
protected $bailoutComplexity = 40000000; // Roughly 6K x 6K words changed
*/
protected $bailoutComplexity = 40000000; // Roughly 6K x 6K words changed
* @since 1.29
*/
public function getMessageObject() {
* @since 1.29
*/
public function getMessageObject() {
* Sets sampling rate for all items in $data.
* The sample rate specified in a StatsdData entity overrides the sample rate specified here.
*
* Sets sampling rate for all items in $data.
* The sample rate specified in a StatsdData entity overrides the sample rate specified here.
*
*/
public function appendSampleRate( $data, $sampleRate = 1 ) {
$samplingRates = $this->samplingRates;
*/
public function appendSampleRate( $data, $sampleRate = 1 ) {
$samplingRates = $this->samplingRates;
*/
protected function throwException( Exception $exception ) {
if ( !$this->getFailSilently() ) {
*/
protected function throwException( Exception $exception ) {
if ( !$this->getFailSilently() ) {
*/
protected function transformImageMagick( $image, $params ) {
global $wgUseTinyRGBForJPGThumbnails;
*/
protected function transformImageMagick( $image, $params ) {
global $wgUseTinyRGBForJPGThumbnails;
*/
class ResourceLoaderMediaWikiUtilModule extends ResourceLoaderFileModule {
/**
*/
class ResourceLoaderMediaWikiUtilModule extends ResourceLoaderFileModule {
/**
*/
public function getScript( ResourceLoaderContext $context ) {
return ResourceLoader::makeConfigSetScript(
*/
public function getScript( ResourceLoaderContext $context ) {
return ResourceLoader::makeConfigSetScript(
*/
public function supportsURLLoading() {
return false;
}
/**
*/
public function supportsURLLoading() {
return false;
}
/**
*/
public function enableModuleContentVersion() {
return true;
*/
public function enableModuleContentVersion() {
return true;
*/
public function getEngineHints( SearchEngine $engine ) {
return [];
*/
public function getEngineHints( SearchEngine $engine ) {
return [];
*/
public function getEngineHints( SearchEngine $engine ) {
return [];
*/
public function getEngineHints( SearchEngine $engine ) {
return [];
*/
protected function transformFilterDefinition( array $filterDefinition ) {
if ( isset( $filterDefinition['showHideSuffix'] ) ) {
*/
protected function transformFilterDefinition( array $filterDefinition ) {
if ( isset( $filterDefinition['showHideSuffix'] ) ) {
*/
protected function registerFilters() {
parent::registerFilters();
*/
protected function registerFilters() {
parent::registerFilters();
*/
protected function buildQuery( &$tables, &$fields, &$conds,
&$query_options, &$join_conds, FormOptions $opts
*/
protected function buildQuery( &$tables, &$fields, &$conds,
&$query_options, &$join_conds, FormOptions $opts
*/
protected function doMainQuery( $tables, $fields, $conds, $query_options,
$join_conds, FormOptions $opts
*/
protected function doMainQuery( $tables, $fields, $conds, $query_options,
$join_conds, FormOptions $opts
*/
protected function doMainQuery( $tables, $select, $conds, $query_options,
$join_conds, FormOptions $opts
*/
protected function doMainQuery( $tables, $select, $conds, $query_options,
$join_conds, FormOptions $opts
*/
protected function transformFilterDefinition( array $filterDefinition ) {
if ( isset( $filterDefinition['showHideSuffix'] ) ) {
*/
protected function transformFilterDefinition( array $filterDefinition ) {
if ( isset( $filterDefinition['showHideSuffix'] ) ) {
*/
protected function registerFilters() {
parent::registerFilters();
*/
protected function registerFilters() {
parent::registerFilters();
*/
protected function buildQuery( &$tables, &$fields, &$conds, &$query_options,
&$join_conds, FormOptions $opts
*/
protected function buildQuery( &$tables, &$fields, &$conds, &$query_options,
&$join_conds, FormOptions $opts
*/
protected function doMainQuery( $tables, $fields, $conds, $query_options,
$join_conds, FormOptions $opts
*/
protected function doMainQuery( $tables, $fields, $conds, $query_options,
$join_conds, FormOptions $opts
*/
public function tryStashFile( User $user, $isPartial = false ) {
try {
*/
public function tryStashFile( User $user, $isPartial = false ) {
try {
* @throws UploadChunkVerificationException
* @deprecated since 1.28 Use tryStashFile() instead
*/
* @throws UploadChunkVerificationException
* @deprecated since 1.28 Use tryStashFile() instead
*/
* @throws UploadChunkVerificationException
* @deprecated since 1.28
*/
* @throws UploadChunkVerificationException
* @deprecated since 1.28
*/
* @throws UploadChunkVerificationException
* @deprecated since 1.28
*/
* @throws UploadChunkVerificationException
* @deprecated since 1.28
*/