diff --git a/resources/dist/index.js b/resources/dist/index.js index bc5652789..9af5f9702 100644 Binary files a/resources/dist/index.js and b/resources/dist/index.js differ diff --git a/resources/dist/index.js.map b/resources/dist/index.js.map index 39476be7d..e2d281375 100644 Binary files a/resources/dist/index.js.map and b/resources/dist/index.js.map differ diff --git a/src/gateway/mediawiki.js b/src/gateway/mediawiki.js index 8578a5dce..a387f8e5a 100644 --- a/src/gateway/mediawiki.js +++ b/src/gateway/mediawiki.js @@ -33,6 +33,7 @@ function createMediaWikiApiGateway( api, config ) { piprop: 'thumbnail', pithumbsize: config.THUMBNAIL_SIZE, + pilicense: 'any', rvprop: 'timestamp', inprop: 'url', titles: title, diff --git a/tests/node-qunit/gateway/mediawiki.test.js b/tests/node-qunit/gateway/mediawiki.test.js index 82b09cce3..773a9afdb 100644 --- a/tests/node-qunit/gateway/mediawiki.test.js +++ b/tests/node-qunit/gateway/mediawiki.test.js @@ -64,6 +64,7 @@ QUnit.test( 'MediaWiki API gateway is called with correct arguments', function ( explaintext: true, piprop: 'thumbnail', pithumbsize: DEFAULT_CONSTANTS.THUMBNAIL_SIZE, + pilicense: 'any', rvprop: 'timestamp', inprop: 'url', titles: 'Test Title',