Check the right page for lint errors by title

Bug: T254930
Depends-On: Ic34617e2f56d1055388ea6e8a93ff641f0342240
Change-Id: I86679ce0f641f12bd9d99e4b7baed1294103e3a2
This commit is contained in:
Bartosz Dziewoński 2020-06-09 20:52:38 +02:00
parent 5fa7d713d8
commit 745b65f254

View file

@ -105,7 +105,7 @@ function getPageData( pageName, oldId ) {
list: 'linterrors',
lntcategories: 'fostered',
lntlimit: 1,
lntpageid: mw.config.get( 'wgArticleId' )
lnttitle: pageName
} ).then( function ( response ) {
return OO.getProp( response, 'query', 'linterrors' ) || [];
} );