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