mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 00:13:36 +00:00
Check the right page for lint errors by title
Bug: T254930 Depends-On: Ic34617e2f56d1055388ea6e8a93ff641f0342240 Change-Id: I86679ce0f641f12bd9d99e4b7baed1294103e3a2
This commit is contained in:
parent
5fa7d713d8
commit
745b65f254
|
@ -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' ) || [];
|
||||
} );
|
||||
|
|
Loading…
Reference in a new issue