mediawiki-extensions-Discus.../modules
Bartosz Dziewoński 8f42c74985 Fix skipping to the end of paragraph, now it considers nested tags
Add yet another tree walking utility: CommentUtils::linearWalk().
Unlike TreeWalker, it allows handling the beginnings and ends of nodes
separately – kind of like parsing a XML token stream, or kind of like
VisualEditor's linear model.

(Add unit tests for this utility. The simple.html test case is copied
from [VisualEditor/VisualEditor]/demos/ve/pages/simple.html.)

Use this utility to stop skipping when we reach either a closing or
opening block node tag. Previously we'd skip over such tags inside
nested "transparent" nodes (like <a>, <del>, or apparently <font>).

Bug: T271385
Change-Id: I201a942eb3a56335e84d94e150ec2c33f8b4f4e0
2021-01-18 18:20:20 +00:00
..
dt-ve Move the '@' prefix into the PingNode, rather than plain text 2021-01-04 21:43:42 +00:00
lib Handle timestamps in daylight saving time 2019-10-22 16:33:21 +02:00
.eslintrc.json eslint: Disable max-len 2020-04-21 15:50:19 +01:00
CommentController.js Give new-section a specific init_type to distinguish it 2021-01-12 20:15:41 +00:00
CommentItem.js Move warnings stuff from CommentItem to ThreadItem 2020-11-02 20:07:23 +00:00
controller.js Config: Explicitly check feature availability in the client 2021-01-14 19:04:18 +00:00
dt.debug.js Remove a fixed TODO comment 2020-12-14 22:16:16 +01:00
dt.init.js Enable DT server side via a cookie to preserve user enable hack 2020-10-19 21:42:58 +01:00
dt.init.less Use content direction for styling reply links 2021-01-08 17:08:45 +00:00
dt.ui.NewTopicController.less Ability to add new discussion sections 2021-01-12 20:15:28 +00:00
dt.ui.ReplyWidget.js Ability to add new discussion sections 2021-01-12 20:15:28 +00:00
dt.ui.ReplyWidget.less Ability to add new discussion sections 2021-01-12 20:15:28 +00:00
dt.ui.ReplyWidgetPlain.js ReplyWidget: Pass initial config values to #setup, not to constructor 2020-09-25 20:00:00 +02:00
dt.ui.ReplyWidgetVisual.js ReplyWidget: Pass initial config values to #setup, not to constructor 2020-09-25 20:00:00 +02:00
HeadingItem.js Ability to add new discussion sections 2021-01-12 20:15:28 +00:00
highlighter.js Stylelint: Enforce class prefixes 2020-12-23 16:47:55 +00:00
highlighter.less Convert highlighter.css to less 2020-12-23 16:50:32 +00:00
logger.js A/B test bucketing for beta enrollment 2021-01-13 10:32:00 -06:00
modifier.js Ability to add new discussion sections 2021-01-12 20:15:28 +00:00
NewTopicController.js Give new-section a specific init_type to distinguish it 2021-01-12 20:15:41 +00:00
Parser.js Fix skipping to the end of paragraph, now it considers nested tags 2021-01-18 18:20:20 +00:00
ThreadItem.js ThreadItem.js: Fix documentation comment 2020-12-12 12:58:16 +00:00
utils.js Fix skipping to the end of paragraph, now it considers nested tags 2021-01-18 18:20:20 +00:00