Property | Type | Description | |
---|---|---|---|
Key | string | ||
LoadCategoryCollation | void | ||
LoadFromCache | bool | ||
LoadFromNetwork | bool | ||
SiteInfo | System |
Method | Description | |
---|---|---|
CreateOrLoad ( IApiEdit editor ) : |
||
GetMessages ( ) : string>.Dictionary |
Only called if language != en |
|
GetSchema ( ) : System.Xml.Schema.XmlSchema | ||
LoadSiteInfo ( ) : bool |
Loads SiteInfo from local cache or API call, processes data returned
|
|
NormalizeURL ( string url ) : string |
Ensures URL ends with /
|
|
OpenPageHistoryInBrowser ( string title ) : void | ||
OpenPageInBrowser ( string title ) : void | ||
ParseErrorFromSiteInfoOutput ( ) : object | ||
ReadXml ( |
||
SiteInfo ( IApiEdit editor ) : System |
Creates an instance of the class
|
|
WriteXml ( |
Method | Description | |
---|---|---|
Key ( string scriptPath ) : string |
For object caching support
|
|
LoadCategoryCollation ( ) : void |
Loads the category collation information (value of wgCategoryCollation parameter) from https://noc.wikimedia.org/conf/InitialiseSettings.php.txt Stores result in object cache
|
|
LoadFromCache ( ) : bool |
Loads siteinfo XML from Global cache on disk if available
|
|
LoadFromNetwork ( ) : bool |
Loads siteinfo XML from network via API call
|
|
SiteInfo ( ) : System |
public static CreateOrLoad ( IApiEdit editor ) : |
||
editor | IApiEdit | |
return |
public GetSchema ( ) : System.Xml.Schema.XmlSchema | ||
return | System.Xml.Schema.XmlSchema |
public static NormalizeURL ( string url ) : string | ||
url | string | URL. |
return | string |
public OpenPageHistoryInBrowser ( string title ) : void | ||
title | string | |
return | void |
public OpenPageInBrowser ( string title ) : void | ||
title | string | |
return | void |
public ParseErrorFromSiteInfoOutput ( ) : object | ||
return | object |
public ReadXml ( |
||
reader | ||
return | void |
public WriteXml ( |
||
writer | ||
return | void |