mediawiki-extensions-Discus.../modules
Bartosz Dziewoński 6719d17364 Handle cached "legacy" IDs (and other JSON-serialized data)
The output of CommentFormatter::addReplyLinks() and consequently
ThreadItem::jsonSerialize() can end up in the HTTP cache (Varnish) on
Wikimedia wikis. We need to consider that when changing that code.

Introduce a concept of legacy ID (generated by the older algorithm
after it changes), add some placeholder code that will generate them
in the future, and update some code to find comments by either normal
or legacy IDs.

Add dire comments in a bunch of places (as if that ever helps).

Bug: T264478
Change-Id: I4368f366800ab21b8b184b09378037614fdecd33
2020-10-22 00:53:06 +02:00
..
dt-ve Disable find-and-replace 2020-09-25 15:17:15 +01: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 Add reply links on the server 2020-10-08 13:27:08 +01:00
CommentItem.js Add content getters to Thread/Comment items 2020-09-12 13:19:36 +01:00
controller.js Handle cached "legacy" IDs (and other JSON-serialized data) 2020-10-22 00:53:06 +02:00
dt.debug.js Fix debug mode after language variant changes 2020-09-24 19:49:04 +02: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 Add reply links on the server 2020-10-08 13:27:08 +01:00
dt.ui.ReplyWidget.js Simplify edit summary selection logic 2020-10-07 18:56:17 +01:00
dt.ui.ReplyWidget.less Fix vertical alignment of action buttons when logged out 2020-09-25 17:54:00 +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 build: Update eslint-config-wikimedia to 0.17.0 2020-08-26 23:46:34 +01:00
highlighter.css Fix highlighter styles: match sig/timestamps border sizes 2020-07-14 23:17:29 +01:00
highlighter.js Fix debug mode after language variant changes 2020-09-24 19:49:04 +02:00
logger.js VisualEditorFeatureUse: trackdebug logging consistent with EditAttemptStep 2020-07-20 17:26:53 -05:00
modifier.js Ignore HTML comments which are more than two lines from a reply 2020-09-29 11:30:03 +01:00
Parser.js Handle cached "legacy" IDs (and other JSON-serialized data) 2020-10-22 00:53:06 +02:00
ThreadItem.js Handle cached "legacy" IDs (and other JSON-serialized data) 2020-10-22 00:53:06 +02:00
utils.js utils: Avoid Node#contains for IE 11 support 2020-09-11 18:06:44 +00:00