Open main menu

Extension:KeepSkin

MediaWiki extensions manual
OOjs UI icon advanced.svg
KeepSkin
Release status: beta
Implementation Hook
Description Recognizes when ?useskin=foo or &useskin=foo is in the url and appends the same query to the end of each local url that gets generated in the page.
Author(s) Mohammed Babur (mobabur94talk)
Latest version 1.0 (2013-03-03)
MediaWiki 1.18.x
Database changes No
License GPL
Download
README
Tags
useskin
Hooks used
GetLocalURL
Translate the KeepSkin extension if it is available at translatewiki.net
Check usage and version matrix.

The KeepSkin extension recognizes when ?useskin=foo or &useskin=foo is in the url and appends the same query to the end of each local url that gets generated in the page. I use it in order to keep using a mobile skin when viewing the wiki.

Works on 1.18.x (have not tested other versions)

InstallationEdit

  • Download and place the file(s) in a directory called KeepSkin in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/KeepSkin/KeepSkin.php";
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

See alsoEdit