Wiktenauer logo.png

View source for MediaWiki:Gadget-GallerySlideshow.js

Jump to navigation Jump to search

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • This page provides interface text for the software on this wiki, and is protected to prevent abuse. To add or change translations for all wikis, please use translatewiki.net, the MediaWiki localisation project.
  • You do not have permission to edit this JavaScript page because it may affect all visitors.

You can view and copy the source of this page.

/**
* Installer Script for Gallery-Slideshow
* Loads big code on demand
* This code is jshint-valid!
*/
/*global $:false, mw:false, importScriptURI:false */
/*jshint curly:false, */
$(document).ready(function () {
'use strict';
if ($('.gallery').find('li').length < 2 || mw.config.get('wgNamespaceNumber') === -1 ) return; // no need for a gallery with a few images
// Preparation for i18n and [[:mw:ResourceLoader/Version 2 Design Specification]] - using MediaWiki messages to translate
var msgs = {
"gs-label-start": "Slideshow (all images)",
"gs-label-gallery": "Gallery Slideshow",
"gs-label-started": "Show Slideshow",
"gs-label-category": "Category Slideshow",
"gs-label-continue": "Resume",
"gs-title-start": "Start a slideshow of all images (alphabetical by file name)",
הההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
000
1:0

Return to MediaWiki:Gadget-GallerySlideshow.js.