mediawiki-extensions-Echo/tests
WMDE-Fisch d6f011aa1a Fix mentions failing editing empty pages
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
2017-02-10 14:39:13 +00:00
..
browser Remove etp_user 2016-09-09 09:32:28 -04:00
phpunit Fix mentions failing editing empty pages 2017-02-10 14:39:13 +00:00
qunit Use fake timer in Echo unit tests 2017-01-04 16:43:55 -05:00
bootstrap.php build: Enable phpcs rule 'Squiz.WhiteSpace.LanguageConstructSpacing.Incorrect' and make pass 2015-10-29 12:56:33 +01:00
echo.suite.xml Directory reshuffle, add dev tools 2014-08-01 22:38:41 +00:00
NotificationsTest.php build: Update mediawiki/mediawiki-codesniffer to 0.7.1 2016-12-05 15:54:30 -08:00