mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
d6f011aa1a
For the used diff engines an empty/new page is equivalent to an empty line. When adding content that includes an empty line the content will be split into two parts. The interpreted diff will then consist of one addition, one copied line and another addition. Is the ping in the first addition and the signature in the second addition the DiscussionParser does not send mentions. The patch introduces a special case when interpreting diffs if content is added to empty content. This will also skip execution off diff engines since the interpretation is trivial. Bug: T155998 Change-Id: Id5e44bc3245940c1f77c80f036db637756542552 |
||
---|---|---|
.. | ||
api | ||
cache | ||
controller | ||
gateway | ||
iterator | ||
maintenance | ||
mapper | ||
model | ||
revision_txt | ||
AttributeManagerTest.php | ||
BundlerTest.php | ||
ContainmentSetTest.php | ||
DiffParserTest.php | ||
DiscussionParserTest.php | ||
EchoDbFactoryTest.php | ||
NotifUserTest.php | ||
TalkPageFunctionalTest.php | ||
ThankYouEditTest.php | ||
UserLocatorTest.php |