mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-25 08:15:35 +00:00
4ac1711be8
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
27 lines
471 B
Plaintext
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) |