Свойство | Тип | Описание | |
---|---|---|---|
Image | int | ||
ImageTalk | int | ||
Mainspace | int |
Метод | Описание | |
---|---|---|
Determine ( string articleTitle ) : int |
Deduces the namespace number from the input article title.
|
|
IsImportant ( int key ) : bool |
Tests title to make sure it is either main, image, category or template namespace.
|
|
IsImportant ( string articleTitle ) : bool |
Tests title to make sure it is either main, image, category or template namespace.
|
|
IsMainSpace ( int ns ) : bool |
Tests title to make sure it is main space
|
|
IsMainSpace ( string articleTitle ) : bool |
Tests title to make sure it is main space
|
|
IsSpecial ( int ns ) : bool |
Returns true if the given namespace is non-editable, i.e. Special or Media
|
|
IsTalk ( int key ) : bool |
Tests title to make sure it is a talk page (article talk, user talk etc.).
|
|
IsTalk ( string articleTitle ) : bool |
Tests title to make sure it is a talk page.
|
|
IsUserPage ( string articleTitle ) : bool |
|
|
IsUserSpace ( string articleTitle ) : bool |
returns true if current page is a userpage
|
|
IsUserTalk ( string articleTitle ) : bool |
|
|
Normalize ( string ns, int nsId ) : string |
Normalizes a namespace string, but does not changes it to default namespace name
|
|
VerifyNamespaces ( string>.Dictionary |
Checks if given namespaces are sufficient for AWB to function properly and that their format is expected.
|
Метод | Описание | |
---|---|---|
Namespace ( ) : System |
public static Determine ( string articleTitle ) : int | ||
articleTitle | string | |
Результат | int |
public static IsImportant ( int key ) : bool | ||
key | int | Namespace key |
Результат | bool |
public static IsImportant ( string articleTitle ) : bool | ||
articleTitle | string | The title. |
Результат | bool |
public static IsMainSpace ( int ns ) : bool | ||
ns | int | |
Результат | bool |
public static IsMainSpace ( string articleTitle ) : bool | ||
articleTitle | string | The title. |
Результат | bool |
public static IsSpecial ( int ns ) : bool | ||
ns | int | |
Результат | bool |
public static IsTalk ( int key ) : bool | ||
key | int | The namespace key |
Результат | bool |
public static IsTalk ( string articleTitle ) : bool | ||
articleTitle | string | The title. |
Результат | bool |
public static IsUserPage ( string articleTitle ) : bool | ||
articleTitle | string | Title of the article |
Результат | bool |
public static IsUserSpace ( string articleTitle ) : bool | ||
articleTitle | string | |
Результат | bool |
public static IsUserTalk ( string articleTitle ) : bool | ||
articleTitle | string | Title of the article |
Результат | bool |
public static Normalize ( string ns, int nsId ) : string | ||
ns | string | |
nsId | int | |
Результат | string |
public static VerifyNamespaces ( string>.Dictionary |
||
namespaces | string>.Dictionary | namespaces to verify |
Результат | bool |