Module: MediaWiktory::Wikipedia::Actions
- Included in:
- Api
- Defined in:
- lib/mediawiktory/wikipedia/actions.rb,
lib/mediawiktory/wikipedia/actions/rsd.rb,
lib/mediawiktory/wikipedia/actions/tag.rb,
lib/mediawiktory/wikipedia/actions/base.rb,
lib/mediawiktory/wikipedia/actions/edit.rb,
lib/mediawiktory/wikipedia/actions/help.rb,
lib/mediawiktory/wikipedia/actions/move.rb,
lib/mediawiktory/wikipedia/actions/block.rb,
lib/mediawiktory/wikipedia/actions/graph.rb,
lib/mediawiktory/wikipedia/actions/login.rb,
lib/mediawiktory/wikipedia/actions/parse.rb,
lib/mediawiktory/wikipedia/actions/purge.rb,
lib/mediawiktory/wikipedia/actions/query.rb,
lib/mediawiktory/wikipedia/actions/thank.rb,
lib/mediawiktory/wikipedia/actions/watch.rb,
lib/mediawiktory/wikipedia/actions/cxsave.rb,
lib/mediawiktory/wikipedia/actions/delete.rb,
lib/mediawiktory/wikipedia/actions/enlist.rb,
lib/mediawiktory/wikipedia/actions/import.rb,
lib/mediawiktory/wikipedia/actions/logout.rb,
lib/mediawiktory/wikipedia/actions/patrol.rb,
lib/mediawiktory/wikipedia/actions/review.rb,
lib/mediawiktory/wikipedia/actions/tokens.rb,
lib/mediawiktory/wikipedia/actions/upload.rb,
lib/mediawiktory/wikipedia/actions/compare.rb,
lib/mediawiktory/wikipedia/actions/cxtoken.rb,
lib/mediawiktory/wikipedia/actions/options.rb,
lib/mediawiktory/wikipedia/actions/protect.rb,
lib/mediawiktory/wikipedia/actions/unblock.rb,
lib/mediawiktory/wikipedia/actions/cxdelete.rb,
lib/mediawiktory/wikipedia/actions/jsondata.rb,
lib/mediawiktory/wikipedia/actions/rollback.rb,
lib/mediawiktory/wikipedia/actions/undelete.rb,
lib/mediawiktory/wikipedia/actions/wikilove.rb,
lib/mediawiktory/wikipedia/actions/antispoof.rb,
lib/mediawiktory/wikipedia/actions/cspreport.rb,
lib/mediawiktory/wikipedia/actions/cxpublish.rb,
lib/mediawiktory/wikipedia/actions/emailuser.rb,
lib/mediawiktory/wikipedia/actions/paraminfo.rb,
lib/mediawiktory/wikipedia/actions/stabilize.rb,
lib/mediawiktory/wikipedia/actions/stashedit.rb,
lib/mediawiktory/wikipedia/actions/checktoken.rb,
lib/mediawiktory/wikipedia/actions/filerevert.rb,
lib/mediawiktory/wikipedia/actions/flagconfig.rb,
lib/mediawiktory/wikipedia/actions/jsonconfig.rb,
lib/mediawiktory/wikipedia/actions/managetags.rb,
lib/mediawiktory/wikipedia/actions/mobileview.rb,
lib/mediawiktory/wikipedia/actions/opensearch.rb,
lib/mediawiktory/wikipedia/actions/shortenurl.rb,
lib/mediawiktory/wikipedia/actions/sitematrix.rb,
lib/mediawiktory/wikipedia/actions/strikevote.rb,
lib/mediawiktory/wikipedia/actions/userrights.rb,
lib/mediawiktory/wikipedia/actions/zeroconfig.rb,
lib/mediawiktory/wikipedia/actions/addstudents.rb,
lib/mediawiktory/wikipedia/actions/clearhasmsg.rb,
lib/mediawiktory/wikipedia/actions/clientlogin.rb,
lib/mediawiktory/wikipedia/actions/globalblock.rb,
lib/mediawiktory/wikipedia/actions/imagerotate.rb,
lib/mediawiktory/wikipedia/actions/linkaccount.rb,
lib/mediawiktory/wikipedia/actions/massmessage.rb,
lib/mediawiktory/wikipedia/actions/categorytree.rb,
lib/mediawiktory/wikipedia/actions/echomarkread.rb,
lib/mediawiktory/wikipedia/actions/echomarkseen.rb,
lib/mediawiktory/wikipedia/actions/featuredfeed.rb,
lib/mediawiktory/wikipedia/actions/liststudents.rb,
lib/mediawiktory/wikipedia/actions/mergehistory.rb,
lib/mediawiktory/wikipedia/actions/oathvalidate.rb,
lib/mediawiktory/wikipedia/actions/templatedata.rb,
lib/mediawiktory/wikipedia/actions/visualeditor.rb,
lib/mediawiktory/wikipedia/actions/bouncehandler.rb,
lib/mediawiktory/wikipedia/actions/createaccount.rb,
lib/mediawiktory/wikipedia/actions/feedwatchlist.rb,
lib/mediawiktory/wikipedia/actions/parsoid-batch.rb,
lib/mediawiktory/wikipedia/actions/resetpassword.rb,
lib/mediawiktory/wikipedia/actions/spamblacklist.rb,
lib/mediawiktory/wikipedia/actions/unlinkaccount.rb,
lib/mediawiktory/wikipedia/actions/languagesearch.rb,
lib/mediawiktory/wikipedia/actions/pagetriagelist.rb,
lib/mediawiktory/wikipedia/actions/reviewactivity.rb,
lib/mediawiktory/wikipedia/actions/revisiondelete.rb,
lib/mediawiktory/wikipedia/actions/titleblacklist.rb,
lib/mediawiktory/wikipedia/actions/transcodereset.rb,
lib/mediawiktory/wikipedia/actions/cxconfiguration.rb,
lib/mediawiktory/wikipedia/actions/deleteeducation.rb,
lib/mediawiktory/wikipedia/actions/expandtemplates.rb,
lib/mediawiktory/wikipedia/actions/pagetriagestats.rb,
lib/mediawiktory/wikipedia/actions/setpagelanguage.rb,
lib/mediawiktory/wikipedia/actions/ulslocalization.rb,
lib/mediawiktory/wikipedia/actions/webapp-manifest.rb,
lib/mediawiktory/wikipedia/actions/centralauthtoken.rb,
lib/mediawiktory/wikipedia/actions/cxsuggestionlist.rb,
lib/mediawiktory/wikipedia/actions/globaluserrights.rb,
lib/mediawiktory/wikipedia/actions/pagetriageaction.rb,
lib/mediawiktory/wikipedia/actions/refresheducation.rb,
lib/mediawiktory/wikipedia/actions/sanitize-mapdata.rb,
lib/mediawiktory/wikipedia/actions/validatepassword.rb,
lib/mediawiktory/wikipedia/actions/visualeditoredit.rb,
lib/mediawiktory/wikipedia/actions/feedcontributions.rb,
lib/mediawiktory/wikipedia/actions/feedrecentchanges.rb,
lib/mediawiktory/wikipedia/actions/pagetriagetagging.rb,
lib/mediawiktory/wikipedia/actions/scribunto-console.rb,
lib/mediawiktory/wikipedia/actions/cirrus-config-dump.rb,
lib/mediawiktory/wikipedia/actions/fancycaptchareload.rb,
lib/mediawiktory/wikipedia/actions/pagetriagetemplate.rb,
lib/mediawiktory/wikipedia/actions/cirrus-mapping-dump.rb,
lib/mediawiktory/wikipedia/actions/deleteglobalaccount.rb,
lib/mediawiktory/wikipedia/actions/editmassmessagelist.rb,
lib/mediawiktory/wikipedia/actions/cirrus-settings-dump.rb,
lib/mediawiktory/wikipedia/actions/abusefiltercheckmatch.rb,
lib/mediawiktory/wikipedia/actions/abusefilterchecksyntax.rb,
lib/mediawiktory/wikipedia/actions/setglobalaccountstatus.rb,
lib/mediawiktory/wikipedia/actions/centralnoticechoicedata.rb,
lib/mediawiktory/wikipedia/actions/changeauthenticationdata.rb,
lib/mediawiktory/wikipedia/actions/removeauthenticationdata.rb,
lib/mediawiktory/wikipedia/actions/setnotificationtimestamp.rb,
lib/mediawiktory/wikipedia/actions/abusefilterevalexpression.rb,
lib/mediawiktory/wikipedia/actions/centralnoticequerycampaign.rb,
lib/mediawiktory/wikipedia/actions/abusefilterunblockautopromote.rb
Overview
Methods of this module contains all actions that can be used on Api. You use them like this:
api = MediaWiktory::Wikipedia::Api.new
api.query # method of Api, returning Actions::Query
.titles('Argentina', 'Bolivia') # methods of Actions::Query...
.prop(:revisions).prop(:content) # ...to set action options
.response
# => performs action and returns Response instance
See also:
Note that for each MediaWiki site the main method for data extraction (pages, categories, meta-information) is #query.
Defined Under Namespace
Modules: GlobalParams Classes: Abusefiltercheckmatch, Abusefilterchecksyntax, Abusefilterevalexpression, Abusefilterunblockautopromote, Addstudents, Antispoof, Base, Block, Bouncehandler, Categorytree, Centralauthtoken, Centralnoticechoicedata, Centralnoticequerycampaign, Changeauthenticationdata, Checktoken, CirrusConfigDump, CirrusMappingDump, CirrusSettingsDump, Clearhasmsg, Clientlogin, Compare, Createaccount, Cspreport, Cxconfiguration, Cxdelete, Cxpublish, Cxsave, Cxsuggestionlist, Cxtoken, Delete, Deleteeducation, Deleteglobalaccount, Echomarkread, Echomarkseen, Edit, Editmassmessagelist, Emailuser, Enlist, Expandtemplates, Fancycaptchareload, Featuredfeed, Feedcontributions, Feedrecentchanges, Feedwatchlist, Filerevert, Flagconfig, Get, Globalblock, Globaluserrights, Graph, Help, Imagerotate, Import, Jsonconfig, Jsondata, Languagesearch, Linkaccount, Liststudents, Login, Logout, Managetags, Massmessage, Mergehistory, Mobileview, Move, Oathvalidate, Opensearch, Options, Pagetriageaction, Pagetriagelist, Pagetriagestats, Pagetriagetagging, Pagetriagetemplate, Paraminfo, Parse, ParsoidBatch, Patrol, Post, Protect, Purge, Query, Refresheducation, Removeauthenticationdata, Resetpassword, Review, Reviewactivity, Revisiondelete, Rollback, Rsd, SanitizeMapdata, ScribuntoConsole, Setglobalaccountstatus, Setnotificationtimestamp, Setpagelanguage, Shortenurl, Sitematrix, Spamblacklist, Stabilize, Stashedit, Strikevote, Tag, Templatedata, Thank, Titleblacklist, Tokens, Transcodereset, Ulslocalization, Unblock, Undelete, Unlinkaccount, Upload, Userrights, Validatepassword, Visualeditor, Visualeditoredit, Watch, WebappManifest, Wikilove, Zeroconfig
Instance Method Summary collapse
-
#abusefiltercheckmatch ⇒ MediaWiktory::Wikipedia::Actions::Abusefiltercheckmatch
Check to see if an AbuseFilter matches a set of variables, editor logged AbuseFilter event.
-
#abusefilterchecksyntax ⇒ MediaWiktory::Wikipedia::Actions::Abusefilterchecksyntax
Check syntax of an AbuseFilter filter.
-
#abusefilterevalexpression ⇒ MediaWiktory::Wikipedia::Actions::Abusefilterevalexpression
Evaluates an AbuseFilter expression.
-
#abusefilterunblockautopromote ⇒ MediaWiktory::Wikipedia::Actions::Abusefilterunblockautopromote
Unblocks a user from receiving autopromotions due to an abusefilter consequence.
-
#addstudents ⇒ MediaWiktory::Wikipedia::Actions::Addstudents
Add multiple students to a course.
-
#antispoof ⇒ MediaWiktory::Wikipedia::Actions::Antispoof
Check a username against AntiSpoof's normalisation checks.
-
#block ⇒ MediaWiktory::Wikipedia::Actions::Block
Block a user.
-
#bouncehandler ⇒ MediaWiktory::Wikipedia::Actions::Bouncehandler
Receive a bounce email and process it to handle the failing recipient.
-
#categorytree ⇒ MediaWiktory::Wikipedia::Actions::Categorytree
Internal module for the CategoryTree extension.
-
#centralauthtoken ⇒ MediaWiktory::Wikipedia::Actions::Centralauthtoken
See Base for generic explanation of working with MediaWiki actions and Centralauthtoken class for a list of parameters and usage.
-
#centralnoticechoicedata ⇒ MediaWiktory::Wikipedia::Actions::Centralnoticechoicedata
Get data needed to choose a banner for a given project and language.
-
#centralnoticequerycampaign ⇒ MediaWiktory::Wikipedia::Actions::Centralnoticequerycampaign
Get all configuration settings for a campaign.
-
#changeauthenticationdata ⇒ MediaWiktory::Wikipedia::Actions::Changeauthenticationdata
Change authentication data for the current user.
-
#checktoken ⇒ MediaWiktory::Wikipedia::Actions::Checktoken
Check the validity of a token from action=query&meta=tokens.
-
#cirrus_config_dump ⇒ MediaWiktory::Wikipedia::Actions::CirrusConfigDump
See Base for generic explanation of working with MediaWiki actions and CirrusConfigDump class for a list of parameters and usage.
-
#cirrus_mapping_dump ⇒ MediaWiktory::Wikipedia::Actions::CirrusMappingDump
See Base for generic explanation of working with MediaWiki actions and CirrusMappingDump class for a list of parameters and usage.
-
#cirrus_settings_dump ⇒ MediaWiktory::Wikipedia::Actions::CirrusSettingsDump
See Base for generic explanation of working with MediaWiki actions and CirrusSettingsDump class for a list of parameters and usage.
-
#clearhasmsg ⇒ MediaWiktory::Wikipedia::Actions::Clearhasmsg
See Base for generic explanation of working with MediaWiki actions and Clearhasmsg class for a list of parameters and usage.
-
#clientlogin ⇒ MediaWiktory::Wikipedia::Actions::Clientlogin
Log in to the wiki using the interactive flow.
-
#compare ⇒ MediaWiktory::Wikipedia::Actions::Compare
Get the difference between 2 pages.
-
#createaccount ⇒ MediaWiktory::Wikipedia::Actions::Createaccount
Create a new user account.
-
#cspreport ⇒ MediaWiktory::Wikipedia::Actions::Cspreport
Used by browsers to report violations of the Content Security Policy.
-
#cxconfiguration ⇒ MediaWiktory::Wikipedia::Actions::Cxconfiguration
Fetch the Content Translation configuration json for the given language pair.
-
#cxdelete ⇒ MediaWiktory::Wikipedia::Actions::Cxdelete
Delete a draft translation created using the Content Translation extension.
-
#cxpublish ⇒ MediaWiktory::Wikipedia::Actions::Cxpublish
Save a page created using the Content Translation extension.
-
#cxsave ⇒ MediaWiktory::Wikipedia::Actions::Cxsave
This module allows to save draft translations by section to save bandwidth and to collect parallel corpora.
-
#cxsuggestionlist ⇒ MediaWiktory::Wikipedia::Actions::Cxsuggestionlist
Manage the suggestion lists.
-
#cxtoken ⇒ MediaWiktory::Wikipedia::Actions::Cxtoken
Get JWT tokens to authenticate with cxserver.
-
#delete ⇒ MediaWiktory::Wikipedia::Actions::Delete
Delete a page.
-
#deleteeducation ⇒ MediaWiktory::Wikipedia::Actions::Deleteeducation
Delete Education Program objects.
-
#deleteglobalaccount ⇒ MediaWiktory::Wikipedia::Actions::Deleteglobalaccount
Delete a global user.
-
#echomarkread ⇒ MediaWiktory::Wikipedia::Actions::Echomarkread
Mark notifications as read for the current user.
-
#echomarkseen ⇒ MediaWiktory::Wikipedia::Actions::Echomarkseen
Mark notifications as seen for the current user.
-
#edit ⇒ MediaWiktory::Wikipedia::Actions::Edit
Create and edit pages.
-
#editmassmessagelist ⇒ MediaWiktory::Wikipedia::Actions::Editmassmessagelist
Edit a mass message delivery list.
-
#emailuser ⇒ MediaWiktory::Wikipedia::Actions::Emailuser
Email a user.
-
#enlist ⇒ MediaWiktory::Wikipedia::Actions::Enlist
Associate or disassociate a user as instructor or volunteer for a course.
-
#expandtemplates ⇒ MediaWiktory::Wikipedia::Actions::Expandtemplates
Expands all templates within wikitext.
-
#fancycaptchareload ⇒ MediaWiktory::Wikipedia::Actions::Fancycaptchareload
See Base for generic explanation of working with MediaWiki actions and Fancycaptchareload class for a list of parameters and usage.
-
#featuredfeed ⇒ MediaWiktory::Wikipedia::Actions::Featuredfeed
Returns a featured content feed.
-
#feedcontributions ⇒ MediaWiktory::Wikipedia::Actions::Feedcontributions
Returns a user contributions feed.
-
#feedrecentchanges ⇒ MediaWiktory::Wikipedia::Actions::Feedrecentchanges
Returns a recent changes feed.
-
#feedwatchlist ⇒ MediaWiktory::Wikipedia::Actions::Feedwatchlist
Returns a watchlist feed.
-
#filerevert ⇒ MediaWiktory::Wikipedia::Actions::Filerevert
Revert a file to an old version.
-
#flagconfig ⇒ MediaWiktory::Wikipedia::Actions::Flagconfig
See Base for generic explanation of working with MediaWiki actions and Flagconfig class for a list of parameters and usage.
-
#globalblock ⇒ MediaWiktory::Wikipedia::Actions::Globalblock
Globally block or unblock a user.
-
#globaluserrights ⇒ MediaWiktory::Wikipedia::Actions::Globaluserrights
Add/remove a user to/from global groups.
-
#graph ⇒ MediaWiktory::Wikipedia::Actions::Graph
Access graph tag functionality.
-
#help ⇒ MediaWiktory::Wikipedia::Actions::Help
Display help for the specified modules.
-
#imagerotate ⇒ MediaWiktory::Wikipedia::Actions::Imagerotate
See Base for generic explanation of working with MediaWiki actions and Imagerotate class for a list of parameters and usage.
-
#import ⇒ MediaWiktory::Wikipedia::Actions::Import
Import a page from another wiki, or from an XML file.
-
#jsonconfig ⇒ MediaWiktory::Wikipedia::Actions::Jsonconfig
Allows direct access to JsonConfig subsystem.
-
#jsondata ⇒ MediaWiktory::Wikipedia::Actions::Jsondata
Retrieve localized JSON data.
-
#languagesearch ⇒ MediaWiktory::Wikipedia::Actions::Languagesearch
Search for language names in any script.
-
#linkaccount ⇒ MediaWiktory::Wikipedia::Actions::Linkaccount
Link an account from a third-party provider to the current user.
-
#liststudents ⇒ MediaWiktory::Wikipedia::Actions::Liststudents
Get the usernames and other information for students enrolled in one or more courses.
-
#login ⇒ MediaWiktory::Wikipedia::Actions::Login
Log in and get authentication cookies.
- #logout ⇒ MediaWiktory::Wikipedia::Actions::Logout
-
#managetags ⇒ MediaWiktory::Wikipedia::Actions::Managetags
Perform management tasks relating to change tags.
-
#massmessage ⇒ MediaWiktory::Wikipedia::Actions::Massmessage
Send a message to a list of pages.
-
#mergehistory ⇒ MediaWiktory::Wikipedia::Actions::Mergehistory
Merge page histories.
-
#mobileview ⇒ MediaWiktory::Wikipedia::Actions::Mobileview
Returns data needed for mobile views.
-
#move ⇒ MediaWiktory::Wikipedia::Actions::Move
Move a page.
-
#oathvalidate ⇒ MediaWiktory::Wikipedia::Actions::Oathvalidate
Validate a two-factor authentication (OATH) token.
-
#opensearch ⇒ MediaWiktory::Wikipedia::Actions::Opensearch
Search the wiki using the OpenSearch protocol.
-
#options ⇒ MediaWiktory::Wikipedia::Actions::Options
Change preferences of the current user.
-
#pagetriageaction ⇒ MediaWiktory::Wikipedia::Actions::Pagetriageaction
Mark an article as reviewed or unreviewed.
-
#pagetriagelist ⇒ MediaWiktory::Wikipedia::Actions::Pagetriagelist
Get a list of page IDs for building a PageTriage queue.
-
#pagetriagestats ⇒ MediaWiktory::Wikipedia::Actions::Pagetriagestats
Get the stats for page triage.
-
#pagetriagetagging ⇒ MediaWiktory::Wikipedia::Actions::Pagetriagetagging
Add tags to an article.
-
#pagetriagetemplate ⇒ MediaWiktory::Wikipedia::Actions::Pagetriagetemplate
Fetch templates that are used within the PageTriage application.
-
#paraminfo ⇒ MediaWiktory::Wikipedia::Actions::Paraminfo
Obtain information about API modules.
-
#parse ⇒ MediaWiktory::Wikipedia::Actions::Parse
Parses content and returns parser output.
-
#parsoid_batch ⇒ MediaWiktory::Wikipedia::Actions::ParsoidBatch
This method creates an instance of ParsoidBatch action.
-
#patrol ⇒ MediaWiktory::Wikipedia::Actions::Patrol
Patrol a page or revision.
-
#protect ⇒ MediaWiktory::Wikipedia::Actions::Protect
Change the protection level of a page.
-
#purge ⇒ MediaWiktory::Wikipedia::Actions::Purge
Purge the cache for the given titles.
-
#query ⇒ MediaWiktory::Wikipedia::Actions::Query
Fetch data from and about MediaWiki.
-
#refresheducation ⇒ MediaWiktory::Wikipedia::Actions::Refresheducation
Rebuild summary data of Education Program objects.
-
#removeauthenticationdata ⇒ MediaWiktory::Wikipedia::Actions::Removeauthenticationdata
Remove authentication data for the current user.
-
#resetpassword ⇒ MediaWiktory::Wikipedia::Actions::Resetpassword
Send a password reset email to a user.
-
#review ⇒ MediaWiktory::Wikipedia::Actions::Review
Review a revision by approving or de-approving it.
-
#reviewactivity ⇒ MediaWiktory::Wikipedia::Actions::Reviewactivity
Advertise or de-advertise yourself as reviewing an unreviewed page or unreviewed changes.
-
#revisiondelete ⇒ MediaWiktory::Wikipedia::Actions::Revisiondelete
Delete and undelete revisions.
-
#rollback ⇒ MediaWiktory::Wikipedia::Actions::Rollback
Undo the last edit to the page.
- #rsd ⇒ MediaWiktory::Wikipedia::Actions::Rsd
-
#sanitize_mapdata ⇒ MediaWiktory::Wikipedia::Actions::SanitizeMapdata
Performs data validation for Kartographer extension.
-
#scribunto_console ⇒ MediaWiktory::Wikipedia::Actions::ScribuntoConsole
Internal module for servicing XHR requests from the Scribunto console.
-
#setglobalaccountstatus ⇒ MediaWiktory::Wikipedia::Actions::Setglobalaccountstatus
Set a global user's status.
-
#setnotificationtimestamp ⇒ MediaWiktory::Wikipedia::Actions::Setnotificationtimestamp
Update the notification timestamp for watched pages.
-
#setpagelanguage ⇒ MediaWiktory::Wikipedia::Actions::Setpagelanguage
Changing the language of a page is not allowed on this wiki.
-
#shortenurl ⇒ MediaWiktory::Wikipedia::Actions::Shortenurl
Shorten a long URL into a shorter one.
-
#sitematrix ⇒ MediaWiktory::Wikipedia::Actions::Sitematrix
Get Wikimedia sites list.
-
#spamblacklist ⇒ MediaWiktory::Wikipedia::Actions::Spamblacklist
Validate one or more URLs against the SpamBlacklist.
-
#stabilize ⇒ MediaWiktory::Wikipedia::Actions::Stabilize
Configure review-protection settings for a page.
-
#stashedit ⇒ MediaWiktory::Wikipedia::Actions::Stashedit
Prepare an edit in shared cache.
-
#strikevote ⇒ MediaWiktory::Wikipedia::Actions::Strikevote
Allows admins to strike or unstrike a vote.
-
#tag ⇒ MediaWiktory::Wikipedia::Actions::Tag
Add or remove change tags from individual revisions or log entries.
-
#templatedata ⇒ MediaWiktory::Wikipedia::Actions::Templatedata
Fetch data stored by the TemplateData extension.
-
#thank ⇒ MediaWiktory::Wikipedia::Actions::Thank
Send a thank-you notification to an editor.
-
#titleblacklist ⇒ MediaWiktory::Wikipedia::Actions::Titleblacklist
Validate an article title, filename, or username against the TitleBlacklist.
-
#tokens ⇒ MediaWiktory::Wikipedia::Actions::Tokens
Get tokens for data-modifying actions.
-
#transcodereset ⇒ MediaWiktory::Wikipedia::Actions::Transcodereset
Users with the 'transcode-reset' right can reset and re-run a transcode job.
-
#ulslocalization ⇒ MediaWiktory::Wikipedia::Actions::Ulslocalization
Get the localization of ULS in the given language.
-
#unblock ⇒ MediaWiktory::Wikipedia::Actions::Unblock
Unblock a user.
-
#undelete ⇒ MediaWiktory::Wikipedia::Actions::Undelete
Restore revisions of a deleted page.
-
#unlinkaccount ⇒ MediaWiktory::Wikipedia::Actions::Unlinkaccount
Remove a linked third-party account from the current user.
-
#upload ⇒ MediaWiktory::Wikipedia::Actions::Upload
Upload a file, or get the status of pending uploads.
-
#userrights ⇒ MediaWiktory::Wikipedia::Actions::Userrights
Change a user's group membership.
-
#validatepassword ⇒ MediaWiktory::Wikipedia::Actions::Validatepassword
Validate a password against the wiki's password policies.
-
#visualeditor ⇒ MediaWiktory::Wikipedia::Actions::Visualeditor
Returns HTML5 for a page from the Parsoid service.
-
#visualeditoredit ⇒ MediaWiktory::Wikipedia::Actions::Visualeditoredit
Save an HTML5 page to MediaWiki (converted to wikitext via the Parsoid service).
-
#watch ⇒ MediaWiktory::Wikipedia::Actions::Watch
Add or remove pages from the current user's watchlist.
-
#webapp_manifest ⇒ MediaWiktory::Wikipedia::Actions::WebappManifest
See Base for generic explanation of working with MediaWiki actions and WebappManifest class for a list of parameters and usage.
-
#wikilove ⇒ MediaWiktory::Wikipedia::Actions::Wikilove
Give WikiLove to another user.
-
#zeroconfig ⇒ MediaWiktory::Wikipedia::Actions::Zeroconfig
Get configuration of the Zero extension.
Instance Method Details
#abusefiltercheckmatch ⇒ MediaWiktory::Wikipedia::Actions::Abusefiltercheckmatch
Check to see if an AbuseFilter matches a set of variables, editor logged AbuseFilter event.
This method creates an instance of Abusefiltercheckmatch action.
Action parameters could be passed or by subsequent Abusefiltercheckmatch method calls, like
api.abusefiltercheckmatch.filter('value')
See Base for generic explanation of working with MediaWiki actions and Abusefiltercheckmatch class for a list of parameters and usage.
45 46 47 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 45 def abusefiltercheckmatch Abusefiltercheckmatch.new(client, @defaults) end |
#abusefilterchecksyntax ⇒ MediaWiktory::Wikipedia::Actions::Abusefilterchecksyntax
Check syntax of an AbuseFilter filter.
This method creates an instance of Abusefilterchecksyntax action.
Action parameters could be passed or by subsequent Abusefilterchecksyntax method calls, like
api.abusefilterchecksyntax.filter('value')
See Base for generic explanation of working with MediaWiki actions and Abusefilterchecksyntax class for a list of parameters and usage.
65 66 67 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 65 def abusefilterchecksyntax Abusefilterchecksyntax.new(client, @defaults) end |
#abusefilterevalexpression ⇒ MediaWiktory::Wikipedia::Actions::Abusefilterevalexpression
Evaluates an AbuseFilter expression.
This method creates an instance of Abusefilterevalexpression action.
Action parameters could be passed or by subsequent Abusefilterevalexpression method calls, like
api.abusefilterevalexpression.expression('value')
See Base for generic explanation of working with MediaWiki actions and Abusefilterevalexpression class for a list of parameters and usage.
85 86 87 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 85 def abusefilterevalexpression Abusefilterevalexpression.new(client, @defaults) end |
#abusefilterunblockautopromote ⇒ MediaWiktory::Wikipedia::Actions::Abusefilterunblockautopromote
Unblocks a user from receiving autopromotions due to an abusefilter consequence.
This method creates an instance of Abusefilterunblockautopromote action.
Action parameters could be passed or by subsequent Abusefilterunblockautopromote method calls, like
api.abusefilterunblockautopromote.user('value')
See Base for generic explanation of working with MediaWiki actions and Abusefilterunblockautopromote class for a list of parameters and usage.
105 106 107 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 105 def abusefilterunblockautopromote Abusefilterunblockautopromote.new(client, @defaults) end |
#addstudents ⇒ MediaWiktory::Wikipedia::Actions::Addstudents
Add multiple students to a course.
This method creates an instance of Addstudents action.
Action parameters could be passed or by subsequent Addstudents method calls, like
api.addstudents.studentusernames('value')
See Base for generic explanation of working with MediaWiki actions and Addstudents class for a list of parameters and usage.
125 126 127 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 125 def addstudents Addstudents.new(client, @defaults) end |
#antispoof ⇒ MediaWiktory::Wikipedia::Actions::Antispoof
Check a username against AntiSpoof's normalisation checks.
This method creates an instance of Antispoof action.
Action parameters could be passed or by subsequent Antispoof method calls, like
api.antispoof.username('value')
See Base for generic explanation of working with MediaWiki actions and Antispoof class for a list of parameters and usage.
145 146 147 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 145 def antispoof Antispoof.new(client, @defaults) end |
#block ⇒ MediaWiktory::Wikipedia::Actions::Block
165 166 167 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 165 def block Block.new(client, @defaults) end |
#bouncehandler ⇒ MediaWiktory::Wikipedia::Actions::Bouncehandler
Receive a bounce email and process it to handle the failing recipient.
This method creates an instance of Bouncehandler action.
Action parameters could be passed or by subsequent Bouncehandler method calls, like
api.bouncehandler.email('value')
See Base for generic explanation of working with MediaWiki actions and Bouncehandler class for a list of parameters and usage.
185 186 187 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 185 def bouncehandler Bouncehandler.new(client, @defaults) end |
#categorytree ⇒ MediaWiktory::Wikipedia::Actions::Categorytree
Internal module for the CategoryTree extension.
This method creates an instance of Categorytree action.
Action parameters could be passed or by subsequent Categorytree method calls, like
api.categorytree.category('value')
See Base for generic explanation of working with MediaWiki actions and Categorytree class for a list of parameters and usage.
205 206 207 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 205 def categorytree Categorytree.new(client, @defaults) end |
#centralauthtoken ⇒ MediaWiktory::Wikipedia::Actions::Centralauthtoken
See Base for generic explanation of working with MediaWiki actions and Centralauthtoken class for a list of parameters and usage.
220 221 222 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 220 def centralauthtoken Centralauthtoken.new(client, @defaults) end |
#centralnoticechoicedata ⇒ MediaWiktory::Wikipedia::Actions::Centralnoticechoicedata
Get data needed to choose a banner for a given project and language
This method creates an instance of Centralnoticechoicedata action.
Action parameters could be passed or by subsequent Centralnoticechoicedata method calls, like
api.centralnoticechoicedata.project('value')
See Base for generic explanation of working with MediaWiki actions and Centralnoticechoicedata class for a list of parameters and usage.
240 241 242 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 240 def centralnoticechoicedata Centralnoticechoicedata.new(client, @defaults) end |
#centralnoticequerycampaign ⇒ MediaWiktory::Wikipedia::Actions::Centralnoticequerycampaign
Get all configuration settings for a campaign.
This method creates an instance of Centralnoticequerycampaign action.
Action parameters could be passed or by subsequent Centralnoticequerycampaign method calls, like
api.centralnoticequerycampaign.campaign('value')
See Base for generic explanation of working with MediaWiki actions and Centralnoticequerycampaign class for a list of parameters and usage.
260 261 262 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 260 def centralnoticequerycampaign Centralnoticequerycampaign.new(client, @defaults) end |
#changeauthenticationdata ⇒ MediaWiktory::Wikipedia::Actions::Changeauthenticationdata
Change authentication data for the current user.
This method creates an instance of Changeauthenticationdata action.
Action parameters could be passed or by subsequent Changeauthenticationdata method calls, like
api.changeauthenticationdata.request('value')
See Base for generic explanation of working with MediaWiki actions and Changeauthenticationdata class for a list of parameters and usage.
280 281 282 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 280 def changeauthenticationdata Changeauthenticationdata.new(client, @defaults) end |
#checktoken ⇒ MediaWiktory::Wikipedia::Actions::Checktoken
Check the validity of a token from action=query&meta=tokens.
This method creates an instance of Checktoken action.
Action parameters could be passed or by subsequent Checktoken method calls, like
api.checktoken.type('value')
See Base for generic explanation of working with MediaWiki actions and Checktoken class for a list of parameters and usage.
300 301 302 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 300 def checktoken Checktoken.new(client, @defaults) end |
#cirrus_config_dump ⇒ MediaWiktory::Wikipedia::Actions::CirrusConfigDump
See Base for generic explanation of working with MediaWiki actions and CirrusConfigDump class for a list of parameters and usage.
315 316 317 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 315 def cirrus_config_dump CirrusConfigDump.new(client, @defaults) end |
#cirrus_mapping_dump ⇒ MediaWiktory::Wikipedia::Actions::CirrusMappingDump
See Base for generic explanation of working with MediaWiki actions and CirrusMappingDump class for a list of parameters and usage.
330 331 332 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 330 def cirrus_mapping_dump CirrusMappingDump.new(client, @defaults) end |
#cirrus_settings_dump ⇒ MediaWiktory::Wikipedia::Actions::CirrusSettingsDump
See Base for generic explanation of working with MediaWiki actions and CirrusSettingsDump class for a list of parameters and usage.
345 346 347 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 345 def cirrus_settings_dump CirrusSettingsDump.new(client, @defaults) end |
#clearhasmsg ⇒ MediaWiktory::Wikipedia::Actions::Clearhasmsg
See Base for generic explanation of working with MediaWiki actions and Clearhasmsg class for a list of parameters and usage.
360 361 362 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 360 def clearhasmsg Clearhasmsg.new(client, @defaults) end |
#clientlogin ⇒ MediaWiktory::Wikipedia::Actions::Clientlogin
Log in to the wiki using the interactive flow.
This method creates an instance of Clientlogin action.
Action parameters could be passed or by subsequent Clientlogin method calls, like
api.clientlogin.requests('value')
See Base for generic explanation of working with MediaWiki actions and Clientlogin class for a list of parameters and usage.
380 381 382 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 380 def clientlogin Clientlogin.new(client, @defaults) end |
#compare ⇒ MediaWiktory::Wikipedia::Actions::Compare
Get the difference between 2 pages.
This method creates an instance of Compare action.
Action parameters could be passed or by subsequent Compare method calls, like
api.compare.fromtitle('value')
See Base for generic explanation of working with MediaWiki actions and Compare class for a list of parameters and usage.
400 401 402 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 400 def compare Compare.new(client, @defaults) end |
#createaccount ⇒ MediaWiktory::Wikipedia::Actions::Createaccount
Create a new user account.
This method creates an instance of Createaccount action.
Action parameters could be passed or by subsequent Createaccount method calls, like
api.createaccount.requests('value')
See Base for generic explanation of working with MediaWiki actions and Createaccount class for a list of parameters and usage.
420 421 422 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 420 def createaccount Createaccount.new(client, @defaults) end |
#cspreport ⇒ MediaWiktory::Wikipedia::Actions::Cspreport
Used by browsers to report violations of the Content Security Policy. This module should never be used, except when used automatically by a CSP compliant web browser.
This method creates an instance of Cspreport action.
Action parameters could be passed or by subsequent Cspreport method calls, like
api.cspreport.reportonly('value')
See Base for generic explanation of working with MediaWiki actions and Cspreport class for a list of parameters and usage.
440 441 442 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 440 def cspreport Cspreport.new(client, @defaults) end |
#cxconfiguration ⇒ MediaWiktory::Wikipedia::Actions::Cxconfiguration
Fetch the Content Translation configuration json for the given language pair.
This method creates an instance of Cxconfiguration action.
Action parameters could be passed or by subsequent Cxconfiguration method calls, like
api.cxconfiguration.from('value')
See Base for generic explanation of working with MediaWiki actions and Cxconfiguration class for a list of parameters and usage.
460 461 462 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 460 def cxconfiguration Cxconfiguration.new(client, @defaults) end |
#cxdelete ⇒ MediaWiktory::Wikipedia::Actions::Cxdelete
Delete a draft translation created using the Content Translation extension.
This method creates an instance of Cxdelete action.
Action parameters could be passed or by subsequent Cxdelete method calls, like
api.cxdelete.from('value')
See Base for generic explanation of working with MediaWiki actions and Cxdelete class for a list of parameters and usage.
480 481 482 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 480 def cxdelete Cxdelete.new(client, @defaults) end |
#cxpublish ⇒ MediaWiktory::Wikipedia::Actions::Cxpublish
Save a page created using the Content Translation extension.
This method creates an instance of Cxpublish action.
Action parameters could be passed or by subsequent Cxpublish method calls, like
api.cxpublish.title('value')
See Base for generic explanation of working with MediaWiki actions and Cxpublish class for a list of parameters and usage.
500 501 502 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 500 def cxpublish Cxpublish.new(client, @defaults) end |
#cxsave ⇒ MediaWiktory::Wikipedia::Actions::Cxsave
This module allows to save draft translations by section to save bandwidth and to collect parallel corpora.
This method creates an instance of Cxsave action.
Action parameters could be passed or by subsequent Cxsave method calls, like
api.cxsave.from('value')
See Base for generic explanation of working with MediaWiki actions and Cxsave class for a list of parameters and usage.
520 521 522 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 520 def cxsave Cxsave.new(client, @defaults) end |
#cxsuggestionlist ⇒ MediaWiktory::Wikipedia::Actions::Cxsuggestionlist
Manage the suggestion lists. Add suggestions to lists and remove them.
This method creates an instance of Cxsuggestionlist action.
Action parameters could be passed or by subsequent Cxsuggestionlist method calls, like
api.cxsuggestionlist.listname('value')
See Base for generic explanation of working with MediaWiki actions and Cxsuggestionlist class for a list of parameters and usage.
540 541 542 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 540 def cxsuggestionlist Cxsuggestionlist.new(client, @defaults) end |
#cxtoken ⇒ MediaWiktory::Wikipedia::Actions::Cxtoken
Get JWT tokens to authenticate with cxserver.
This method creates an instance of Cxtoken action.
Action parameters could be passed or by subsequent Cxtoken method calls, like
api.cxtoken.token('value')
See Base for generic explanation of working with MediaWiki actions and Cxtoken class for a list of parameters and usage.
560 561 562 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 560 def cxtoken Cxtoken.new(client, @defaults) end |
#delete ⇒ MediaWiktory::Wikipedia::Actions::Delete
580 581 582 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 580 def delete Delete.new(client, @defaults) end |
#deleteeducation ⇒ MediaWiktory::Wikipedia::Actions::Deleteeducation
Delete Education Program objects.
This method creates an instance of Deleteeducation action.
Action parameters could be passed or by subsequent Deleteeducation method calls, like
api.deleteeducation.ids('value')
See Base for generic explanation of working with MediaWiki actions and Deleteeducation class for a list of parameters and usage.
600 601 602 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 600 def deleteeducation Deleteeducation.new(client, @defaults) end |
#deleteglobalaccount ⇒ MediaWiktory::Wikipedia::Actions::Deleteglobalaccount
Delete a global user.
This method creates an instance of Deleteglobalaccount action.
Action parameters could be passed or by subsequent Deleteglobalaccount method calls, like
api.deleteglobalaccount.user('value')
See Base for generic explanation of working with MediaWiki actions and Deleteglobalaccount class for a list of parameters and usage.
620 621 622 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 620 def deleteglobalaccount Deleteglobalaccount.new(client, @defaults) end |
#echomarkread ⇒ MediaWiktory::Wikipedia::Actions::Echomarkread
Mark notifications as read for the current user.
This method creates an instance of Echomarkread action.
Action parameters could be passed or by subsequent Echomarkread method calls, like
api.echomarkread.list('value')
See Base for generic explanation of working with MediaWiki actions and Echomarkread class for a list of parameters and usage.
640 641 642 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 640 def echomarkread Echomarkread.new(client, @defaults) end |
#echomarkseen ⇒ MediaWiktory::Wikipedia::Actions::Echomarkseen
Mark notifications as seen for the current user.
This method creates an instance of Echomarkseen action.
Action parameters could be passed or by subsequent Echomarkseen method calls, like
api.echomarkseen.token('value')
See Base for generic explanation of working with MediaWiki actions and Echomarkseen class for a list of parameters and usage.
660 661 662 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 660 def echomarkseen Echomarkseen.new(client, @defaults) end |
#edit ⇒ MediaWiktory::Wikipedia::Actions::Edit
680 681 682 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 680 def edit Edit.new(client, @defaults) end |
#editmassmessagelist ⇒ MediaWiktory::Wikipedia::Actions::Editmassmessagelist
Edit a mass message delivery list.
This method creates an instance of Editmassmessagelist action.
Action parameters could be passed or by subsequent Editmassmessagelist method calls, like
api..spamlist('value')
See Base for generic explanation of working with MediaWiki actions and Editmassmessagelist class for a list of parameters and usage.
700 701 702 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 700 def Editmassmessagelist.new(client, @defaults) end |
#emailuser ⇒ MediaWiktory::Wikipedia::Actions::Emailuser
720 721 722 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 720 def emailuser Emailuser.new(client, @defaults) end |
#enlist ⇒ MediaWiktory::Wikipedia::Actions::Enlist
Associate or disassociate a user as instructor or volunteer for a course.
This method creates an instance of Enlist action.
Action parameters could be passed or by subsequent Enlist method calls, like
api.enlist.subaction('value')
See Base for generic explanation of working with MediaWiki actions and Enlist class for a list of parameters and usage.
740 741 742 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 740 def enlist Enlist.new(client, @defaults) end |
#expandtemplates ⇒ MediaWiktory::Wikipedia::Actions::Expandtemplates
Expands all templates within wikitext.
This method creates an instance of Expandtemplates action.
Action parameters could be passed or by subsequent Expandtemplates method calls, like
api..title('value')
See Base for generic explanation of working with MediaWiki actions and Expandtemplates class for a list of parameters and usage.
760 761 762 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 760 def Expandtemplates.new(client, @defaults) end |
#fancycaptchareload ⇒ MediaWiktory::Wikipedia::Actions::Fancycaptchareload
See Base for generic explanation of working with MediaWiki actions and Fancycaptchareload class for a list of parameters and usage.
775 776 777 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 775 def fancycaptchareload Fancycaptchareload.new(client, @defaults) end |
#featuredfeed ⇒ MediaWiktory::Wikipedia::Actions::Featuredfeed
Returns a featured content feed.
This method creates an instance of Featuredfeed action.
Action parameters could be passed or by subsequent Featuredfeed method calls, like
api.featuredfeed.feedformat('value')
See Base for generic explanation of working with MediaWiki actions and Featuredfeed class for a list of parameters and usage.
795 796 797 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 795 def featuredfeed Featuredfeed.new(client, @defaults) end |
#feedcontributions ⇒ MediaWiktory::Wikipedia::Actions::Feedcontributions
Returns a user contributions feed.
This method creates an instance of Feedcontributions action.
Action parameters could be passed or by subsequent Feedcontributions method calls, like
api.feedcontributions.feedformat('value')
See Base for generic explanation of working with MediaWiki actions and Feedcontributions class for a list of parameters and usage.
815 816 817 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 815 def feedcontributions Feedcontributions.new(client, @defaults) end |
#feedrecentchanges ⇒ MediaWiktory::Wikipedia::Actions::Feedrecentchanges
Returns a recent changes feed.
This method creates an instance of Feedrecentchanges action.
Action parameters could be passed or by subsequent Feedrecentchanges method calls, like
api.feedrecentchanges.feedformat('value')
See Base for generic explanation of working with MediaWiki actions and Feedrecentchanges class for a list of parameters and usage.
835 836 837 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 835 def feedrecentchanges Feedrecentchanges.new(client, @defaults) end |
#feedwatchlist ⇒ MediaWiktory::Wikipedia::Actions::Feedwatchlist
Returns a watchlist feed.
This method creates an instance of Feedwatchlist action.
Action parameters could be passed or by subsequent Feedwatchlist method calls, like
api.feedwatchlist.feedformat('value')
See Base for generic explanation of working with MediaWiki actions and Feedwatchlist class for a list of parameters and usage.
855 856 857 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 855 def feedwatchlist Feedwatchlist.new(client, @defaults) end |
#filerevert ⇒ MediaWiktory::Wikipedia::Actions::Filerevert
Revert a file to an old version.
This method creates an instance of Filerevert action.
Action parameters could be passed or by subsequent Filerevert method calls, like
api.filerevert.filename('value')
See Base for generic explanation of working with MediaWiki actions and Filerevert class for a list of parameters and usage.
875 876 877 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 875 def filerevert Filerevert.new(client, @defaults) end |
#flagconfig ⇒ MediaWiktory::Wikipedia::Actions::Flagconfig
See Base for generic explanation of working with MediaWiki actions and Flagconfig class for a list of parameters and usage.
890 891 892 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 890 def flagconfig Flagconfig.new(client, @defaults) end |
#globalblock ⇒ MediaWiktory::Wikipedia::Actions::Globalblock
Globally block or unblock a user.
This method creates an instance of Globalblock action.
Action parameters could be passed or by subsequent Globalblock method calls, like
api.globalblock.target('value')
See Base for generic explanation of working with MediaWiki actions and Globalblock class for a list of parameters and usage.
910 911 912 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 910 def globalblock Globalblock.new(client, @defaults) end |
#globaluserrights ⇒ MediaWiktory::Wikipedia::Actions::Globaluserrights
Add/remove a user to/from global groups.
This method creates an instance of Globaluserrights action.
Action parameters could be passed or by subsequent Globaluserrights method calls, like
api.globaluserrights.user('value')
See Base for generic explanation of working with MediaWiki actions and Globaluserrights class for a list of parameters and usage.
930 931 932 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 930 def globaluserrights Globaluserrights.new(client, @defaults) end |
#graph ⇒ MediaWiktory::Wikipedia::Actions::Graph
950 951 952 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 950 def graph Graph.new(client, @defaults) end |
#help ⇒ MediaWiktory::Wikipedia::Actions::Help
Display help for the specified modules.
This method creates an instance of Help action.
Action parameters could be passed or by subsequent Help method calls, like
api.help.modules('value')
See Base for generic explanation of working with MediaWiki actions and Help class for a list of parameters and usage.
970 971 972 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 970 def help Help.new(client, @defaults) end |
#imagerotate ⇒ MediaWiktory::Wikipedia::Actions::Imagerotate
See Base for generic explanation of working with MediaWiki actions and Imagerotate class for a list of parameters and usage.
985 986 987 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 985 def imagerotate Imagerotate.new(client, @defaults) end |
#import ⇒ MediaWiktory::Wikipedia::Actions::Import
Import a page from another wiki, or from an XML file.
This method creates an instance of Import action.
Action parameters could be passed or by subsequent Import method calls, like
api.import.summary('value')
See Base for generic explanation of working with MediaWiki actions and Import class for a list of parameters and usage.
1005 1006 1007 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1005 def import Import.new(client, @defaults) end |
#jsonconfig ⇒ MediaWiktory::Wikipedia::Actions::Jsonconfig
Allows direct access to JsonConfig subsystem.
This method creates an instance of Jsonconfig action.
Action parameters could be passed or by subsequent Jsonconfig method calls, like
api.jsonconfig.command('value')
See Base for generic explanation of working with MediaWiki actions and Jsonconfig class for a list of parameters and usage.
1025 1026 1027 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1025 def jsonconfig Jsonconfig.new(client, @defaults) end |
#jsondata ⇒ MediaWiktory::Wikipedia::Actions::Jsondata
Retrieve localized JSON data.
This method creates an instance of Jsondata action.
Action parameters could be passed or by subsequent Jsondata method calls, like
api.jsondata.title('value')
See Base for generic explanation of working with MediaWiki actions and Jsondata class for a list of parameters and usage.
1045 1046 1047 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1045 def jsondata Jsondata.new(client, @defaults) end |
#languagesearch ⇒ MediaWiktory::Wikipedia::Actions::Languagesearch
Search for language names in any script.
This method creates an instance of Languagesearch action.
Action parameters could be passed or by subsequent Languagesearch method calls, like
api.languagesearch.search('value')
See Base for generic explanation of working with MediaWiki actions and Languagesearch class for a list of parameters and usage.
1065 1066 1067 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1065 def languagesearch Languagesearch.new(client, @defaults) end |
#linkaccount ⇒ MediaWiktory::Wikipedia::Actions::Linkaccount
Link an account from a third-party provider to the current user.
This method creates an instance of Linkaccount action.
Action parameters could be passed or by subsequent Linkaccount method calls, like
api.linkaccount.requests('value')
See Base for generic explanation of working with MediaWiki actions and Linkaccount class for a list of parameters and usage.
1085 1086 1087 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1085 def linkaccount Linkaccount.new(client, @defaults) end |
#liststudents ⇒ MediaWiktory::Wikipedia::Actions::Liststudents
Get the usernames and other information for students enrolled in one or more courses.
This method creates an instance of Liststudents action.
Action parameters could be passed or by subsequent Liststudents method calls, like
api.liststudents.courseids('value')
See Base for generic explanation of working with MediaWiki actions and Liststudents class for a list of parameters and usage.
1105 1106 1107 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1105 def liststudents Liststudents.new(client, @defaults) end |
#login ⇒ MediaWiktory::Wikipedia::Actions::Login
Log in and get authentication cookies.
This method creates an instance of Login action.
Action parameters could be passed or by subsequent Login method calls, like
api.login.name('value')
See Base for generic explanation of working with MediaWiki actions and Login class for a list of parameters and usage.
1125 1126 1127 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1125 def login Login.new(client, @defaults) end |
#logout ⇒ MediaWiktory::Wikipedia::Actions::Logout
1140 1141 1142 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1140 def logout Logout.new(client, @defaults) end |
#managetags ⇒ MediaWiktory::Wikipedia::Actions::Managetags
Perform management tasks relating to change tags.
This method creates an instance of Managetags action.
Action parameters could be passed or by subsequent Managetags method calls, like
api..operation('value')
See Base for generic explanation of working with MediaWiki actions and Managetags class for a list of parameters and usage.
1160 1161 1162 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1160 def Managetags.new(client, @defaults) end |
#massmessage ⇒ MediaWiktory::Wikipedia::Actions::Massmessage
Send a message to a list of pages.
This method creates an instance of Massmessage action.
Action parameters could be passed or by subsequent Massmessage method calls, like
api..spamlist('value')
See Base for generic explanation of working with MediaWiki actions and Massmessage class for a list of parameters and usage.
1180 1181 1182 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1180 def Massmessage.new(client, @defaults) end |
#mergehistory ⇒ MediaWiktory::Wikipedia::Actions::Mergehistory
Merge page histories.
This method creates an instance of Mergehistory action.
Action parameters could be passed or by subsequent Mergehistory method calls, like
api.mergehistory.from('value')
See Base for generic explanation of working with MediaWiki actions and Mergehistory class for a list of parameters and usage.
1200 1201 1202 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1200 def mergehistory Mergehistory.new(client, @defaults) end |
#mobileview ⇒ MediaWiktory::Wikipedia::Actions::Mobileview
Returns data needed for mobile views.
This method creates an instance of Mobileview action.
Action parameters could be passed or by subsequent Mobileview method calls, like
api.mobileview.page('value')
See Base for generic explanation of working with MediaWiki actions and Mobileview class for a list of parameters and usage.
1220 1221 1222 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1220 def mobileview Mobileview.new(client, @defaults) end |
#move ⇒ MediaWiktory::Wikipedia::Actions::Move
1240 1241 1242 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1240 def move Move.new(client, @defaults) end |
#oathvalidate ⇒ MediaWiktory::Wikipedia::Actions::Oathvalidate
Validate a two-factor authentication (OATH) token.
This method creates an instance of Oathvalidate action.
Action parameters could be passed or by subsequent Oathvalidate method calls, like
api.oathvalidate.user('value')
See Base for generic explanation of working with MediaWiki actions and Oathvalidate class for a list of parameters and usage.
1260 1261 1262 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1260 def oathvalidate Oathvalidate.new(client, @defaults) end |
#opensearch ⇒ MediaWiktory::Wikipedia::Actions::Opensearch
Search the wiki using the OpenSearch protocol.
This method creates an instance of Opensearch action.
Action parameters could be passed or by subsequent Opensearch method calls, like
api.opensearch.search('value')
See Base for generic explanation of working with MediaWiki actions and Opensearch class for a list of parameters and usage.
1280 1281 1282 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1280 def opensearch Opensearch.new(client, @defaults) end |
#options ⇒ MediaWiktory::Wikipedia::Actions::Options
Change preferences of the current user.
This method creates an instance of Options action.
Action parameters could be passed or by subsequent Options method calls, like
api..reset('value')
See Base for generic explanation of working with MediaWiki actions and Options class for a list of parameters and usage.
1300 1301 1302 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1300 def Options.new(client, @defaults) end |
#pagetriageaction ⇒ MediaWiktory::Wikipedia::Actions::Pagetriageaction
Mark an article as reviewed or unreviewed.
This method creates an instance of Pagetriageaction action.
Action parameters could be passed or by subsequent Pagetriageaction method calls, like
api.pagetriageaction.pageid('value')
See Base for generic explanation of working with MediaWiki actions and Pagetriageaction class for a list of parameters and usage.
1320 1321 1322 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1320 def pagetriageaction Pagetriageaction.new(client, @defaults) end |
#pagetriagelist ⇒ MediaWiktory::Wikipedia::Actions::Pagetriagelist
Get a list of page IDs for building a PageTriage queue.
This method creates an instance of Pagetriagelist action.
Action parameters could be passed or by subsequent Pagetriagelist method calls, like
api.pagetriagelist.page_id('value')
See Base for generic explanation of working with MediaWiki actions and Pagetriagelist class for a list of parameters and usage.
1340 1341 1342 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1340 def pagetriagelist Pagetriagelist.new(client, @defaults) end |
#pagetriagestats ⇒ MediaWiktory::Wikipedia::Actions::Pagetriagestats
Get the stats for page triage.
This method creates an instance of Pagetriagestats action.
Action parameters could be passed or by subsequent Pagetriagestats method calls, like
api.pagetriagestats.namespace('value')
See Base for generic explanation of working with MediaWiki actions and Pagetriagestats class for a list of parameters and usage.
1360 1361 1362 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1360 def pagetriagestats Pagetriagestats.new(client, @defaults) end |
#pagetriagetagging ⇒ MediaWiktory::Wikipedia::Actions::Pagetriagetagging
Add tags to an article.
This method creates an instance of Pagetriagetagging action.
Action parameters could be passed or by subsequent Pagetriagetagging method calls, like
api.pagetriagetagging.pageid('value')
See Base for generic explanation of working with MediaWiki actions and Pagetriagetagging class for a list of parameters and usage.
1380 1381 1382 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1380 def pagetriagetagging Pagetriagetagging.new(client, @defaults) end |
#pagetriagetemplate ⇒ MediaWiktory::Wikipedia::Actions::Pagetriagetemplate
Fetch templates that are used within the PageTriage application.
This method creates an instance of Pagetriagetemplate action.
Action parameters could be passed or by subsequent Pagetriagetemplate method calls, like
api.pagetriagetemplate.view('value')
See Base for generic explanation of working with MediaWiki actions and Pagetriagetemplate class for a list of parameters and usage.
1400 1401 1402 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1400 def pagetriagetemplate Pagetriagetemplate.new(client, @defaults) end |
#paraminfo ⇒ MediaWiktory::Wikipedia::Actions::Paraminfo
Obtain information about API modules.
This method creates an instance of Paraminfo action.
Action parameters could be passed or by subsequent Paraminfo method calls, like
api.paraminfo.modules('value')
See Base for generic explanation of working with MediaWiki actions and Paraminfo class for a list of parameters and usage.
1420 1421 1422 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1420 def paraminfo Paraminfo.new(client, @defaults) end |
#parse ⇒ MediaWiktory::Wikipedia::Actions::Parse
Parses content and returns parser output.
This method creates an instance of Parse action.
Action parameters could be passed or by subsequent Parse method calls, like
api.parse.title('value')
See Base for generic explanation of working with MediaWiki actions and Parse class for a list of parameters and usage.
1440 1441 1442 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1440 def parse Parse.new(client, @defaults) end |
#parsoid_batch ⇒ MediaWiktory::Wikipedia::Actions::ParsoidBatch
This method creates an instance of ParsoidBatch action.
Action parameters could be passed or by subsequent ParsoidBatch method calls, like
api.parsoid_batch.batch('value')
See Base for generic explanation of working with MediaWiki actions and ParsoidBatch class for a list of parameters and usage.
1460 1461 1462 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1460 def parsoid_batch ParsoidBatch.new(client, @defaults) end |
#patrol ⇒ MediaWiktory::Wikipedia::Actions::Patrol
1480 1481 1482 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1480 def patrol Patrol.new(client, @defaults) end |
#protect ⇒ MediaWiktory::Wikipedia::Actions::Protect
Change the protection level of a page.
This method creates an instance of Protect action.
Action parameters could be passed or by subsequent Protect method calls, like
api.protect.title('value')
See Base for generic explanation of working with MediaWiki actions and Protect class for a list of parameters and usage.
1500 1501 1502 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1500 def protect Protect.new(client, @defaults) end |
#purge ⇒ MediaWiktory::Wikipedia::Actions::Purge
Purge the cache for the given titles.
This method creates an instance of Purge action.
Action parameters could be passed or by subsequent Purge method calls, like
api.purge.forcelinkupdate('value')
See Base for generic explanation of working with MediaWiki actions and Purge class for a list of parameters and usage.
1520 1521 1522 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1520 def purge Purge.new(client, @defaults) end |
#query ⇒ MediaWiktory::Wikipedia::Actions::Query
Fetch data from and about MediaWiki.
This method creates an instance of Query action.
Action parameters could be passed or by subsequent Query method calls, like
api.query.prop('value')
See Base for generic explanation of working with MediaWiki actions and Query class for a list of parameters and usage.
1540 1541 1542 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1540 def query Query.new(client, @defaults) end |
#refresheducation ⇒ MediaWiktory::Wikipedia::Actions::Refresheducation
Rebuild summary data of Education Program objects.
This method creates an instance of Refresheducation action.
Action parameters could be passed or by subsequent Refresheducation method calls, like
api.refresheducation.ids('value')
See Base for generic explanation of working with MediaWiki actions and Refresheducation class for a list of parameters and usage.
1560 1561 1562 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1560 def refresheducation Refresheducation.new(client, @defaults) end |
#removeauthenticationdata ⇒ MediaWiktory::Wikipedia::Actions::Removeauthenticationdata
Remove authentication data for the current user.
This method creates an instance of Removeauthenticationdata action.
Action parameters could be passed or by subsequent Removeauthenticationdata method calls, like
api.removeauthenticationdata.request('value')
See Base for generic explanation of working with MediaWiki actions and Removeauthenticationdata class for a list of parameters and usage.
1580 1581 1582 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1580 def removeauthenticationdata Removeauthenticationdata.new(client, @defaults) end |
#resetpassword ⇒ MediaWiktory::Wikipedia::Actions::Resetpassword
Send a password reset email to a user.
This method creates an instance of Resetpassword action.
Action parameters could be passed or by subsequent Resetpassword method calls, like
api.resetpassword.user('value')
See Base for generic explanation of working with MediaWiki actions and Resetpassword class for a list of parameters and usage.
1600 1601 1602 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1600 def resetpassword Resetpassword.new(client, @defaults) end |
#review ⇒ MediaWiktory::Wikipedia::Actions::Review
Review a revision by approving or de-approving it.
This method creates an instance of Review action.
Action parameters could be passed or by subsequent Review method calls, like
api.review.revid('value')
See Base for generic explanation of working with MediaWiki actions and Review class for a list of parameters and usage.
1620 1621 1622 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1620 def review Review.new(client, @defaults) end |
#reviewactivity ⇒ MediaWiktory::Wikipedia::Actions::Reviewactivity
Advertise or de-advertise yourself as reviewing an unreviewed page or unreviewed changes.
This method creates an instance of Reviewactivity action.
Action parameters could be passed or by subsequent Reviewactivity method calls, like
api.reviewactivity.previd('value')
See Base for generic explanation of working with MediaWiki actions and Reviewactivity class for a list of parameters and usage.
1640 1641 1642 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1640 def reviewactivity Reviewactivity.new(client, @defaults) end |
#revisiondelete ⇒ MediaWiktory::Wikipedia::Actions::Revisiondelete
Delete and undelete revisions.
This method creates an instance of Revisiondelete action.
Action parameters could be passed or by subsequent Revisiondelete method calls, like
api.revisiondelete.type('value')
See Base for generic explanation of working with MediaWiki actions and Revisiondelete class for a list of parameters and usage.
1660 1661 1662 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1660 def revisiondelete Revisiondelete.new(client, @defaults) end |
#rollback ⇒ MediaWiktory::Wikipedia::Actions::Rollback
Undo the last edit to the page.
This method creates an instance of Rollback action.
Action parameters could be passed or by subsequent Rollback method calls, like
api.rollback.title('value')
See Base for generic explanation of working with MediaWiki actions and Rollback class for a list of parameters and usage.
1680 1681 1682 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1680 def rollback Rollback.new(client, @defaults) end |
#rsd ⇒ MediaWiktory::Wikipedia::Actions::Rsd
1695 1696 1697 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1695 def rsd Rsd.new(client, @defaults) end |
#sanitize_mapdata ⇒ MediaWiktory::Wikipedia::Actions::SanitizeMapdata
Performs data validation for Kartographer extension
This method creates an instance of SanitizeMapdata action.
Action parameters could be passed or by subsequent SanitizeMapdata method calls, like
api.sanitize_mapdata.title('value')
See Base for generic explanation of working with MediaWiki actions and SanitizeMapdata class for a list of parameters and usage.
1715 1716 1717 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1715 def sanitize_mapdata SanitizeMapdata.new(client, @defaults) end |
#scribunto_console ⇒ MediaWiktory::Wikipedia::Actions::ScribuntoConsole
Internal module for servicing XHR requests from the Scribunto console.
This method creates an instance of ScribuntoConsole action.
Action parameters could be passed or by subsequent ScribuntoConsole method calls, like
api.scribunto_console.title('value')
See Base for generic explanation of working with MediaWiki actions and ScribuntoConsole class for a list of parameters and usage.
1735 1736 1737 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1735 def scribunto_console ScribuntoConsole.new(client, @defaults) end |
#setglobalaccountstatus ⇒ MediaWiktory::Wikipedia::Actions::Setglobalaccountstatus
Set a global user's status.
This method creates an instance of Setglobalaccountstatus action.
Action parameters could be passed or by subsequent Setglobalaccountstatus method calls, like
api.setglobalaccountstatus.user('value')
See Base for generic explanation of working with MediaWiki actions and Setglobalaccountstatus class for a list of parameters and usage.
1755 1756 1757 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1755 def setglobalaccountstatus Setglobalaccountstatus.new(client, @defaults) end |
#setnotificationtimestamp ⇒ MediaWiktory::Wikipedia::Actions::Setnotificationtimestamp
Update the notification timestamp for watched pages.
This method creates an instance of Setnotificationtimestamp action.
Action parameters could be passed or by subsequent Setnotificationtimestamp method calls, like
api..entirewatchlist('value')
See Base for generic explanation of working with MediaWiki actions and Setnotificationtimestamp class for a list of parameters and usage.
1775 1776 1777 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1775 def Setnotificationtimestamp.new(client, @defaults) end |
#setpagelanguage ⇒ MediaWiktory::Wikipedia::Actions::Setpagelanguage
Changing the language of a page is not allowed on this wiki.
This method creates an instance of Setpagelanguage action.
Action parameters could be passed or by subsequent Setpagelanguage method calls, like
api.setpagelanguage.title('value')
See Base for generic explanation of working with MediaWiki actions and Setpagelanguage class for a list of parameters and usage.
1795 1796 1797 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1795 def setpagelanguage Setpagelanguage.new(client, @defaults) end |
#shortenurl ⇒ MediaWiktory::Wikipedia::Actions::Shortenurl
Shorten a long URL into a shorter one.
This method creates an instance of Shortenurl action.
Action parameters could be passed or by subsequent Shortenurl method calls, like
api.shortenurl.url('value')
See Base for generic explanation of working with MediaWiki actions and Shortenurl class for a list of parameters and usage.
1815 1816 1817 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1815 def shortenurl Shortenurl.new(client, @defaults) end |
#sitematrix ⇒ MediaWiktory::Wikipedia::Actions::Sitematrix
Get Wikimedia sites list.
This method creates an instance of Sitematrix action.
Action parameters could be passed or by subsequent Sitematrix method calls, like
api.sitematrix.type('value')
See Base for generic explanation of working with MediaWiki actions and Sitematrix class for a list of parameters and usage.
1835 1836 1837 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1835 def sitematrix Sitematrix.new(client, @defaults) end |
#spamblacklist ⇒ MediaWiktory::Wikipedia::Actions::Spamblacklist
Validate one or more URLs against the SpamBlacklist.
This method creates an instance of Spamblacklist action.
Action parameters could be passed or by subsequent Spamblacklist method calls, like
api.spamblacklist.url('value')
See Base for generic explanation of working with MediaWiki actions and Spamblacklist class for a list of parameters and usage.
1855 1856 1857 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1855 def spamblacklist Spamblacklist.new(client, @defaults) end |
#stabilize ⇒ MediaWiktory::Wikipedia::Actions::Stabilize
Configure review-protection settings for a page.
This method creates an instance of Stabilize action.
Action parameters could be passed or by subsequent Stabilize method calls, like
api.stabilize.protectlevel('value')
See Base for generic explanation of working with MediaWiki actions and Stabilize class for a list of parameters and usage.
1875 1876 1877 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1875 def stabilize Stabilize.new(client, @defaults) end |
#stashedit ⇒ MediaWiktory::Wikipedia::Actions::Stashedit
Prepare an edit in shared cache.
This method creates an instance of Stashedit action.
Action parameters could be passed or by subsequent Stashedit method calls, like
api.stashedit.title('value')
See Base for generic explanation of working with MediaWiki actions and Stashedit class for a list of parameters and usage.
1895 1896 1897 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1895 def stashedit Stashedit.new(client, @defaults) end |
#strikevote ⇒ MediaWiktory::Wikipedia::Actions::Strikevote
Allows admins to strike or unstrike a vote.
This method creates an instance of Strikevote action.
Action parameters could be passed or by subsequent Strikevote method calls, like
api.strikevote.option('value')
See Base for generic explanation of working with MediaWiki actions and Strikevote class for a list of parameters and usage.
1915 1916 1917 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1915 def strikevote Strikevote.new(client, @defaults) end |
#tag ⇒ MediaWiktory::Wikipedia::Actions::Tag
Add or remove change tags from individual revisions or log entries.
This method creates an instance of Tag action.
Action parameters could be passed or by subsequent Tag method calls, like
api.tag.rcid('value')
See Base for generic explanation of working with MediaWiki actions and Tag class for a list of parameters and usage.
1935 1936 1937 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1935 def tag Tag.new(client, @defaults) end |
#templatedata ⇒ MediaWiktory::Wikipedia::Actions::Templatedata
Fetch data stored by the TemplateData extension.
This method creates an instance of Templatedata action.
Action parameters could be passed or by subsequent Templatedata method calls, like
api.templatedata.titles('value')
See Base for generic explanation of working with MediaWiki actions and Templatedata class for a list of parameters and usage.
1955 1956 1957 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1955 def templatedata Templatedata.new(client, @defaults) end |
#thank ⇒ MediaWiktory::Wikipedia::Actions::Thank
Send a thank-you notification to an editor.
This method creates an instance of Thank action.
Action parameters could be passed or by subsequent Thank method calls, like
api.thank.rev('value')
See Base for generic explanation of working with MediaWiki actions and Thank class for a list of parameters and usage.
1975 1976 1977 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1975 def thank Thank.new(client, @defaults) end |
#titleblacklist ⇒ MediaWiktory::Wikipedia::Actions::Titleblacklist
Validate an article title, filename, or username against the TitleBlacklist.
This method creates an instance of Titleblacklist action.
Action parameters could be passed or by subsequent Titleblacklist method calls, like
api.titleblacklist.title('value')
See Base for generic explanation of working with MediaWiki actions and Titleblacklist class for a list of parameters and usage.
1995 1996 1997 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 1995 def titleblacklist Titleblacklist.new(client, @defaults) end |
#tokens ⇒ MediaWiktory::Wikipedia::Actions::Tokens
Get tokens for data-modifying actions.
This method creates an instance of Tokens action.
Action parameters could be passed or by subsequent Tokens method calls, like
api.tokens.type('value')
See Base for generic explanation of working with MediaWiki actions and Tokens class for a list of parameters and usage.
2015 2016 2017 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 2015 def tokens Tokens.new(client, @defaults) end |
#transcodereset ⇒ MediaWiktory::Wikipedia::Actions::Transcodereset
Users with the 'transcode-reset' right can reset and re-run a transcode job.
This method creates an instance of Transcodereset action.
Action parameters could be passed or by subsequent Transcodereset method calls, like
api.transcodereset.title('value')
See Base for generic explanation of working with MediaWiki actions and Transcodereset class for a list of parameters and usage.
2035 2036 2037 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 2035 def transcodereset Transcodereset.new(client, @defaults) end |
#ulslocalization ⇒ MediaWiktory::Wikipedia::Actions::Ulslocalization
Get the localization of ULS in the given language.
This method creates an instance of Ulslocalization action.
Action parameters could be passed or by subsequent Ulslocalization method calls, like
api.ulslocalization.language('value')
See Base for generic explanation of working with MediaWiki actions and Ulslocalization class for a list of parameters and usage.
2055 2056 2057 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 2055 def ulslocalization Ulslocalization.new(client, @defaults) end |
#unblock ⇒ MediaWiktory::Wikipedia::Actions::Unblock
2075 2076 2077 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 2075 def unblock Unblock.new(client, @defaults) end |
#undelete ⇒ MediaWiktory::Wikipedia::Actions::Undelete
Restore revisions of a deleted page.
This method creates an instance of Undelete action.
Action parameters could be passed or by subsequent Undelete method calls, like
api.undelete.title('value')
See Base for generic explanation of working with MediaWiki actions and Undelete class for a list of parameters and usage.
2095 2096 2097 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 2095 def undelete Undelete.new(client, @defaults) end |
#unlinkaccount ⇒ MediaWiktory::Wikipedia::Actions::Unlinkaccount
Remove a linked third-party account from the current user.
This method creates an instance of Unlinkaccount action.
Action parameters could be passed or by subsequent Unlinkaccount method calls, like
api.unlinkaccount.request('value')
See Base for generic explanation of working with MediaWiki actions and Unlinkaccount class for a list of parameters and usage.
2115 2116 2117 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 2115 def unlinkaccount Unlinkaccount.new(client, @defaults) end |
#upload ⇒ MediaWiktory::Wikipedia::Actions::Upload
Upload a file, or get the status of pending uploads.
This method creates an instance of Upload action.
Action parameters could be passed or by subsequent Upload method calls, like
api.upload.filename('value')
See Base for generic explanation of working with MediaWiki actions and Upload class for a list of parameters and usage.
2135 2136 2137 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 2135 def upload Upload.new(client, @defaults) end |
#userrights ⇒ MediaWiktory::Wikipedia::Actions::Userrights
Change a user's group membership.
This method creates an instance of Userrights action.
Action parameters could be passed or by subsequent Userrights method calls, like
api.userrights.user('value')
See Base for generic explanation of working with MediaWiki actions and Userrights class for a list of parameters and usage.
2155 2156 2157 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 2155 def userrights Userrights.new(client, @defaults) end |
#validatepassword ⇒ MediaWiktory::Wikipedia::Actions::Validatepassword
Validate a password against the wiki's password policies.
This method creates an instance of Validatepassword action.
Action parameters could be passed or by subsequent Validatepassword method calls, like
api.validatepassword.password('value')
See Base for generic explanation of working with MediaWiki actions and Validatepassword class for a list of parameters and usage.
2175 2176 2177 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 2175 def validatepassword Validatepassword.new(client, @defaults) end |
#visualeditor ⇒ MediaWiktory::Wikipedia::Actions::Visualeditor
Returns HTML5 for a page from the Parsoid service.
This method creates an instance of Visualeditor action.
Action parameters could be passed or by subsequent Visualeditor method calls, like
api.visualeditor.page('value')
See Base for generic explanation of working with MediaWiki actions and Visualeditor class for a list of parameters and usage.
2195 2196 2197 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 2195 def visualeditor Visualeditor.new(client, @defaults) end |
#visualeditoredit ⇒ MediaWiktory::Wikipedia::Actions::Visualeditoredit
Save an HTML5 page to MediaWiki (converted to wikitext via the Parsoid service).
This method creates an instance of Visualeditoredit action.
Action parameters could be passed or by subsequent Visualeditoredit method calls, like
api.visualeditoredit.paction('value')
See Base for generic explanation of working with MediaWiki actions and Visualeditoredit class for a list of parameters and usage.
2215 2216 2217 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 2215 def visualeditoredit Visualeditoredit.new(client, @defaults) end |
#watch ⇒ MediaWiktory::Wikipedia::Actions::Watch
Add or remove pages from the current user's watchlist.
This method creates an instance of Watch action.
Action parameters could be passed or by subsequent Watch method calls, like
api.watch.title('value')
See Base for generic explanation of working with MediaWiki actions and Watch class for a list of parameters and usage.
2235 2236 2237 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 2235 def watch Watch.new(client, @defaults) end |
#webapp_manifest ⇒ MediaWiktory::Wikipedia::Actions::WebappManifest
See Base for generic explanation of working with MediaWiki actions and WebappManifest class for a list of parameters and usage.
2250 2251 2252 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 2250 def webapp_manifest WebappManifest.new(client, @defaults) end |
#wikilove ⇒ MediaWiktory::Wikipedia::Actions::Wikilove
Give WikiLove to another user.
This method creates an instance of Wikilove action.
Action parameters could be passed or by subsequent Wikilove method calls, like
api.wikilove.title('value')
See Base for generic explanation of working with MediaWiki actions and Wikilove class for a list of parameters and usage.
2270 2271 2272 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 2270 def wikilove Wikilove.new(client, @defaults) end |
#zeroconfig ⇒ MediaWiktory::Wikipedia::Actions::Zeroconfig
Get configuration of the Zero extension.
This method creates an instance of Zeroconfig action.
Action parameters could be passed or by subsequent Zeroconfig method calls, like
api.zeroconfig.type('value')
See Base for generic explanation of working with MediaWiki actions and Zeroconfig class for a list of parameters and usage.
2290 2291 2292 |
# File 'lib/mediawiktory/wikipedia/actions.rb', line 2290 def zeroconfig Zeroconfig.new(client, @defaults) end |