mediawiki-0.2: Interfacing with the MediaWiki APISource codeContentsIndex
MediaWiki.API.Types
Portabilityportable
Stabilityprovisional
MaintainerSigbjorn Finne <sof@forkIO.com>
Description
Basic MediaWiki API types
Documentation
type UserName = StringSource
type NamespaceID = StringSource
type TimeString = StringSource
data Direction Source
Constructors
Up
Down
show/hide Instances
type RevID = StringSource
type PageName = StringSource
type UserID = StringSource
data TimeArrow Source
Constructors
Earlier
Later
show/hide Instances
type Timestamp = StringSource
type Redirect = StringSource
type SortKind = StringSource
type CatName = StringSource
type GroupName = StringSource
type FilterLang = StringSource
type WithRedirects = StringSource
type URLString = StringSource
type Token = StringSource
type LangName = StringSource
nullRevId :: RevIDSource
nullTimestamp :: TimestampSource
nullUser :: UserNameSource
data PageTitle Source
Constructors
PageTitle
pgNS :: NamespaceID
pgTitle :: Title
pgMbId :: Maybe PageID
pgMissing :: Bool
emptyPageTitle :: PageTitleSource
mainNamespace :: NamespaceIDSource
ns_MAIN :: NamespaceIDSource
ns_IMAGE :: NamespaceIDSource
data Format Source
Constructors
Format
formatKind :: FormatKind
formatFormatted :: Bool
emptyFormat :: FormatSource
xmlFormat :: FormatSource
data FormatKind Source
Constructors
FormatJSON
FormatPHP
FormatWDDX
FormatXML
FormatYAML
FormatTxt
FormatDbg
type User = StringSource
type Password = StringSource
type LoginToken = StringSource
type SessionID = StringSource
type SessionToken = StringSource
type ValueName = (String, String)Source
data UserInfo Source
Constructors
UserInfo
uiName :: UserName
uiId :: UserID
uiIsAnon :: Bool
uiHasMessage :: Bool
uiBlocked :: Maybe (UserName, String)
uiGroups :: [String]
uiRights :: [String]
uiOptions :: [(String, String)]
uiRateLimits :: [RateLimit]
uiEditCount :: Maybe Int
emptyUserInfo :: UserInfoSource
data RateLimit Source
Constructors
RateLimit
rlName :: String
rlHits :: Int
rlSeconds :: Int
data NamespaceInfo Source
Constructors
NamespaceInfo
nsId :: String
nsTitle :: String
nsSubpages :: Bool
data InterwikiEntry Source
Constructors
InterwikiEntry
iwPrefix :: String
iwLocal :: Bool
iwTranscludable :: Maybe Bool
iwUrl :: String
iwLanguage :: Maybe String
data UserSession Source
Constructors
UserSession
sessUserId :: UserID
sessUserName :: UserName
sessPassword :: Maybe Password
sessCookiePrefix :: Maybe String
sessSessionId :: Maybe SessionID
sessToken :: LoginToken
data HelpRequest Source
Constructors
HelpRequest
helpVersion :: Maybe Bool
type Title = StringSource
type PageID = StringSource
type RevisionID = StringSource
newtype PropKind Source
Constructors
PropKind
prKind :: String
newtype MetaKind Source
Constructors
MetaKind
meKind :: String
newtype ListKind Source
Constructors
ListKind
liKind :: String
newtype GeneratorKind Source
Constructors
GeneratorKind
genKind :: String
class APIRequest a whereSource
Methods
showReq :: a -> [Maybe (String, String)]Source
isPostable :: a -> BoolSource
queryKind :: a -> QueryKindSource
show/hide Instances
data QueryKind Source
Constructors
QProp String
QMeta String
QList String
QGen String
show/hide Instances
data QueryRequest Source
Constructors
QueryRequest
quTitles :: [Title]
quPageIds :: [PageID]
quRevIds :: [RevisionID]
quProps :: [PropKind]
quLists :: [ListKind]
quMetas :: [MetaKind]
quGenerator :: Maybe GeneratorKind
quFollowRedirects :: Maybe Bool
quIndexPageIds :: Maybe Bool
emptyQuery :: QueryRequestSource
Produced by Haddock version 2.7.2