Clean up oldid argument to Content::prepareSave()
authorAdam Roses Wight <awight@wikimedia.org>
Wed, 11 Mar 2015 07:21:30 +0000 (00:21 -0700)
committerAwight <awight@wikimedia.org>
Thu, 12 Mar 2015 23:14:26 +0000 (23:14 +0000)
commit9f2f2f92dca381d8f977bc574cc30bef1211704f
tree151bb8abb192571643523f31de3e146e349dffb8
parent05dd02d5f9e8063469867a43ae55193ad27bdc69
Clean up oldid argument to Content::prepareSave()

The prepareSave function expects the latest revision ID of the article
being replaced.  Instead, we were passing an ID only used for rollbacks
and other special effects.

Change-Id: I4647930566b9370052a820ae3a46e10a6bba65ce
includes/content/AbstractContent.php
includes/content/Content.php
includes/page/WikiPage.php