public class SSLWiki extends Mediawiki
| Modifier and Type | Class and Description |
|---|---|
static class |
SSLWiki.IgnoreHostName
avoid ssl issue with hostname check
|
Mediawiki.Method| Modifier and Type | Field and Description |
|---|---|
static boolean |
ignoreCertificates |
apiPath, debug, DEFAULT_SCRIPTPATH, format, scriptPath, siteurl, testMode, USER_AGENT, userid, VERSIONLOGGER, protectionMarker, throwExceptionOnError| Constructor and Description |
|---|
SSLWiki(String url)
constructor
|
SSLWiki(String url,
String scriptPath)
construct me from an url and scriptPath
|
SSLWiki(String url,
String scriptPath,
String wikiid)
constructor with three params
|
| Modifier and Type | Method and Description |
|---|---|
String |
getWikiid() |
void |
init()
initialize this wiki
|
void |
init(String siteurl,
String scriptpath)
overrideable e.g for SSL configuration
|
void |
login()
log me in with the configured user
|
void |
setWikiid(String wikiid) |
createAccount, dateToMWTimeStamp, delete, edit, edit, getActionResult, getActionResult, getActionResult, getActionResultText, getAllImagesByTimeStamp, getAllPages, getBacklinks, getEditToken, getFormat, getImageInfo, getImageInfosForPage, getImagesOnPage, getImageUsage, getIsoTimeStamp, getMostRecentChanges, getPageContent, getPageContent, getPageHtml, getPages, getPages, getParamMap, getParse, getPostResponse, getQueryResult, getRecentChanges, getResource, getResponse, getResponseString, getScriptPath, getSections, getSectionText, getSiteInfo, getSiteurl, getStringFromUrl, getTitles, handle, isDebug, isLoggedIn, isVersion128, login, login, login, login, logout, main, maininstance, prepareLogin, setDebug, setFormat, setScriptPath, setSiteurl, setUpSiteInfo, showHelp, showVersion, sortByTitleAndFilterDoubles, upload, upload, upload, usagecopyToWiki, decode, encode, fromXML, getProtectionMarker, getVersion, handleError, handleError, handleError, isThrowExceptionOnError, normalizeTitle, setProtectionMarker, setThrowExceptionOnError, setVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopyToWiki, getVersion, isThrowExceptionOnError, normalizeTitle, setProtectionMarker, setThrowExceptionOnErrorpublic SSLWiki(String url, String scriptPath) throws Exception
url - scriptPath - Exceptionpublic String getWikiid()
public void setWikiid(String wikiid)
wikiid - the wikiid to setpublic void init(String siteurl, String scriptpath) throws Exception
Mediawikiinit in interface MediawikiApiinit in class Mediawikisiteurl - - the url to usescriptpath - - the script path to useExceptionCopyright © 2018 BITPlan GmbH. All rights reserved.