DotNetWikiBot Framework Documentation Saves specified text on page on live wiki.
Namespace: DotNetWikiBotAssembly: DotNetWikiBot (in DotNetWikiBot.dll) Version: 0.0.0.0
Syntax
C# |
---|
public void Save(
string newText,
string comment,
bool isMinorEdit,
bool reviewVersion
) |
Parameters
- newText
- Type: System..::..String
New text for this page.
- comment
- Type: System..::..String
Your edit comment.
- isMinorEdit
- Type: System..::..Boolean
Minor edit mark (true = minor edit).
- reviewVersion
- Type: System..::..Boolean
If true, the page revision after saving is marked
reviewed. Bot's account must have sufficient rights to mark revision reviewed.
Not every wiki site does have this option.
Exceptions
Exception | Condition |
---|
InsufficientRightsException | Insufficient rights to edit
this page. |
BotDisallowedException | Bot operation on this page
is disallowed. |
EditConflictException | Edit conflict was detected. |
WikiBotException | Wiki-related error. |
See Also