I tried to install it according to this page Extension:MobileFrontend but it did not work. Is there another way?
Topic on Project:Support desk
If "it did not work" you could explain why it did not work.
Yes, sorry. I was trying to install Math extension before this and I had the same error. I could not get the error tracing work. But finally running the update script fixed the issue. I was wondering if there was another way of having a mobile site. This sentence confused me (from Extension:MobileFrontend):
The TemplateStyles extension can be used to style content so that it renders nicely on mobile and desktop. MobileFrontend will not magically fix this for you!
Can this be done with TemplateStyles?
The Extension:MobileFrontend (or specifically the skins which are used for mobile) will take care of most of the general MediaWiki website elements (navbar, sidebar, logo etc.); however, specific customised templates that the Wiki users create are not automatically corrected by the extension. These templates might need their own CSS rules to make them render the desired way on mobile. Extension:TemplateStyles is the convenient way to define specific CSS rules separately for each template.