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.2+447d1d590e6726b7881f750a0a0e42908f3e417e
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