class MediaWiktory::Wikipedia::Actions::Abusefiltercheckmatch

Check to see if an AbuseFilter matches a set of variables, editor logged AbuseFilter event.

Usage:

“`ruby api.abusefiltercheckmatch.filter(value).perform # returns string with raw output # or api.abusefiltercheckmatch.filter(value).response # returns output parsed and wrapped into Response object “`

See {Base} for generic explanation of working with MediaWiki actions and {MediaWiktory::Wikipedia::Response} for working with action responses.

All action's parameters are documented as its public methods, see below.

Public Instance Methods

filter(value) click to toggle source

The full filter text to check for a match.

@param value [String] @return [self]

# File lib/mediawiktory/wikipedia/actions/abusefiltercheckmatch.rb, line 26
def filter(value)
  merge(filter: value.to_s)
end
logid(value) click to toggle source

Abuse filter log ID to check against.

@param value [Integer] @return [self]

# File lib/mediawiktory/wikipedia/actions/abusefiltercheckmatch.rb, line 50
def logid(value)
  merge(logid: value.to_s)
end
rcid(value) click to toggle source

Recent change ID to check against.

@param value [Integer] @return [self]

# File lib/mediawiktory/wikipedia/actions/abusefiltercheckmatch.rb, line 42
def rcid(value)
  merge(rcid: value.to_s)
end
vars(value) click to toggle source

JSON encoded array of variables to test against.

@param value [String] @return [self]

# File lib/mediawiktory/wikipedia/actions/abusefiltercheckmatch.rb, line 34
def vars(value)
  merge(vars: value.to_s)
end