On 15/04/13 11:21, Liu Chenheng wrote:
Hello!
I have a problem here: Do the restore and delete page action can cancel out each other? i.e. delete a page and then restore this page, equals we do nothing of this page.
That's right (except for a few log entries added).
I listened the recent changes, and got more than 5 revisions of this page: http://en.wikipedia.org/w/index.php?title=William_Pierce,_Jr.&redirect=n... http://en.wikipedia.org/w/index.php?title=William_Pierce,_Jr.&redirect=no
And then I got a delete page action, later I got a restore page action, as you can see from the log: <rc type="log" ns="0" title="William Pierce, Jr." rcid="565524106" pageid="38932317" revid="0" old_revid="0" user="Secret" oldlen="0"newlen="0" timestamp="2013-03-27T04:02:12Z" comment="5 revisions restored: keep the original redirect" logid="48107996" logtype="delete"logaction="restore"/>
it only restored 5 revisions but not specified what the 5 revisions were.
In my opinion, the restore and delete page actions should cancel out each other like the restore and delete revision actions.
If you didn't specify just a few revisions to restore, it should restore all of them (if the page already had some deleted revisions before you deleted, you may be restoring more revisions than you deleted!).