Handle comment truncation in CommentStore
authorBrad Jorsch <bjorsch@wikimedia.org>
Fri, 1 Sep 2017 18:30:53 +0000 (14:30 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Fri, 1 Sep 2017 19:03:45 +0000 (15:03 -0400)
commit6ec1a3150246524b6e0bf4c11729fd905f50cc57
tree78a76304afc4b90fd9c31ffa64dd9c5b3596dcb0
parent575a886a466bab5ffb255c936e16999eacea167c
Handle comment truncation in CommentStore

Since the caller doesn't (and shouldn't) know whether CommentStore is
using the old or the new schema, it should leave truncation of comments
to CommentStore.

Change-Id: I92954c922514271d774518d6a6c28a01f33c88c2
12 files changed:
includes/CommentStore.php
includes/EditPage.php
includes/MovePage.php
includes/Revision.php
includes/changes/RecentChange.php
includes/filerepo/file/LocalFile.php
includes/logging/LogEntry.php
includes/logging/LogPage.php
includes/page/WikiPage.php
includes/specials/SpecialBlock.php
includes/specials/SpecialChangeContentModel.php
tests/phpunit/includes/CommentStoreTest.php