mediawiki-extensions-Discus.../modules
Bartosz Dziewoński 3e5a67010f Use module.exports/require() rather than mw.dt namespace for defining classes
The packageFiles system makes it easier to export site config data
from PHP to JS, which we need a lot of, but it's awkward when mixing
it with defining and accessing classes via a namespace like mw.dt.

The only thing remaining in mw.dt is mw.dt.pageThreads, which is
described to be "for debugging", so we should keep it easy to type.
Also we still use the namespace for documenting classes.

Everything else can be reached by require()'ing a ResourceLoader
module, for example instead of `mw.dt.ui.ReplyWidget`
you'd do `require( 'ext.discussionTools.ReplyWidget' )`.
(When debugging from browser console, use `mw.loader.require` instead.)

Change-Id: I6496abcf58c21658d6fd0f3fc1db1f7380a89df7
2019-12-10 22:47:40 +01:00
..
lib Handle timestamps in daylight saving time 2019-10-22 16:33:21 +02:00
.eslintrc.json build: Update linters 2019-10-28 12:29:56 +00:00
controller.js Use module.exports/require() rather than mw.dt namespace for defining classes 2019-12-10 22:47:40 +01:00
dt.debug.js Re-add debug highlighter 2019-10-24 23:21:40 +02:00
dt.init.js Use module.exports/require() rather than mw.dt namespace for defining classes 2019-12-10 22:47:40 +01:00
dt.init.less Merge "Highlight comment after saving" 2019-12-03 16:49:01 +00:00
dt.ui.ReplyWidget.js Use module.exports/require() rather than mw.dt namespace for defining classes 2019-12-10 22:47:40 +01:00
dt.ui.ReplyWidget.less Plain ReplyWidget styling 2019-11-22 16:55:15 -05:00
highlighter.css Re-add debug highlighter 2019-10-24 23:21:40 +02:00
highlighter.js Re-add debug highlighter 2019-10-24 23:21:40 +02:00
modifier.js Use Parsoid hack to remove whitespace from replies 2019-11-19 21:24:33 +00:00
parser.js Identify comments by username+timestamp+seq 2019-12-09 13:45:31 +00:00