Huggle  build:^490^dce1e5c
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
Huggle::WikiSite Class Reference

Site. More...

#include <wikisite.hpp>

Public Member Functions

 WikiSite (WikiSite *w)
 
 WikiSite (const WikiSite &w)
 
 WikiSite (QString name, QString url)
 
 WikiSite (QString name, QString url, QString path, QString script, bool https, bool oauth, QString channel, QString wl)
 This will create a new instance of wikisite with most of configuration. More...
 

Public Attributes

QString IRCChannel
 IRC channel of this site, if it doesn't have a channel leave it empty.
 
QString LongPath
 long article path (wiki/ for example on english wp)
 
QString Name
 Name of wiki, used by huggle only.
 
QString OAuthURL
 URL of oauth handler for this site.
 
QString ScriptPath
 short path
 
bool SupportHttps
 Whether the site supports the ssl.
 
bool SupportOAuth
 
QString URL
 URL of wiki, no http prefix must be present.
 
QString WhiteList
 

Detailed Description

Site.

Definition at line 19 of file wikisite.hpp.

Constructor & Destructor Documentation

WikiSite::WikiSite ( QString  name,
QString  url,
QString  path,
QString  script,
bool  https,
bool  oauth,
QString  channel,
QString  wl 
)

This will create a new instance of wikisite with most of configuration.

Parameters
nameis a name of wiki for internal purposes
urlis relative url to wiki (no http prefix) which must be terminated with slash
pathis long path for articles, like wiki/
scriptis short path w/
httpsset this true if your wiki support https
oauthset this true if your wiki support oauth
channelirc
wlwhitelist

Definition at line 53 of file wikisite.cpp.

References IRCChannel, LongPath, Name, OAuthURL, ScriptPath, SupportHttps, URL, and WhiteList.

Member Data Documentation

QString Huggle::WikiSite::WhiteList

URL of whitelist, every site needs to have some, if your site doesn't have it leave it as test

Definition at line 36 of file wikisite.hpp.

Referenced by WikiSite().


The documentation for this class was generated from the following files: