Last modified on 8 September 2013, at 09:40

Extension:NotForMobile

MediaWiki extensions manual
Crystal Clear action run.png
notForMobile

Release status: stable

Implementation Tag
Description This extension add a tag to mark content which should not be renderd by mobile devices.
Author(s) n0r1sk.com
License GNU General Public License 2.0
Download http://www.n0r1sk.com
Tags
<nfm> </nfm>
Hooks used
ParserFirstCallInit

Translate the NotForMobile extension if it is available at translatewiki.net

Check usage and version matrix; code metrics

What can this extension do?Edit

A very small extension that adds a new tag <nfm> </nfm> to MediaWiki. MediaWiki code between this tags will not be rendered by mobile devices. This is useful if you do not want that some of your template brickd got shown on mobile devices, because they could break mobile skins like WPtouch.

UsageEdit

Download instructionsEdit

Please download copy of the extension from our site http://www.n0r1sk.com and and place it in $IP/extensions/ExtensionName/ExtensionName.php. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

InstallationEdit

To install this extension, add the following to LocalSettings.php:

#Not for mobile
require_once("$IP/extensions/notForMobile.php");

See alsoEdit

If you like go to our site http://www.n0r1sk.com and leave a message there!