mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-27 17:51:09 +00:00
e36dc8e78a
When a comment ended before the end of a paragraph, the next comment would begin right there in the middle of the paragraph. This could result in the detected indentation level of that comment being incorrect, and replies being inserted in wrong places, as seen in the 'signatures-funny' test case. The code moved to the parser was previously repeated twice in addListItem() and addReplyLink(), which should have been a hint that something isn't quite right. Also, fix the code guarding against overlapping signatures, now that signatures may not be at the end of a comment. Bug: T260855 Change-Id: Ic26a87642f8a15d5de2f7073d4d8176b299c7f94 |
||
---|---|---|
.. | ||
ar-nbsp-timezone-oldparser | ||
ar-nbsp-timezone-parsoid | ||
ar-no-paragraph-oldparser | ||
ar-no-paragraph-parsoid | ||
en-big-oldparser | ||
en-big-parsoid | ||
en-bigafd-parsoid | ||
fallback-encoding-link | ||
fr-unsigned-oldparser | ||
fr-unsigned-parsoid | ||
lrm-signature | ||
mixed-indentation | ||
no-heading | ||
parsoid-sections | ||
pl-big-oldparser | ||
pl-big-parsoid | ||
signatures-comments | ||
signatures-funny | ||
split-list | ||
split-list2 | ||
transclusions | ||
wrappers | ||
authors.json | ||
comments.json | ||
isHtmlSigned.json | ||
isWikitextSigned.json | ||
modified.json | ||
README.txt | ||
reply.json | ||
sanitize-wikitext-linebreaks.json | ||
timestamp-parser-dst.json | ||
timestamp-parser.json | ||
timestamp-regex.json | ||
transcluded.json | ||
unwrap.json |
The HTML files were saved from: pl-big: https://pl.wikipedia.org/w/index.php?action=render&title=Wikipedia:Kawiarenka/Artyku%C5%82y_dyskusja/Archiwum/2018-pa%C5%BAdziernik&oldid=55171451 https://pl.wikipedia.org/api/rest_v1/page/html/Wikipedia%3AKawiarenka%2FArtyku%C5%82y_dyskusja%2FArchiwum%2F2018-pa%C5%BAdziernik/55171451 en-big: https://en.wikipedia.org/w/index.php?action=render&title=Wikipedia:Village_pump_(technical)/Archive_175&oldid=913983958 https://en.wikipedia.org/api/rest_v1/page/html/Wikipedia%3AVillage_pump_(technical)%2FArchive_175/913983958 en-bigafd: https://en.wikipedia.org/api/rest_v1/page/html/Wikipedia%3AArticles_for_deletion%2FLog%2F2020_March_7 ar-no-paragraph: https://ar.wikipedia.org/w/index.php?action=render&title=نقاش_المستخدم:Khaled&oldid=45576943 https://ar.wikipedia.org/api/rest_v1/page/html/نقاش_المستخدم%3AKhaled/45576943 ar-nbsp-timezone: https://ar.wikipedia.org/wiki/ويكيبيديا:إخفاء_أرقام_الآي_بي?oldid=46583196&action=render https://ar.wikipedia.org/api/rest_v1/page/html/ويكيبيديا%3Aإخفاء_أرقام_الآي_بي/46583196 fr-unsigned: https://fr.wikipedia.org/w/index.php?title=Discussion:Le_Monde&oldid=170426593&action=render https://fr.wikipedia.org/api/rest_v1/page/html/Discussion%3ALe_Monde/170426593 Text is available under the Creative Commons Attribution-ShareAlike License. See these pages for attribution.