mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-24 05:34:23 +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
35 lines
639 B
Plaintext
35 lines
639 B
Plaintext
Simultaneously edit multiple sections
|
|
|
|
== Section 1 ==
|
|
|
|
Content 1
|
|
|
|
New Content with userlink & signature ( try to mention this one )
|
|
|
|
[[User:NoUser1]]
|
|
|
|
[[:User:Admin|Admin]] 13:22, 23 June 2016 (UTC)
|
|
|
|
== Section 1.5 ==
|
|
|
|
New section in between with userlink ( don't try to mention this one )
|
|
|
|
[[User:NoUser1.5]]
|
|
|
|
== Section 1.75 ==
|
|
|
|
New section in between with userlink & signature ( try to mention this one )
|
|
|
|
[[User:NoUser1.75]]
|
|
|
|
[[: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) |