User:Slaxflax/global.js

switch (mw.config.get('wgPageName')) { case 'page name': // JS here will be applied to "page name" break; case 'some other page': // JS here will be applied to "some other page" break; } importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:BlogLink/code.js',    ] });