Click or drag to resize

NamespaceInfo Class

This is preliminary documentation and is subject to change.

Namespace information.
Inheritance Hierarchy
SystemObject
  WikiClientLibrary.SitesNamespaceInfo

Namespace: WikiClientLibrary.Sites
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.3+0a73c45f0c78941900e328c6c6b819597b665e00
Syntax
[JsonContractAttribute]
public sealed class NamespaceInfo

The NamespaceInfo type exposes the following members.

Constructors
 NameDescription
Public methodNamespaceInfoInitializes a new instance of the NamespaceInfo class
Top
Properties
 NameDescription
Public propertyAliases Namespace alias names.
Public propertyCanonicalName Canonical namespace name. This may or may not be the same as the actual namespace name (CustomName).
Public propertyCustomName The displayed name for the namespace. Defined in server LocalSettings.php .
Public propertyDefaultContentModel 
Public propertyId An integer identification number which is unique for each namespace.
Public propertyIsCaseSensitive Whether the first letter in the namespace title is upper-case. (MediaWiki 1.8+) Note that all the namespace names are case-insensitive. See "remarks" for more information.
Public propertyIsContent 
Public propertyIsNonIncludable Whether pages in this namespace can be transcluded.
Public propertySubPages 
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Overrides ObjectToString)
Top
Remarks
See https://www.mediawiki.org/wiki/API:Siteinfo#Namespaces .
See Also