Message: Don't include Title objects in the serialization (part 1)
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 28 Nov 2018 15:23:12 +0000 (10:23 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 28 Nov 2018 18:43:00 +0000 (13:43 -0500)
commit508ee26e5e8661a0035639d4b405588f451665a4
tree6af17cf82c0e1473adf79f2c63647056bc3448fd
parenta5bedbfbfeff58d65e8947906b2360ab2b7ce8e5
Message: Don't include Title objects in the serialization (part 1)

Stringify the title instead. This will help avoid running into the
PHP/HHVM serialization incompatibility described in T210528.

This is part 1: start stringifying and using the string, but continue
storing the Title object for the benefit of mixed environments where
some servers still only handle a Title object.

Bug: T210528
Change-Id: I07aac3aab2d4e27a7203f4e4fb3ce1b5d86c517c
includes/Message.php