Board Thread:Support Requests - Getting Technical/@comment-1164563-20190508003211

I am trying to get the full use out of the MediaWiki:ImportJS feature, moving all I can from Common.js to there, but I come across one stumbling block. Namely, we have been using w:c:dev:AjaxRC, and ages upon ages ago, when I stole the import commands for it, I applied it to both RecentChanges and Wiki Activity.

Now that I removed it and moved to ImportJS, it is appearing only on one page by default, which is RecentChanges, but not Wiki Activity, and people are asking for this to be reverted.

Is there an easy way to pass the window.ajaxSpecialPages to the script? Or do I have to put it into Common.js again and wait until it passes the review again?

On top, if I can only configured it from inside Common.js, do I need to use the importArticles inside of Common.js or it work if the import itself is defined only in ImportJS? 