| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I52fdc5e5bc64bbe7ea895b9d7106dd3c99b0a908
|
|
|
|
| |
Change-Id: I51e2eb6002d433155ec738d1fd79314c19393ffb
|
|
|
|
|
|
|
| |
Temporarily disable no-var & prefer-const as resulting errors
need to be fixed manually.
Change-Id: I6cb62a2c70a4c1fc265a00b1f18af127ac9d5029
|
|
|
|
| |
Change-Id: Iddfa574e42e569ac5e2a2b098ad2f11ca80c5955
|
|
|
|
|
|
|
| |
Also remove temporary explicit dependency on eslint-plugin-vue
introduced in Ibd616750f046a.
Change-Id: Ic6330fcb116e99d5827b4877e094e3073e2b7b72
|
|
|
|
|
|
|
|
|
| |
* Uses class descriptions for classes and descriptions
for constructors.
* Switch out deprecated "done" function for Promise compatible "then"
Bug: T357164
Change-Id: I6071851a2519638d67954bba5d74260d99237863
|
|
|
|
|
|
|
|
| |
Various fixes for typos, punctuation, examples, and links
Bug: T360241
Bug: T360475
Change-Id: Ib1061b1cd008b947071dde9900d87fd9e0c9d32c
|
|
|
|
|
|
| |
Follow up to I110c51616e9994338d2de1a53523f4dc291765cd
Change-Id: I77b8d0950b139a01d5c1a72dc23ec034aa1ad148
|
|
|
|
|
|
|
|
|
| |
This converts mw.Upload.Dialog, mw.Upload.BookletLayout,
mw.ForeignStructuredUpload.Bookletlayout, and
mw.widgets.StashedFileWidget.
Bug: T352308
Change-Id: I110c51616e9994338d2de1a53523f4dc291765cd
|
|
|
|
|
| |
Bug: T120821
Change-Id: Ia26c1242c69cba169d3ef600fa435b7280e1fc8a
|
|
|
|
| |
Change-Id: I000b0741bb729b29562d2f23388b520d414ba16b
|
|
|
|
| |
Change-Id: Ie8aa67bdbd34afe0930cc6b9adfd755791607031
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Follows-up Id6d13bbea6:
- '$': mw.loader.implement does this already.
- 'mw': Use the canonical name directly.
This replaces the following patterns:
File closures (common):
- `( function ( $, mw ) {` => `( function () {`
- `( function ( $ ) {` => `( function () {`
- `( function ( mw ) {` => `( function () {`
- `( function ( mw, $ ) {` => `( function () {`
File closures (rare):
- `( function ( mw, $, OO ) {` => `( function () {`
- `( function ( mw, OO, $ ) {` => `( function () {`
- `( function ( mw, document ) {` => `( function () {`
Combined dom-ready and file closure (rare):
- `jQuery( function ( $ ) {` => `$( function () {
- `jQuery( function () {` => `$( function () {
Remaining references in files without a closure, as found by
the new ESLint setting (rare):
- `jQuery` => `$`
- `mediaWiki` => `mw`
Change-Id: I7cf2426cde597259e8c6f3f6f615a1a81a0ca82b
|
|
* Reduce clutter in src/mediawiki/.
* Make these files and modules easier to discover and associate.
Follows-up I677edac3b5e, which only moved simple cases where no
related modules existed.
This commit also moves files for modules that have some related
multi-file modules. As well as files that previously did not
strictly have their path match directly to their module name.
For example:
- 'mediawiki.checkboxtoggle.css' to 'mediawiki.checkboxtoggle.styles.css',
because its module name is 'mediawiki.checkboxtoggle.styles'.
- 'mediawiki/page/gallery-slideshow.js' to 'mediawiki.page.gallery.slideshow.js',
because its module name uses a dot, not a dash.
- 'mediawiki/page/watch.js' to 'mediawiki.page.watch.ajax.js',
because its module name also includes 'ajax'. This also makes it matches
the way "mediawiki.page.patrol.ajax" files were already named.
Ideas for later:
- Consider merging 'mediawiki.ForeignApi' and 'mediawiki.ForeignApi.core.'.
- Consider merging 'mediawiki.page.ready' and 'mediawiki.page.startup'.
Bug: T193826
Change-Id: I9564b05df305b7d217c9a03b80ce92476279e5c8
|