Thread:Project:Support desk/Is there a way to detect what skins mediawiki using?

Our wiki needs a template, or say widget to show different contents to desktop users and Extension:MobileFrontend users. Is there a way to detect what skins mediawiki using? Or a boolen of mobile true false will be helpful too.