Extension:MirrorTools/MirrorEdit

MirrorEdit basically works the same way as API:Edit. The only difference is that it has a few extra parameters, viz. mirrorrevid, mirrorrcid, mirroruserid, mirroruser, and timestamp.

Standard parameters

 * : of the page you want to edit.
 * : of the page you want to edit.
 * : of the page you want to edit.
 * : Section number. 0 for the top section, 'new' for a new section. Omit to act on the entire page
 * : Title to use if creating a new section. If not specified,   will be used instead
 * : New page (or section) content
 * : Edit token. Especially if you are not using the  parameter, the token should be sent as the last parameter, or at least, after the text parameter, to prevent a bad edit from getting committed if transmission of the body is interrupted for some reason. This parameter is required.
 * : Edit summary. Also section title when section=new and sectiontitle is not set
 * : If set, mark the edit as minor
 * : If set, don't mark the edit as minor, even if you have the "Mark all my edits minor by default" preference enabled
 * : If set, mark the edit as bot; even if you are using a bot account the edits will not be marked unless you set this flag
 * : Timestamp of the base revision (obtained through prop=revisions&rvprop=timestamp). Used to detect edit conflicts; leave unset to ignore conflicts
 * : Timestamp when you started editing the page (e.g., when you fetched the current revision's text to begin editing it or checked the (non-)existence of the page). Used to detect edit conflicts; leave unset to ignore conflicts
 * : suppress any errors about the article having been deleted in the meantime
 * : Don't edit the page if it exists already
 * : Throw an error if the page doesn't exist
 * : Add the page to your watchlist. Deprecated. Use the watchlist argument
 * : Remove the page from your watchlist. Deprecated. Use the watchlist argument
 * : Specify how the watchlist is affected by this edit, set to one of "watch", "unwatch", "preferences", "nochange":
 * : add the page to the watchlist
 * : remove the page from the watchlist
 * : use the preference settings (Default)
 * : don't change the watchlist
 * : MD5 hash (hex) of the  parameter or the   and   parameters concatenated. If this parameter is set and the hashes don't match, the edit is rejected. This can be used to guard against data corruption
 * : Add this text to the beginning of the page. Overrides text
 * : Add this text to the end of the page. Overrides text. Use section=new to append a new section
 * : Revision ID to undo. Overrides,   and
 * : Undo all revisions from  up to but not including this one. If not set, just undo one revision
 * : Automatically resolve redirects
 * : Content serialization format used for the input text
 * for wikitext
 * for javascript
 * for css
 * for plaintext
 * for json
 * : Content model of the new content

Extra parameters

 * : from the remote wiki
 * : from the remote wiki
 * : Tags from the remote wiki
 * : of when the edit was made on the remote wiki
 * : from the remote wiki
 * : from the remote wiki