reality 0.1.0.alpha → 0.1.0.alpha2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +4 -4
  2. data/lib/reality/describers/wikidata.rb +2 -1
  3. data/lib/reality/describers/wikidata/sparql.rb +0 -1
  4. data/lib/reality/version.rb +1 -1
  5. metadata +2 -124
  6. data/lib/reality/describers/wikidata/actions/abusefiltercheckmatch.rb +0 -55
  7. data/lib/reality/describers/wikidata/actions/abusefilterchecksyntax.rb +0 -31
  8. data/lib/reality/describers/wikidata/actions/abusefilterevalexpression.rb +0 -31
  9. data/lib/reality/describers/wikidata/actions/abusefilterunblockautopromote.rb +0 -39
  10. data/lib/reality/describers/wikidata/actions/aggregategroups.rb +0 -76
  11. data/lib/reality/describers/wikidata/actions/antispoof.rb +0 -31
  12. data/lib/reality/describers/wikidata/actions/block.rb +0 -132
  13. data/lib/reality/describers/wikidata/actions/bouncehandler.rb +0 -31
  14. data/lib/reality/describers/wikidata/actions/categorytree.rb +0 -39
  15. data/lib/reality/describers/wikidata/actions/centralauthtoken.rb +0 -25
  16. data/lib/reality/describers/wikidata/actions/centralnoticechoicedata.rb +0 -39
  17. data/lib/reality/describers/wikidata/actions/centralnoticequerycampaign.rb +0 -31
  18. data/lib/reality/describers/wikidata/actions/changeauthenticationdata.rb +0 -39
  19. data/lib/reality/describers/wikidata/actions/checktoken.rb +0 -52
  20. data/lib/reality/describers/wikidata/actions/cirrus-config-dump.rb +0 -25
  21. data/lib/reality/describers/wikidata/actions/cirrus-mapping-dump.rb +0 -25
  22. data/lib/reality/describers/wikidata/actions/cirrus-settings-dump.rb +0 -25
  23. data/lib/reality/describers/wikidata/actions/clearhasmsg.rb +0 -25
  24. data/lib/reality/describers/wikidata/actions/clientlogin.rb +0 -86
  25. data/lib/reality/describers/wikidata/actions/compare.rb +0 -71
  26. data/lib/reality/describers/wikidata/actions/createaccount.rb +0 -86
  27. data/lib/reality/describers/wikidata/actions/cspreport.rb +0 -38
  28. data/lib/reality/describers/wikidata/actions/delete.rb +0 -103
  29. data/lib/reality/describers/wikidata/actions/deleteglobalaccount.rb +0 -47
  30. data/lib/reality/describers/wikidata/actions/echomarkread.rb +0 -77
  31. data/lib/reality/describers/wikidata/actions/echomarkseen.rb +0 -57
  32. data/lib/reality/describers/wikidata/actions/edit.rb +0 -266
  33. data/lib/reality/describers/wikidata/actions/editmassmessagelist.rb +0 -65
  34. data/lib/reality/describers/wikidata/actions/emailuser.rb +0 -62
  35. data/lib/reality/describers/wikidata/actions/expandtemplates.rb +0 -129
  36. data/lib/reality/describers/wikidata/actions/fancycaptchareload.rb +0 -25
  37. data/lib/reality/describers/wikidata/actions/featuredfeed.rb +0 -57
  38. data/lib/reality/describers/wikidata/actions/feedcontributions.rb +0 -121
  39. data/lib/reality/describers/wikidata/actions/feedrecentchanges.rb +0 -159
  40. data/lib/reality/describers/wikidata/actions/feedwatchlist.rb +0 -108
  41. data/lib/reality/describers/wikidata/actions/filerevert.rb +0 -55
  42. data/lib/reality/describers/wikidata/actions/flow-parsoid-utils.rb +0 -73
  43. data/lib/reality/describers/wikidata/actions/flow.rb +0 -72
  44. data/lib/reality/describers/wikidata/actions/flowthank.rb +0 -39
  45. data/lib/reality/describers/wikidata/actions/globalblock.rb +0 -76
  46. data/lib/reality/describers/wikidata/actions/globaluserrights.rb +0 -94
  47. data/lib/reality/describers/wikidata/actions/graph.rb +0 -47
  48. data/lib/reality/describers/wikidata/actions/groupreview.rb +0 -55
  49. data/lib/reality/describers/wikidata/actions/help.rb +0 -64
  50. data/lib/reality/describers/wikidata/actions/imagerotate.rb +0 -25
  51. data/lib/reality/describers/wikidata/actions/import.rb +0 -116
  52. data/lib/reality/describers/wikidata/actions/jsonconfig.rb +0 -60
  53. data/lib/reality/describers/wikidata/actions/jsondata.rb +0 -31
  54. data/lib/reality/describers/wikidata/actions/languagesearch.rb +0 -39
  55. data/lib/reality/describers/wikidata/actions/linkaccount.rb +0 -79
  56. data/lib/reality/describers/wikidata/actions/login.rb +0 -55
  57. data/lib/reality/describers/wikidata/actions/logout.rb +0 -25
  58. data/lib/reality/describers/wikidata/actions/managetags.rb +0 -80
  59. data/lib/reality/describers/wikidata/actions/massmessage.rb +0 -55
  60. data/lib/reality/describers/wikidata/actions/mergehistory.rb +0 -79
  61. data/lib/reality/describers/wikidata/actions/mobileview.rb +0 -170
  62. data/lib/reality/describers/wikidata/actions/move.rb +0 -131
  63. data/lib/reality/describers/wikidata/actions/oathvalidate.rb +0 -47
  64. data/lib/reality/describers/wikidata/actions/opensearch.rb +0 -92
  65. data/lib/reality/describers/wikidata/actions/options.rb +0 -80
  66. data/lib/reality/describers/wikidata/actions/paraminfo.rb +0 -91
  67. data/lib/reality/describers/wikidata/actions/parsoid-batch.rb +0 -31
  68. data/lib/reality/describers/wikidata/actions/patrol.rb +0 -60
  69. data/lib/reality/describers/wikidata/actions/protect.rb +0 -121
  70. data/lib/reality/describers/wikidata/actions/purge.rb +0 -152
  71. data/lib/reality/describers/wikidata/actions/removeauthenticationdata.rb +0 -39
  72. data/lib/reality/describers/wikidata/actions/resetpassword.rb +0 -47
  73. data/lib/reality/describers/wikidata/actions/revisiondelete.rb +0 -125
  74. data/lib/reality/describers/wikidata/actions/rollback.rb +0 -96
  75. data/lib/reality/describers/wikidata/actions/rsd.rb +0 -25
  76. data/lib/reality/describers/wikidata/actions/sanitize-mapdata.rb +0 -39
  77. data/lib/reality/describers/wikidata/actions/scribunto-console.rb +0 -62
  78. data/lib/reality/describers/wikidata/actions/searchtranslations.rb +0 -113
  79. data/lib/reality/describers/wikidata/actions/setglobalaccountstatus.rb +0 -81
  80. data/lib/reality/describers/wikidata/actions/setnotificationtimestamp.rb +0 -177
  81. data/lib/reality/describers/wikidata/actions/setpagelanguage.rb +0 -81
  82. data/lib/reality/describers/wikidata/actions/shortenurl.rb +0 -31
  83. data/lib/reality/describers/wikidata/actions/sitematrix.rb +0 -91
  84. data/lib/reality/describers/wikidata/actions/spamblacklist.rb +0 -36
  85. data/lib/reality/describers/wikidata/actions/stashedit.rb +0 -113
  86. data/lib/reality/describers/wikidata/actions/strikevote.rb +0 -60
  87. data/lib/reality/describers/wikidata/actions/tag.rb +0 -117
  88. data/lib/reality/describers/wikidata/actions/templatedata.rb +0 -145
  89. data/lib/reality/describers/wikidata/actions/thank.rb +0 -47
  90. data/lib/reality/describers/wikidata/actions/titleblacklist.rb +0 -51
  91. data/lib/reality/describers/wikidata/actions/tokens.rb +0 -36
  92. data/lib/reality/describers/wikidata/actions/transcodereset.rb +0 -47
  93. data/lib/reality/describers/wikidata/actions/translatesandbox.rb +0 -81
  94. data/lib/reality/describers/wikidata/actions/translationaids.rb +0 -52
  95. data/lib/reality/describers/wikidata/actions/translationreview.rb +0 -39
  96. data/lib/reality/describers/wikidata/actions/translationstash.rb +0 -76
  97. data/lib/reality/describers/wikidata/actions/ttmserver.rb +0 -60
  98. data/lib/reality/describers/wikidata/actions/ulslocalization.rb +0 -31
  99. data/lib/reality/describers/wikidata/actions/unblock.rb +0 -76
  100. data/lib/reality/describers/wikidata/actions/undelete.rb +0 -99
  101. data/lib/reality/describers/wikidata/actions/unlinkaccount.rb +0 -39
  102. data/lib/reality/describers/wikidata/actions/upload.rb +0 -172
  103. data/lib/reality/describers/wikidata/actions/userrights.rb +0 -107
  104. data/lib/reality/describers/wikidata/actions/validatepassword.rb +0 -55
  105. data/lib/reality/describers/wikidata/actions/visualeditor.rb +0 -96
  106. data/lib/reality/describers/wikidata/actions/visualeditoredit.rb +0 -164
  107. data/lib/reality/describers/wikidata/actions/watch.rb +0 -161
  108. data/lib/reality/describers/wikidata/actions/wbavailablebadges.rb +0 -25
  109. data/lib/reality/describers/wikidata/actions/wbcheckconstraints.rb +0 -62
  110. data/lib/reality/describers/wikidata/actions/wbcreateclaim.rb +0 -91
  111. data/lib/reality/describers/wikidata/actions/wbcreateredirect.rb +0 -54
  112. data/lib/reality/describers/wikidata/actions/wbeditentity.rb +0 -111
  113. data/lib/reality/describers/wikidata/actions/wblinktitles.rb +0 -80
  114. data/lib/reality/describers/wikidata/actions/wbmergeitems.rb +0 -75
  115. data/lib/reality/describers/wikidata/actions/wbremoveclaims.rb +0 -67
  116. data/lib/reality/describers/wikidata/actions/wbremovequalifiers.rb +0 -75
  117. data/lib/reality/describers/wikidata/actions/wbremovereferences.rb +0 -75
  118. data/lib/reality/describers/wikidata/actions/wbsetaliases.rb +0 -148
  119. data/lib/reality/describers/wikidata/actions/wbsetclaim.rb +0 -70
  120. data/lib/reality/describers/wikidata/actions/wbsetclaimvalue.rb +0 -83
  121. data/lib/reality/describers/wikidata/actions/wbsetdescription.rb +0 -117
  122. data/lib/reality/describers/wikidata/actions/wbsetlabel.rb +0 -117
  123. data/lib/reality/describers/wikidata/actions/wbsetqualifier.rb +0 -99
  124. data/lib/reality/describers/wikidata/actions/wbsetreference.rb +0 -94
  125. data/lib/reality/describers/wikidata/actions/wbsetsitelink.rb +0 -130
  126. data/lib/reality/describers/wikidata/actions/wbsgetsuggestions.rb +0 -94
  127. data/lib/reality/describers/wikidata/actions/webapp-manifest.rb +0 -25
