Call new Content::prepareSave from WikiPage::doEditContent.
authordaniel <daniel.kinzler@wikimedia.de>
Wed, 27 Jun 2012 07:42:49 +0000 (09:42 +0200)
committerdaniel <daniel.kinzler@wikimedia.de>
Wed, 27 Jun 2012 07:42:49 +0000 (09:42 +0200)
commit03046154cdd8aaa11944044c4e42a3c5e6b30485
tree15bb7a2b2cecbf6873154f04e87c284399bb4a34
parent3df26d12c574ffcc823ca023569de45df7b50bdc
Call new Content::prepareSave from WikiPage::doEditContent.

Content::prepareSave() is called  by WikiPage::doEditContent() inside the
transaction bracket for saving the new content, but before anything is actually
saved. This allows the content to first be normalized and checked against the
current database content; it also allows for some data to be written to the
database up front.

Change-Id: I78946ea5ec34dce08068692e2d77a8a0b7c11777
includes/Content.php
includes/ContentHandler.php
includes/SqlDataUpdate.php
includes/WikiPage.php
languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php