MWEditSummaryWidget: Don’t query for title

As far as I can tell, the code only uses the comment, nothing else.
Omitting the title probably won’t make the underlying database query any
cheaper, but it should at least save some network traffic.

Change-Id: Ideb66ce3a24fb4f42fe8fc22ba0e93d05724d8b6
This commit is contained in:
Lucas Werkmeister 2021-03-13 13:43:13 +01:00
parent 9d7ddcf066
commit b6a4e76d42

View file

@ -130,7 +130,7 @@ ve.ui.MWEditSummaryWidget.prototype.getSummaries = function () {
action: 'query',
list: 'usercontribs',
ucuser: mw.user.getName(),
ucprop: 'comment|title',
ucprop: 'comment',
uclimit: 500,
format: 'json'
} ).then( function ( response ) {