Thread:Talk:JQuery/Is there a way to let mediawiki support jquery mobile?

I want to some add some jquery mobile components to my wiki site, to give it a more beautiful look on Android app. The app is the official mediawiki mobile client, which can be downloaded from the following link. https://github.com/wikimedia/WikipediaMobile

There is no problem for me to include jquery mobile javascript and css to this little phonegap-based project. Now, if the contents grabbed from the mediawiki website contains jquery mobile components, they can be shown properly on my android phone.

However, the wiki site look quite different if it is accessed from a PC. All the jquery mobile styles do not load properly. So I added the jquery.mobile-1.3.2.min.js to mediawiki common.js, and the jquery.mobile-1.3.2.min.css to mediawiki common.css. The whole site looks a mess. All the buttons and links are shown as jquery mobile buttons, and cannot be clicked. I wonder whether there is a graceful method to apply the jquery.mobile js and css just to the wiki contents, without affecting the surrounding parts, like the edit page button, save page button, etc.