Extension:JQuerySnowfall

Category:Unmaintained extensions#JQuerySnowfall Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:AGPL licensed extensions
MediaWiki extensions manual
JQuerySnowfall
Release status: unmaintainedCategory:Unmaintained extensions
Implementation Tag Category:Tag extensions
Description Allows to make it snow on MediaWiki with the JQuery-Snowfall plugin
Author(s) Nikus Pokus
Latest version 1.0
MediaWiki Category:Extensions without MediaWiki version
Database changes No
License GNU Affero General Public License 3.0
Download Category:Extensions in GitHub version control
Category:All extensionsCategory:Extensions not in ExtensionJson

This extension makes it snow on MediaWiki web pages with the JQuery-Snowfall plugin.

Installation

  • Download and move the extracted JQuerySnowfall folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/JQuerySnowfall
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'JQuerySnowfall' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

Flake images instead of white dots

The JQuery-Snowfall plugin supports the use of images for the flakes.
To use an image for the flakes, edit the file "extensions/JQuerySnowfall/init.js":

    // comment the following line
    //$(document).snowfall();

    // add the following line
    $(document).snowfall({image :"https://mywiki.domain.net/images/1/11/Flake.png", minSize: 10, maxSize:32});

You can use the flake image located in extensions/JQuerySnowfall/JQuery-Snowfall/images/flake.png:

  1. import the image in your MediaWiki web site
  2. use the url of the imported image

The JQuery-Snowfall plugin

This extension is bundled with JQuery-Snowfall version 1.7.4
If you want a different version of the JQuery-Snowfall plugin:

  1. go on the GitHub repository of the project and download it.
  2. remove or rename the extensions/JQuerySnowfall/JQuery-Snowfall folder.
  3. unarchive the custom package in extensions/JQuerySnowfall. You should have a fresh new extensions/JQuerySnowfall/JQuery-Snowfall folder.

See also

Category:AGPL licensed extensions Category:All extensions Category:BeforePageDisplay extensions Category:Extensions in GitHub version control Category:Extensions not in ExtensionJson Category:Extensions without MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:Tag extensions Category:Unmaintained extensions