The apisandbox.js file declares a whole bunch of classes that would be better off in their own files imported via package files
Description
Details
Event Timeline
Change 648273 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] apisandbox.js - split OptionalParamWidget to separate file
Change 648273 merged by jenkins-bot:
[mediawiki/core@master] apisandbox.js - split OptionalParamWidget to separate file
Change 649397 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] apisandbox.js - split UploadParamWidget to separate file
Change 649690 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] apisandbox.js - inject shouldSuppressErrors into apiCheckValid
Change 649690 merged by jenkins-bot:
[mediawiki/core@master] apisandbox.js - inject shouldSuppressErrors into apiCheckValid
Change 649397 merged by jenkins-bot:
[mediawiki/core@master] apisandbox.js - split UploadParamWidget to separate file
Change 649907 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] apisandbox.js - rename UploadParamWidget to UploadSelectFileParamWidget
Change 649907 merged by jenkins-bot:
[mediawiki/core@master] apisandbox.js - rename UploadParamWidget to UploadSelectFileParamWidget
Change 649917 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] Split up a bunch more apisandbox classes
Hi @DannyS712 . Can I work on this as well? Asking because you've already assigned yourself and submitted a bunch of patches.
Change 663083 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] apisandbox.js - split BooleanToggleSwitchParamWidget to separate file
Change 663084 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] apisandbox.js - split ParamLabelWidget to separate file
Change 664651 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] apisandbox.js - split DateTimeParamWidget to separate file
Change 663083 merged by jenkins-bot:
[mediawiki/core@master] apisandbox.js - split BooleanToggleSwitchParamWidget to separate file
Change 663084 merged by jenkins-bot:
[mediawiki/core@master] apisandbox.js - split ParamLabelWidget to separate file
Change 664651 merged by jenkins-bot:
[mediawiki/core@master] apisandbox.js - split DateTimeParamWidget to separate file
Change 667248 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] apisandbox.js - add LimitParamWidget to separate file
Change 667252 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] apisandbox.js - split PasswordParamWidget to separate file
Change 667248 merged by jenkins-bot:
[mediawiki/core@master] apisandbox.js - split LimitParamWidget to separate file
Change 667252 merged by jenkins-bot:
[mediawiki/core@master] apisandbox.js - split PasswordParamWidget to separate file
Change 673787 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] apisandbox.js - split IntegerParamWidget to separate file
Note to self for later
UtilMixin.setParamInfo
override for extra behavior, and call UtilMixin.prototype.setParamInfo.call( this, paramInfo ) for the parent behavior too
eg search for GroupWidget.prototype in https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/dcc67bd33a77ec9a67bc56fd0e391f496a70348b/resources/lib/ooui/oojs-ui-core.js
Will do once the IntegerParamWidget patch merges
Change 673787 merged by jenkins-bot:
[mediawiki/core@master] apisandbox.js - split IntegerParamWidget to separate file
Change 674667 had a related patch set uploaded (by DannyS712; author: DannyS712):
[mediawiki/core@master] apisandbox.js - simplify some logic in createWidgetForParameter
Change 674677 had a related patch set uploaded (by DannyS712; author: DannyS712):
[mediawiki/core@master] apisandbox.js - add UtilMixin.setParamInfo
Change 674667 merged by jenkins-bot:
[mediawiki/core@master] apisandbox.js - simplify some logic for widget creation
Change 675295 had a related patch set uploaded (by DannyS712; author: DannyS712):
[mediawiki/core@master] apisandbox.js - split TokenParamWidget to separate file
I'm sorry that I haven't handled this task. I recently returned from a long bout of unexpected inactivity, and while I plan to resume my contributions here on Phabricator its unfair to claim tasks that I might not work on when others may be interested in handling them. I'm removing myself as the assignee in a batch-action, but if someone feels that I really should be the one to handle this task feel free to re-assign me and I'll take a look.