class MediaWiktory::Wikipedia::Actions::Abusefilterchecksyntax
Check syntax of an AbuseFilter filter.
Usage:
“`ruby api.abusefilterchecksyntax.filter(value).perform # returns string with raw output # or api.abusefilterchecksyntax.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 syntax on.
@param value [String] @return [self]
# File lib/mediawiktory/wikipedia/actions/abusefilterchecksyntax.rb, line 26 def filter(value) merge(filter: value.to_s) end