From: Brad Jorsch Date: Wed, 28 Nov 2018 15:41:17 +0000 (-0500) Subject: Message: Don't include Title objects in the serialization (part 2) X-Git-Tag: 1.34.0-rc.0~3233^2 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=f4b9ac77101a0cf656335446146448c6bf34940a;p=lhc%2Fweb%2Fwiklou.git Message: Don't include Title objects in the serialization (part 2) Stringify the title instead. This will help avoid running into the PHP/HHVM serialization incompatibility described in T210528. This is part 2: Once all servers have part 1 (and rollback is unlikely) we can stop storing the Title objects. Bug: T210528 Change-Id: If3acfeb42788bd675c3022cc1b49dccc9ac1ecbe --- diff --git a/includes/Message.php b/includes/Message.php index 15d97861b1..4049e114f3 100644 --- a/includes/Message.php +++ b/includes/Message.php @@ -289,7 +289,6 @@ class Message implements MessageSpecifier, Serializable { 'parameters' => $this->parameters, 'format' => $this->format, 'useDatabase' => $this->useDatabase, - 'title' => $this->title, 'titlestr' => $this->title ? $this->title->getFullText() : null, ] ); }