Extension:NotForMobile

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
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 possible

Check usage and version matrix; code metrics

What can this extension do?[edit | edit source]

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.

Usage[edit | edit source]

Download instructions[edit | edit source]

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.

Installation[edit | edit source]

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

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

See also[edit | edit source]

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