mediawiki-extensions-Echo/tests/phpunit/revision_txt
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
..
40608353.txt
40610292.txt
138274875.txt
138275105.txt
612485595.txt Add test case to demonstrate T68512 is fixed 2015-07-06 17:31:08 -07:00
612485855.txt Add test case to demonstrate T68512 is fixed 2015-07-06 17:31:08 -07:00
637637213.txt
637638133.txt
646790570.txt
646792804.txt
647258025.txt
647260329.txt
747747747.txt Echo notifications for mention failures 2016-07-27 13:00:25 +02:00
747747748.txt Echo notifications for mention failures 2016-07-27 13:00:25 +02:00
747747749.txt Echo notifications for mention failures 2016-07-27 13:00:25 +02:00
747747750.txt Echo notifications for successful mentions 2016-08-01 13:40:55 +02:00
747798765.txt Add tests for events on multiple sections edits 2016-08-02 17:15:31 +02:00
747798766.txt Add tests for events on multiple sections edits 2016-08-02 17:15:31 +02:00
747798767.txt Add tests for events on multiple sections edits 2016-08-02 17:15:31 +02:00
747798768.txt Add tests for events on multiple sections edits 2016-08-02 17:15:31 +02:00
747798770.txt Send mentions when editing multiple sections in between sections. 2016-09-08 15:15:14 +02:00
747798771.txt Send mentions when editing multiple sections in between sections. 2016-09-08 15:15:14 +02:00
747798772.txt Send mentions when editing multiple sections in between sections. 2016-09-08 15:15:14 +02:00
987654321.txt Send notification for mentions on changes 2016-09-14 12:36:22 +02:00
987654322.txt Send notification for mentions on changes 2016-09-14 12:36:22 +02:00
987654323.txt Send notification for mentions on changes 2016-09-14 12:36:22 +02:00
987654324.txt Send notification for mentions on changes 2016-09-14 12:36:22 +02:00
987654325.txt Send notification for mentions on changes 2016-09-14 12:36:22 +02:00
987654400.txt Fix mentions failing editing empty pages 2017-02-10 14:39:13 +00:00
987654401.txt Fix mentions failing editing empty pages 2017-02-10 14:39:13 +00:00
README

This folder holds wikitext revision excerpts that are used in
phpunit/includes/DiscussionParserTest.php

It just seemed a bit overkill to include the entire content in the PHP code ;)