Свойство | Type | Description | |
---|---|---|---|
CanonicalNamespaceAliases | List | ||
CanonicalNamespaces | string>.Dictionary | ||
ENLangMonthNames | string[] | ||
MagicWords | List | ||
MonthNames | string[] | ||
NamespaceAliases | List | ||
Namespaces | string>.Dictionary | ||
NamespacesCaseInsensitive | string>.Dictionary | ||
Profiler | |||
ReloadProjectSettings | ProjectHoldArea | ||
RetfPath | string | ||
SectStub | string | ||
SectStubRegex | |||
Stub | string | ||
URL | string | ||
UnderscoredTitles | List |
Méthode | Description | |
---|---|---|
AWBVersionString ( string version ) : string | ||
AddUnderscoredTitles ( List |
For unit tests only, method to add entries to UnderscoredTitles
|
|
GetArticleHistoryURL ( string title ) : string |
returns full URL to the history page of the input title, depends on project settings
|
|
GetEditURL ( string title ) : string |
returns full URL to the edit page of the input title, depends on project settings
|
|
GetPlainTextURL ( string title ) : string |
Returns the full URL to the input wiki page using current site settings, specifying &action=raw
|
|
GetUserTalkURL ( string username ) : string |
returns full URL to the user talk page of the input user, depends on project settings
|
|
NonPrettifiedURL ( string title ) : string |
returns full URL to the given page, depends on project settings
|
|
PrepareWebRequest ( string url ) : |
Creates an HTTP web request. Timeout set to 15 seconds
|
|
PrepareWebRequest ( string url, string userAgent ) : |
Creates an HTTP web request. Timeout set to 15 seconds
|
|
RefreshProxy ( ) : void |
Refreshs the system proxy.
|
|
SetProject ( string langCode, ProjectEnum projectName ) : void |
Sets different language variables, such as namespaces. Default is english Wikipedia
|
|
SetProject ( string langCode, ProjectEnum projectName, string customProject, string protocol ) : void |
Sets different language variables, such as namespaces. Default is english Wikipedia
|
|
SetProjectLangCode ( string langCode ) : void |
Sets the language code of the current project Do not use this outside unit tests |
|
SetProjectSimple ( string langCode, ProjectEnum projectName ) : void |
Sets different language variables, such as namespaces. Default is English Wikipedia Do not use this outside unit tests |
|
WaitForDelayedRequests ( ) : void |
Waits for all background stuff to be loaded
|
Méthode | Description | |
---|---|---|
AWBDefaultSummaryTag ( ) : void |
Sets the AWB default summary tag.
|
|
CancelBackgroundRequests ( ) : void | ||
LoadUnderscores ( ) : void | ||
PrepareAliases ( string>.Dictionary |
||
RegenerateRegexes ( ) : void |
|
|
SetLanguageSpecificValues ( string langCode, ProjectEnum projectName ) : void |
Sets the language specific values: summary tag, stub regex, AWB project link
|
|
SetToEnglish ( ) : void |
|
|
UnderscoresLoaded ( WikiFunctions.Background.BackgroundRequest req ) : void | ||
Variables ( ) : System |
public static AWBVersionString ( string version ) : string | ||
version | string | |
Résultat | string |
public static AddUnderscoredTitles ( List |
||
titles | List |
|
Résultat | void |
public static GetArticleHistoryURL ( string title ) : string | ||
title | string | |
Résultat | string |
public static GetEditURL ( string title ) : string | ||
title | string | |
Résultat | string |
public static GetPlainTextURL ( string title ) : string | ||
title | string | |
Résultat | string |
public static GetUserTalkURL ( string username ) : string | ||
username | string | |
Résultat | string |
public static NonPrettifiedURL ( string title ) : string | ||
title | string | |
Résultat | string |
public static PrepareWebRequest ( string url ) : |
||
url | string | /// URL. /// |
Résultat |
public static PrepareWebRequest ( string url, string userAgent ) : |
||
url | string | |
userAgent | string | |
Résultat |
public static SetProject ( string langCode, ProjectEnum projectName ) : void | ||
langCode | string | The language code, default is en |
projectName | ProjectEnum | The project name default is Wikipedia |
Résultat | void |
public static SetProject ( string langCode, ProjectEnum projectName, string customProject, string protocol ) : void | ||
langCode | string | The language code, default is en |
projectName | ProjectEnum | The project name default is Wikipedia |
customProject | string | Script path of a custom project or "" |
protocol | string | |
Résultat | void |
public static SetProjectLangCode ( string langCode ) : void | ||
langCode | string | The new language code to use |
Résultat | void |
public static SetProjectSimple ( string langCode, ProjectEnum projectName ) : void | ||
langCode | string | The language code, default is en |
projectName | ProjectEnum | The project name default is Wikipedia |
Résultat | void |
public static WaitForDelayedRequests ( ) : void | ||
Résultat | void |
public static Dictionary |
||
Résultat | List |
public static Dictionary |
||
Résultat | string>.Dictionary |
public static string[] ENLangMonthNames | ||
Résultat | string[] |
public static Dictionary |
||
Résultat | List |
public static Dictionary |
||
Résultat | List |
public static Dictionary |
||
Résultat | string>.Dictionary |
public static Dictionary |
||
Résultat | string>.Dictionary |
public static Profiler,WikiFunctions Profiler | ||
Résultat |
public static ProjectHoldArea ReloadProjectSettings | ||
Résultat | ProjectHoldArea |
public static Regex,System.Text.RegularExpressions SectStubRegex | ||
Résultat |