DotNetWikiBot Framework Documentation
Assembly: DotNetWikiBot (in DotNetWikiBot.dll) Version: 0.0.0.0
Gets page titles for this PageList from specified MediaWiki events log.
The following logs are supported:
block, protect, rights, delete, upload, move, import, patrol, merge, suppress,
review, stable, spamblacklist, gblblock, renameuser, globalauth, gblrights,
abusefilter, newusers.
The function does not filter namespaces and does not clear the
existing PageList, so new pages will be added to existing pages.
Namespace: DotNetWikiBotAssembly: DotNetWikiBot (in DotNetWikiBot.dll) Version: 0.0.0.0
Syntax
C# |
---|
public void FillFromCustomLog( string logType, string userName, string pageTitle, int limit ) |
Parameters
- logType
- Type: System..::..String
Type of log, it could be: "block" for blocked users log; "protect" for protected pages log; "rights" for users rights log; "delete" for deleted pages log; "upload" for uploaded files log; "move" for renamed pages log; "import" for transwiki import log; "renameuser" for renamed accounts log; "newusers" for new users log; "makebot" for bot status assignment log.
- userName
- Type: System..::..String
Select log entries only for specified account. Pass empty string, if that restriction is not needed.
- pageTitle
- Type: System..::..String
Select log entries only for specified page. Pass empty string, if that restriction is not needed.
- limit
- Type: System..::..Int32
Maximum number of page titles to get.