mediawiki-extensions-Echo/tests/phpunit/revision_txt/747798771.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

27 lines
471 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:NoUser1.5]]
[[:User:Admin|Admin]] 13:22, 23 June 2016 (UTC)
== Section 2 ==
Content 2
New Content with userlink & signature ( try to mention this one )
[[User:NoUser2]]
[[:User:Admin|Admin]] 13:22, 23 June 2016 (UTC)