Свойство | Type | Description | |
---|---|---|---|
Key | string | ||
LoadCategoryCollation | void | ||
LoadFromCache | bool | ||
LoadFromNetwork | bool | ||
SiteInfo | System |
Méthode | 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 ( |
Méthode | 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 | |
Résultat |
public GetMessages ( ) : string>.Dictionary |
||
Résultat | string>.Dictionary |
public GetSchema ( ) : System.Xml.Schema.XmlSchema | ||
Résultat | System.Xml.Schema.XmlSchema |
public static NormalizeURL ( string url ) : string | ||
url | string | URL. |
Résultat | string |
public OpenPageHistoryInBrowser ( string title ) : void | ||
title | string | |
Résultat | void |
public OpenPageInBrowser ( string title ) : void | ||
title | string | |
Résultat | void |
public ParseErrorFromSiteInfoOutput ( ) : object | ||
Résultat | object |
public ReadXml ( |
||
reader | ||
Résultat | void |
public SiteInfo ( IApiEdit editor ) : System | ||
editor | IApiEdit | |
Résultat | System |
public WriteXml ( |
||
writer | ||
Résultat | void |