8 lines
155 B
Ruby
8 lines
155 B
Ruby
require 'mediawiki_api'
|
|
|
|
class MWClient < MediawikiApi::Client
|
|
def get_wikitext(title)
|
|
@conn.get '/index.php', action: 'raw', title: title
|
|
end
|
|
end
|