mediawiki-extensions-Echo/tests/phpunit/revision_txt/747798770.txt
WMDE-Fisch 4ac1711be8 Send mentions when editing multiple sections in between sections.
This patch fixes mentions not being send when multiple sections were added
in between sections.

Since we only want to send mentions when userlinks and signature are present
in the same section a new method was added extracting sections and the related
content from an addition. The results are checked whether a section content
contains a signature and might be relevant for mentions.

Bug: T141863
Change-Id: I434c664552bbadbeef6e897e20703e813f5a4c52
2016-09-08 15:15:14 +02:00

25 lines
412 B
Plaintext

Simultaneously edit multiple sections
== Section 1 ==
Content 1
New Content with userlink ( dont try to mention this one )
[[User:NoUser1]]
== Section 1.5 ==
New section in between with userlink & signature ( try to mention this one )
[[User:Test11]]
[[:User:Admin|Admin]] 13:22, 23 June 2016 (UTC)
== Section 2 ==
Content 2
New Content with userlink ( dont try to mention this one )
[[User:NoUser2]]