Click or drag to resize

WikiClientLibrary.Generators Namespace

This is preliminary documentation and is subject to change.

This namespace contains the implementations for various MediaWiki lists and generators.
Classes
 ClassDescription
Public classAllCategoriesGenerator Generates all the categories with or without description pages.
Public classAllPagesGenerator Generates all the pages in a specific namespace.
Public classBacklinksGenerator Generates all the pages that links to the specified title (not transclusion). (aka. what-links-here)
Public classCategoriesGenerator Gets a list of all categories used on the provided pages. (mw:API:Categories, MediaWiki 1.11+)
Public classCategoryMembersGenerator List of pages that belong to a given category, ordered by page sort title.
Public classFilesGenerator Generates pages from all used files on the provided page. (mw:API:Links, MediaWiki 1.11+)
Public classFileUsageGenerator Generates all the pages that transclude the specified file.
Public classGeoSearchGenerator Searches for articles around the given point (determined either by coordinates or by article name). (mw:Extension:GeoData#prop=coordinates)
Public classGeoSearchResultItem An item in the GeoSearch result.
Public classLinksGenerator Generates pages from all links on the provided page. (mw:API:Links, MediaWiki 1.11+)
Public classLogActions Predefined Log Action values used in Action.
Public classLogEventItem Represents an MediaWiki log event entry.
Public classLogEventsList Get a list of all logged events, à la Special:Log.
Public classLogParameterCollection A collection of extensible log parameters.
Public classLogTypes Predefined Log Type values used in Type.
Public classMyWatchlistGenerator Get all pages on the current user's watchlist.
Public classMyWatchlistResultItem 
Public classPagesWithPropGenerator List all pages using a given page property. The list of available properties can be found at action=query&list=pagepropnames.
Public classPagesWithPropResultItem 
Public classQueryPageGenerator Get a list provided by a QueryPage-based special page. (MediaWiki 1.18)
Public classQueryPageResultInfo Contains the basic information of a specific MediaWiki query page result set.
Public classQueryPageResultItem 
Public classRandomPageGenerator Gets random pages in a specific namespace. (mw:API:Random, MediaWiki 1.12+)
Public classRecentChangeItem Represents MediaWiki recent change entry.
Public classRecentChangesGenerator Generates all recent changes to the wiki, à la Special:Recentchanges.
Public classRevisionsGenerator Enumerates the sequence of revisions on a specific MediaWiki page. (mw:API:Revisions, MediaWiki 1.8+)
Public classSearchGenerator Search for the pages matching the specific keywords in titles and text. (mw:API:Search, MediaWiki 1.11+)
Public classSearchResultItem Represents an item in the search result.
Public classTranscludedInGenerator Generates all the pages that transclude the specified title.
Public classTransclusionsGenerator Generates pages from all pages (typically templates) transcluded in the provided page. (mw:API:Templates, MediaWiki 1.11+)
Public classWikiPageExtensions Extension method for constructing generators from WikiPage.
Enumerations
 EnumerationDescription
Public enumerationCategoryMemberTypes Types of category members.
Public enumerationLogEventHiddenFields Represents a possible set of fields that can be hidden by "suppress" or "oversight" group.
Public enumerationPatrolStatus Values indicating whether the specific change has been patrolled.
Public enumerationPropertyFilterOption Determines whether a page with/without certain specific property should be included in the list.
Public enumerationRecentChangesFilterTypes Types of recent changes. Used in RecentChangesGenerator.
Public enumerationRecentChangesType Types of recent changes. Used in RecentChangeItem.
Public enumerationSearchableField Used in MatchingField.
Remarks

MediaWiki lists and generators allows you to enumerate through all the pages or other item sequence, with pagination support. In Wiki Client Library, these functionalities are implemented using IAsyncEnumerableT from Ix.Async package.

For basic concepts on MediaWiki lists and generators, see mw:API:Lists and mw:API:Generator.

The inheritance diagram of generator classes in this namespace is as follows