HomePhabricator

Populate rev_content_model when a move causes default content model to change

Authored by Legoktm.

Description

Populate rev_content_model when a move causes default content model to change

If the default content model changes due to a page move, a NULL in
rev_content_model will now reference the new default, which is not how
the revision was serialized, causing an exception to be thrown.

This was caused by a5bc9f49cd01e, since previously NULL would use the
correct, but techncially inaccurate, page_content_model.

Bug: T105260
Change-Id: I0c29d0e657ad0b656e5da6ba365f337229ad4dfd

Details

Committed
LegoktmJul 24 2015, 10:58 PM
Parents
rMWca56f1fbc325: Merge "Revert "Convert Special:Search to OOUI""
Branches
Unknown
Tags
Unknown
References
refs/changes/38/226938/1
ChangeId
I0c29d0e657ad0b656e5da6ba365f337229ad4dfd