프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Key | string | ||
LoadCategoryCollation | void | ||
LoadFromCache | bool | ||
LoadFromNetwork | bool | ||
SiteInfo | System |
메소드 | 설명 | |
---|---|---|
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 ( |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 |
public GetSchema ( ) : System.Xml.Schema.XmlSchema | ||
리턴 | System.Xml.Schema.XmlSchema |
public static NormalizeURL ( string url ) : string | ||
url | string | URL. |
리턴 | string |
public OpenPageHistoryInBrowser ( string title ) : void | ||
title | string | |
리턴 | void |