Click or drag to resize

SiteInfo Class

This is preliminary documentation and is subject to change.

Provides read-only access to general site information.
Inheritance Hierarchy
SystemObject
  WikiClientLibrary.SitesSiteInfo

Namespace: WikiClientLibrary.Sites
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
[JsonContractAttribute]
public sealed class SiteInfo

The SiteInfo type exposes the following members.

Constructors
 NameDescription
Public methodSiteInfoInitializes a new instance of the SiteInfo class
Top
Properties
 NameDescription
Public propertyArticlePath The relative or absolute path to any article. $1 should be replaced by the article name. (MediaWiki 1.16+, mw:Manual:$wgArticlePath)
Public propertyBaseUrl The absolute path to the main page. (MediaWiki 1.8+)
Public propertyExtensionData Gets the other extensible site information.
Public propertyFavIconUrl 
Public propertyGenerator API version information as found in $wgVersion. (MW 1.8+)
Public propertyIsReadOnlyWhether the wiki is in read-only mode.
Public propertyIsTitleCaseSensitive Whether the first letter in a title is case-sensitive. (MediaWiki 1.8+)
Public propertyLogoUrl 
Public propertyMainPage The title of the main page, as found in MediaWiki:Mainpage. (MediaWiki 1.8+)
Public propertyMaxArticleSize 
Public propertyMaxUploadSizeThe maximum upload size on the wiki. See $wgMaxUploadSize.
Public propertyMinUploadChunkSize 
Public propertyReadOnlyReasonThe reason the wiki is in read-only mode, if applicable. (MW 1.16+)
Public propertyScriptDirectoryPath The base URL path relative to the document root. (MediaWiki 1.1.0+, mw:Manual:$wgScriptPath)
Public propertyScriptFilePath The path of index.php relative to the document root. (MediaWiki 1.1.0+, mw:Manual:$wgScript)
Public propertyServerUrl The absolute or protocol-relative base URL for the server. (MediaWiki 1.16+, mw:Manual:$wgServer)
Public propertySiteName 
Public propertyTime The current time on the server. 1.16+
Public propertyTimeOffset The offset of the wiki's time zone, from UTC. See $wgLocalTZoffset. (1.13+)
Public propertyTimeZoneName The name of the wiki's time zone. See $wgLocaltimezone. 1.13+
Public propertyVersion Gets MediaWiki API version.
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 methodMakeArticleUrl(String) Makes the full URL to the page of specified title.
Public methodMakeArticleUrl(String, String) Makes the full URL to the page of specified title.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also