Extension:MobileMeta

The MobileMeta extension adds  tag into the page header. Because of the new skinning method beginning Mediawiki version 1.18, it is no longer preferable to add include the tag in the skin itself. This would be suitable if the mobile version of the site is operated on a separate Mediawiki installation.

Installation
Install this file MobileMeta.php in the extension directory:

tag to the page header', 'version'=> '0.1' );

$wgHooks['OutputPageBeforeHTML'][] = 'insertMetaDescription'; function insertMetaDescription( $out ) { $out->addMeta( 'viewport', 'width=device-width, initial-scale=1.0' ); return true; }
 * 1) $dir = dirname(__FILE__) . DIRECTORY_SEPARATOR;

Configuration parameters
None.