Only pull description from wikibase

Filters out 'alias' and other terms not being used yet.

Change-Id: I5d155c76b85de1e5d1d5fb234f565fd6f1658766
This commit is contained in:
Ed Sanders 2015-04-29 10:56:38 +01:00
parent 377f6e4eea
commit df6a570f82
2 changed files with 2 additions and 0 deletions

View file

@ -83,6 +83,7 @@
prop: 'info|pageprops|pageimages|pageterms',
pithumbsize: 80,
pilimit: 10,
wbptterms: 'description',
ppprop: 'disambiguation',
titles: subqueue.join( '|' )
} );

View file

@ -193,6 +193,7 @@ ve.ui.MWLinkTargetInputWidget.prototype.getLookupRequest = function () {
prop: 'info|pageprops|pageimages|pageterms',
pithumbsize: 80,
pilimit: 5,
wbptterms: 'description',
ppprop: 'disambiguation'
} );
promiseAbortObject.abort = req.abort.bind( req ); // todo: ew