@@ -1,132 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Reality::Describers::Wikidata::Impl
4
- module Actions
5
- # Block a user.
6
- #
7
- # Usage:
8
- #
9
- # ```ruby
10
- # api.block.user(value).perform # returns string with raw output
11
- # # or
12
- # api.block.user(value).response # returns output parsed and wrapped into Response object
13
- # ```
14
- #
15
- # See {Base} for generic explanation of working with MediaWiki actions and
16
- # {Reality::Describers::Wikidata::Impl::Response} for working with action responses.
17
- #
18
- # All action's parameters are documented as its public methods, see below.
19
- #
20
- class Block < Reality::Describers::Wikidata::Impl::Actions::Post
21
-
22
- # Username, IP address, or IP address range to block. Cannot be used together with userid
23
- #
24
- # @param value [String]
25
- # @return [self]
26
- def user(value)
27
- merge(user: value.to_s)
28
- end
29
-
30
- # User ID to block. Cannot be used together with user.
31
- #
32
- # @param value [Integer]
33
- # @return [self]
34
- def userid(value)
35
- merge(userid: value.to_s)
36
- end
37
-
38
- # Expiry time. May be relative (e.g. 5 months or 2 weeks) or absolute (e.g. 2014-09-18T12:34:56Z). If set to infinite, indefinite, or never, the block will never expire.
39
- #
40
- # @param value [String]
41
- # @return [self]
42
- def expiry(value)
43
- merge(expiry: value.to_s)
44
- end
45
-
46
- # Reason for block.
47
- #
48
- # @param value [String]
49
- # @return [self]
50
- def reason(value)
51
- merge(reason: value.to_s)
52
- end
53
-
54
- # Block anonymous users only (i.e. disable anonymous edits for this IP address).
55
- #
56
- # @return [self]
57
- def anononly()
58
- merge(anononly: 'true')
59
- end
60
-
61
- # Prevent account creation.
62
- #
63
- # @return [self]
64
- def nocreate()
65
- merge(nocreate: 'true')
66
- end
67
-
68
- # Automatically block the last used IP address, and any subsequent IP addresses they try to login from.
69
- #
70
- # @return [self]
71
- def autoblock()
72
- merge(autoblock: 'true')
73
- end
74
-
75
- # Prevent user from sending email through the wiki. (Requires the blockemail right).
76
- #
77
- # @return [self]
78
- def noemail()
79
- merge(noemail: 'true')
80
- end
81
-
82
- # Hide the username from the block log. (Requires the hideuser right).
83
- #
84
- # @return [self]
85
- def hidename()
86
- merge(hidename: 'true')
87
- end
88
-
89
- # Allow the user to edit their own talk page (depends on $wgBlockAllowsUTEdit).
90
- #
91
- # @return [self]
92
- def allowusertalk()
93
- merge(allowusertalk: 'true')
94
- end
95
-
96
- # If the user is already blocked, overwrite the existing block.
97
- #
98
- # @return [self]
99
- def reblock()
100
- merge(reblock: 'true')
101
- end
102
-
103
- # Watch the user's or IP address's user and talk pages.
104
- #
105
- # @return [self]
106
- def watchuser()
107
- merge(watchuser: 'true')
108
- end
109
-
110
- # Change tags to apply to the entry in the block log.
111
- #
112
- # @param values [Array<String>] Allowed values: "InfoboxExport gadget", "WE-Framework gadget".
113
- # @return [self]
114
- def tags(*values)
115
- values.inject(self) { |res, val| res._tags(val) or fail ArgumentError, "Unknown value for tags: #{val}" }
116
- end
117
-
118
- # @private
119
- def _tags(value)
120
- defined?(super) && super || ["InfoboxExport gadget", "WE-Framework gadget"].include?(value.to_s) && merge(tags: value.to_s, replace: false)
121
- end
122
-
123
- # A "csrf" token retrieved from action=query&meta=tokens
124
- #
125
- # @param value [String]
126
- # @return [self]
127
- def token(value)
128
- merge(token: value.to_s)
129
- end
130
- end
131
- end
132
- end
@@ -1,31 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Reality::Describers::Wikidata::Impl
4
- module Actions
5
- # Receive a bounce email and process it to handle the failing recipient.
6
- #
7
- # Usage:
8
- #
9
- # ```ruby
10
- # api.bouncehandler.email(value).perform # returns string with raw output
11
- # # or
12
- # api.bouncehandler.email(value).response # returns output parsed and wrapped into Response object
13
- # ```
14
- #
15
- # See {Base} for generic explanation of working with MediaWiki actions and
16
- # {Reality::Describers::Wikidata::Impl::Response} for working with action responses.
17
- #
18
- # All action's parameters are documented as its public methods, see below.
19
- #
20
- class Bouncehandler < Reality::Describers::Wikidata::Impl::Actions::Post
21
-
22
- # The bounced email.
23
- #
24
- # @param value [String]
25
- # @return [self]
26
- def email(value)
27
- merge(email: value.to_s)
28
- end
29
- end
30
- end
31
- end
@@ -1,39 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Reality::Describers::Wikidata::Impl
4
- module Actions
5
- # Internal module for the CategoryTree extension.
6
- #
7
- # Usage:
8
- #
9
- # ```ruby
10
- # api.categorytree.category(value).perform # returns string with raw output
11
- # # or
12
- # api.categorytree.category(value).response # returns output parsed and wrapped into Response object
13
- # ```
14
- #
15
- # See {Base} for generic explanation of working with MediaWiki actions and
16
- # {Reality::Describers::Wikidata::Impl::Response} for working with action responses.
17
- #
18
- # All action's parameters are documented as its public methods, see below.
19
- #
20
- class Categorytree < Reality::Describers::Wikidata::Impl::Actions::Get
21
-
22
- # Title in the category namespace, prefix will be ignored if given.
23
- #
24
- # @param value [String]
25
- # @return [self]
26
- def category(value)
27
- merge(category: value.to_s)
28
- end
29
-
30
- # Options for the CategoryTree constructor as a JSON object. The depth option defaults to 1.
31
- #
32
- # @param value [String]
33
- # @return [self]
34
- def options(value)
35
- merge(options: value.to_s)
36
- end
37
- end
38
- end
39
- end
@@ -1,25 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Reality::Describers::Wikidata::Impl
4
- module Actions
5
- # Fetch a centralauthtoken for making an authenticated request to an attached wiki.
6
- #
7
- # Usage:
8
- #
9
- # ```ruby
10
- # api.centralauthtoken.perform # returns string with raw output
11
- # # or
12
- # api.centralauthtoken.response # returns output parsed and wrapped into Mash-like object
13
- # ```
14
- #
15
- # This action has no parameters.
16
- #
17
- # See {Base} for generic explanation of working with MediaWiki actions and
18
- # {Reality::Describers::Wikidata::Impl::Response} for working with action responses.
19
- #
20
- # All action's parameters are documented as its public methods, see below.
21
- #
22
- class Centralauthtoken < Reality::Describers::Wikidata::Impl::Actions::Get
23
- end
24
- end
25
- end
@@ -1,39 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Reality::Describers::Wikidata::Impl
4
- module Actions
5
- # Get data needed to choose a banner for a given project and language
6
- #
7
- # Usage:
8
- #
9
- # ```ruby
10
- # api.centralnoticechoicedata.project(value).perform # returns string with raw output
11
- # # or
12
- # api.centralnoticechoicedata.project(value).response # returns output parsed and wrapped into Response object
13
- # ```
14
- #
15
- # See {Base} for generic explanation of working with MediaWiki actions and
16
- # {Reality::Describers::Wikidata::Impl::Response} for working with action responses.
17
- #
18
- # All action's parameters are documented as its public methods, see below.
19
- #
20
- class Centralnoticechoicedata < Reality::Describers::Wikidata::Impl::Actions::Get
21
-
22
- # The project to get banner choice data for.
23
- #
24
- # @param value [String]
25
- # @return [self]
26
- def project(value)
27
- merge(project: value.to_s)
28
- end
29
-
30
- # The language to get banner choice data for.
31
- #
32
- # @param value [String]
33
- # @return [self]
34
- def language(value)
35
- merge(language: value.to_s)
36
- end
37
- end
38
- end
39
- end
@@ -1,31 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Reality::Describers::Wikidata::Impl
4
- module Actions
5
- # Get all configuration settings for a campaign.
6
- #
7
- # Usage:
8
- #
9
- # ```ruby
10
- # api.centralnoticequerycampaign.campaign(value).perform # returns string with raw output
11
- # # or
12
- # api.centralnoticequerycampaign.campaign(value).response # returns output parsed and wrapped into Response object
13
- # ```
14
- #
15
- # See {Base} for generic explanation of working with MediaWiki actions and
16
- # {Reality::Describers::Wikidata::Impl::Response} for working with action responses.
17
- #
18
- # All action's parameters are documented as its public methods, see below.
19
- #
20
- class Centralnoticequerycampaign < Reality::Describers::Wikidata::Impl::Actions::Get
21
-
22
- # Campaign name. Separate multiple values with a "|" (vertical bar).
23
- #
24
- # @param value [String]
25
- # @return [self]
26
- def campaign(value)
27
- merge(campaign: value.to_s)
28
- end
29
- end
30
- end
31
- end
@@ -1,39 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Reality::Describers::Wikidata::Impl
4
- module Actions
5
- # Change authentication data for the current user.
6
- #
7
- # Usage:
8
- #
9
- # ```ruby
10
- # api.changeauthenticationdata.request(value).perform # returns string with raw output
11
- # # or
12
- # api.changeauthenticationdata.request(value).response # returns output parsed and wrapped into Response object
13
- # ```
14
- #
15
- # See {Base} for generic explanation of working with MediaWiki actions and
16
- # {Reality::Describers::Wikidata::Impl::Response} for working with action responses.
17
- #
18
- # All action's parameters are documented as its public methods, see below.
19
- #
20
- class Changeauthenticationdata < Reality::Describers::Wikidata::Impl::Actions::Post
21
-
22
- # Use this authentication request, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=change.
23
- #
24
- # @param value [String]
25
- # @return [self]
26
- def request(value)
27
- merge(changeauthrequest: value.to_s)
28
- end
29
-
30
- # A "csrf" token retrieved from action=query&meta=tokens
31
- #
32
- # @param value [String]
33
- # @return [self]
34
- def token(value)
35
- merge(changeauthtoken: value.to_s)
36
- end
37
- end
38
- end
39
- end
@@ -1,52 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Reality::Describers::Wikidata::Impl
4
- module Actions
5
- # Check the validity of a token from action=query&meta=tokens.
6
- #
7
- # Usage:
8
- #
9
- # ```ruby
10
- # api.checktoken.type(value).perform # returns string with raw output
11
- # # or
12
- # api.checktoken.type(value).response # returns output parsed and wrapped into Response object
13
- # ```
14
- #
15
- # See {Base} for generic explanation of working with MediaWiki actions and
16
- # {Reality::Describers::Wikidata::Impl::Response} for working with action responses.
17
- #
18
- # All action's parameters are documented as its public methods, see below.
19
- #
20
- class Checktoken < Reality::Describers::Wikidata::Impl::Actions::Get
21
-
22
- # Type of token being tested.
23
- #
24
- # @param value [String] One of "createaccount", "csrf", "deleteglobalaccount", "login", "patrol", "rollback", "setglobalaccountstatus", "userrights", "watch".
25
- # @return [self]
26
- def type(value)
27
- _type(value) or fail ArgumentError, "Unknown value for type: #{value}"
28
- end
29
-
30
- # @private
31
- def _type(value)
32
- defined?(super) && super || ["createaccount", "csrf", "deleteglobalaccount", "login", "patrol", "rollback", "setglobalaccountstatus", "userrights", "watch"].include?(value.to_s) && merge(type: value.to_s)
33
- end
34
-
35
- # Token to test.
36
- #
37
- # @param value [String]
38
- # @return [self]
39
- def token(value)
40
- merge(token: value.to_s)
41
- end
42
-
43
- # Maximum allowed age of the token, in seconds.
44
- #
45
- # @param value [Integer]
46
- # @return [self]
47
- def maxtokenage(value)
48
- merge(maxtokenage: value.to_s)
49
- end
50
- end
51
- end
52
- end
@@ -1,25 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Reality::Describers::Wikidata::Impl
4
- module Actions
5
- # Dump of CirrusSearch configuration.
6
- #
7
- # Usage:
8
- #
9
- # ```ruby
10
- # api.cirrus-config-dump.perform # returns string with raw output
11
- # # or
12
- # api.cirrus-config-dump.response # returns output parsed and wrapped into Mash-like object
13
- # ```
14
- #
15
- # This action has no parameters.
16
- #
17
- # See {Base} for generic explanation of working with MediaWiki actions and
18
- # {Reality::Describers::Wikidata::Impl::Response} for working with action responses.
19
- #
20
- # All action's parameters are documented as its public methods, see below.
21
- #
22
- class CirrusConfigDump < Reality::Describers::Wikidata::Impl::Actions::Get
23
- end
24
- end
25
- end
@@ -1,25 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Reality::Describers::Wikidata::Impl
4
- module Actions
5
- # Dump of CirrusSearch mapping for this wiki.
6
- #
7
- # Usage:
8
- #
9
- # ```ruby
10
- # api.cirrus-mapping-dump.perform # returns string with raw output
11
- # # or
12
- # api.cirrus-mapping-dump.response # returns output parsed and wrapped into Mash-like object
13
- # ```
14
- #
15
- # This action has no parameters.
16
- #
17
- # See {Base} for generic explanation of working with MediaWiki actions and
18
- # {Reality::Describers::Wikidata::Impl::Response} for working with action responses.
19
- #
20
- # All action's parameters are documented as its public methods, see below.
21
- #
22
- class CirrusMappingDump < Reality::Describers::Wikidata::Impl::Actions::Get
23
- end
24
- end
25
- end