Module: MediaWiki::Query::Lists::Log::Patrol
- Included in:
- MediaWiki::Query::Lists::Log
- Defined in:
- lib/mediawiki/query/lists/log/patrol.rb
Instance Method Summary collapse
-
#get_patrol_log(user = nil, title = nil, start = nil, stop = nil, limit = @query_limit_default) ⇒ Array<Hash>
Gets patrol/patrol logs.
Instance Method Details
#get_patrol_log(user = nil, title = nil, start = nil, stop = nil, limit = @query_limit_default) ⇒ Array<Hash>
Gets patrol/patrol logs.
12 13 14 15 16 17 18 19 20 21 |
# File 'lib/mediawiki/query/lists/log/patrol.rb', line 12 def get_patrol_log(user = nil, title = nil, start = nil, stop = nil, limit = @query_limit_default) response = get_log('patrol/patrol', user, title, start, stop, limit) ret = [] response['query']['logevents'].each do |log| ret << loghash_patrol(log) end ret end |