Extension:NotForMobile

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
notForMobile

Release status:Extension status stable

ImplementationTemplate:Extension#type Tag
DescriptionTemplate:Extension#description This extension add a tag to mark content which should not be renderd by mobile devices.
Author(s)Template:Extension#username n0r1sk.com
LicenseTemplate:Extension#license GNU General Public License 2.0
Download http://www.n0r1sk.com
TagsTemplate:Extension#tags
<nfm> </nfm>
Hooks usedTemplate:Extension#hook
ParserFirstCallInitManual:Hooks/ParserFirstCallInit

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

Check usage and version matrix.

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.

Usage[edit]

Download instructions[edit]

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]

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

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

See also[edit]

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