Свойство | Тип | Описание | |
---|---|---|---|
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 GetMessages ( ) : string>.Dictionary |
||
Результат | string>.Dictionary |
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 |
public OpenPageInBrowser ( string title ) : void | ||
title | string | |
Результат | void |
public ParseErrorFromSiteInfoOutput ( ) : object | ||
Результат | object |
public ReadXml ( |
||
reader | ||
Результат | void |
public SiteInfo ( IApiEdit editor ) : System | ||
editor | IApiEdit | |
Результат | System |
public WriteXml ( |
||
writer | ||
Результат | void |