-
Notifications
You must be signed in to change notification settings - Fork 2
/
mediawiki.cabal
134 lines (130 loc) · 6.23 KB
/
mediawiki.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
Name: mediawiki
Version: 0.2.6
License: BSD3
License-file: LICENSE
Category: Web
Synopsis: Interfacing with the MediaWiki API
Description:
A complete Haskell binding to the MediaWiki API letting you
programmatically access (read and write) MediaWiki content.
.
See <http://www.mediawiki.org/wiki/API> and <http://haskell.forkio.com/>
for more.
Author: Sigbjorn Finne <[email protected]>
Maintainer: Sigbjorn Finne <[email protected]>
Cabal-version: >= 1.8
build-type: Simple
extra-source-files: README
examples/ListCat.hs
examples/LinksTo.hs
examples/Util/GetOpts.hs
library
Exposed-Modules: MediaWiki.API.Types,
MediaWiki.API.Output,
MediaWiki.API,
MediaWiki.API.Base,
MediaWiki.API.Utils,
MediaWiki.API.Query.AllCategories,
MediaWiki.API.Query.AllCategories.Import,
MediaWiki.API.Query.AllImages,
MediaWiki.API.Query.AllImages.Import,
MediaWiki.API.Query.AllLinks,
MediaWiki.API.Query.AllLinks.Import,
MediaWiki.API.Query.AllMessages,
MediaWiki.API.Query.AllMessages.Import,
MediaWiki.API.Query.AllPages,
MediaWiki.API.Query.AllPages.Import,
MediaWiki.API.Query.AllUsers,
MediaWiki.API.Query.AllUsers.Import,
MediaWiki.API.Query.BackLinks,
MediaWiki.API.Query.BackLinks.Import,
MediaWiki.API.Query.Blocks,
MediaWiki.API.Query.Blocks.Import,
MediaWiki.API.Query.Categories,
MediaWiki.API.Query.Categories.Import,
MediaWiki.API.Query.CategoryInfo,
MediaWiki.API.Query.CategoryInfo.Import,
MediaWiki.API.Query.CategoryMembers,
MediaWiki.API.Query.CategoryMembers.Import,
MediaWiki.API.Query.DeletedRevisions,
MediaWiki.API.Query.DeletedRevisions.Import,
MediaWiki.API.Query.EmbeddedIn,
MediaWiki.API.Query.EmbeddedIn.Import,
MediaWiki.API.Query.ExternalLinks
MediaWiki.API.Query.ExternalLinks.Import,
MediaWiki.API.Query.ExternalURLUsage
MediaWiki.API.Query.ExternalURLUsage.Import,
MediaWiki.API.Query.ImageInfo,
MediaWiki.API.Query.ImageInfo.Import,
MediaWiki.API.Query.Images,
MediaWiki.API.Query.Images.Import,
MediaWiki.API.Query.ImageUsage,
MediaWiki.API.Query.ImageUsage.Import,
MediaWiki.API.Query.Info,
MediaWiki.API.Query.Info.Import,
MediaWiki.API.Query.LangLinks,
MediaWiki.API.Query.LangLinks.Import,
MediaWiki.API.Query.Links,
MediaWiki.API.Query.Links.Import,
MediaWiki.API.Query.LogEvents,
MediaWiki.API.Query.LogEvents.Import,
MediaWiki.API.Query.Random,
MediaWiki.API.Query.Random.Import,
MediaWiki.API.Query.RecentChanges,
MediaWiki.API.Query.RecentChanges.Import,
MediaWiki.API.Query.Revisions,
MediaWiki.API.Query.Revisions.Import,
MediaWiki.API.Query.Search,
MediaWiki.API.Query.Search.Import,
MediaWiki.API.Query.SiteInfo,
MediaWiki.API.Query.SiteInfo.Import,
MediaWiki.API.Query.Templates,
MediaWiki.API.Query.Templates.Import,
MediaWiki.API.Query.UserContribs,
MediaWiki.API.Query.UserContribs.Import,
MediaWiki.API.Query.UserInfo,
MediaWiki.API.Query.UserInfo.Import,
MediaWiki.API.Query.Users,
MediaWiki.API.Query.Users.Import,
MediaWiki.API.Query.WatchList,
MediaWiki.API.Query.WatchList.Import,
MediaWiki.API.Action.Sitematrix,
MediaWiki.API.Action.Login,
MediaWiki.API.Action.Login.Import,
MediaWiki.API.Action.ParamInfo,
MediaWiki.API.Action.Parse,
MediaWiki.API.Action.Parse.Import,
MediaWiki.API.Action.Rollback,
MediaWiki.API.Action.Delete,
MediaWiki.API.Action.Undelete,
MediaWiki.API.Action.Protect,
MediaWiki.API.Action.Block,
MediaWiki.API.Action.Unblock,
MediaWiki.API.Action.Move,
MediaWiki.API.Action.Edit,
MediaWiki.API.Action.EmailUser,
MediaWiki.API.Action.Watch,
MediaWiki.API.Action.OpenSearch,
MediaWiki.API.Action.FeedWatchlist,
MediaWiki.API.Action.ExpandTemplates,
MediaWiki.API.Action.ExpandTemplates.Import,
MediaWiki.Util.Fetch,
MediaWiki.Util.Codec.Percent,
MediaWiki.Util.Codec.URLEncoder
Ghc-Options: -Wall -O2
Build-Depends: base >= 3 && < 5, xml, HTTP >= 3001, network, mime, utf8-string
executable main {
Build-Depends: mediawiki, base >= 3 && < 5, xml, HTTP >= 3001, network, mime, utf8-string
Main-is: Main.hs
Ghc-options: -Wall
}
executable listCat {
Build-Depends: mediawiki, base >= 3 && < 5, xml, HTTP >= 3001, network, mime, utf8-string, pretty
Main-is: examples/ListCat.hs
Ghc-options: -Wall -iexamples
}
executable linksTo {
Build-Depends: mediawiki, base >= 4, xml, HTTP >= 3001, network, mime, utf8-string, pretty
Main-is: examples/LinksTo.hs
Ghc-options: -Wall -iexamples
}