mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 00:13:36 +00:00
a27e27fc68
Reasons: * Various other methods dealing with ranges already live there * It would be neat if ContentThreadItem was just a value class without a lot of logic, similar to DatabaseThreadItem, particularly for writing unit tests * The methods access global state through Title, which can't be fixed while they're in ContentThreadItem (see I9dfccc83) The computation is now always done, instead of only when needed, but that's a small drawback, since it's fast (fast enough that I don't see the difference in the time taken when running tests), and we were already computing it for all comments in many places. Change-Id: Ic718a964e309ae3a8e15e299081f46d4db860731 |
||
---|---|---|
.. | ||
CommentItem.php | ||
CommentItemTrait.php | ||
ContentCommentItem.php | ||
ContentHeadingItem.php | ||
ContentThreadItem.php | ||
DatabaseCommentItem.php | ||
DatabaseHeadingItem.php | ||
DatabaseThreadItem.php | ||
HeadingItem.php | ||
HeadingItemTrait.php | ||
ThreadItem.php | ||
ThreadItemTrait.php |