Thread:Btoky/@comment-5501257-20160319090836

You should replace this code from your MediaWiki:Common.js

wgPageName === 'Card_Search' && importScript('MediaWiki:PetSearch.js');

into

if (mediaWiki.config.get('wgPageName') === 'Card_Search'') { importScript('MediaWiki:PetSearch.js'); }

to make the code work again.

Hope this help. 