Skin:WPtouch
WPtouch Release status: stable | |
---|---|
![]() | |
Description | Responsive, simple, mobile-first skin |
Author(s) |
|
Latest version |
1.0 (25 June 2015) |
MediaWiki | 1.30+ |
PHP | 5.3+ |
License | GPL v2 or later |
Download | |
Example | Interface Messages Wiki |
Translate the WPtouch skin if it is available at translatewiki.net | |
Check usage and version matrix; |
WPtouch is a responsive, simple, mobile-first MediaWiki skin ported from the free and open source, GPL-licensed WordPress theme with the same name.
The WPtouch skin requires that the user has JavaScript enabled.
Logo[edit]
The site-specific logo can be set by uploading a 32x32px image as [[File:WPtouch-logo-icon.png]]
. If that file doesn't exist, the skin displays the favicon.png
image from the $wgStylePath/WPtouch/resources/images/
directory.
Installation[edit]
- Download and place the file(s) in a directory called
WPtouch
in yourskins/
folder. - Add the following code at the bottom of your LocalSettings.php:
wfLoadSkin( 'WPtouch' );
Done - Navigate to Special:Version on your wiki to verify that the skin is successfully installed.
To users running MediaWiki 1.24 or earlier:
The instructions above describe the new way of installing skins using wfLoadSkin()
, since MediaWiki 1.25. If you need to install this skin in earlier versions, instead of wfLoadSkin( 'WPtouch' );
, you need to use:
require_once "$IP/skins/WPtouch/WPtouch.php";
(To run an skin on an earlier release, you may need to download the version of it tagged for that release from Special:SkinDistributor.)