User:Rjf892/global.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:LinkPreview/code.js',    ]});