Extension:S5SlideShow

S5 or simply S5 is a cross-browser slide-show system using pure HTML and JavaScript. Its name is derived from Simple Standards-based Slide Show System — 5 times «S», or simply S5.

S5SlideShow is a MediaWiki extension allowing simple, fast and convenient creation of slide shows using S5 in the context of MediaWiki and Wiki pages.

Full description and usage information is here: http://wiki.4intra.net/S5SlideShow

Download
The source code now lives on Github:
 * https://github.com/mediawiki4intranet/S5SlideShow
 * SVN mirror: http://wiki.4intra.net/svn/mediawiki4intranet/extensions/S5SlideShow/

See full feature list and usage information on extension homepage: http://wiki.4intra.net/S5SlideShow (English), http://wiki.4intra.net/S5SlideShow/ru (Russian).

This extension is similar to TooooOld's S5 extension (it was somewhere on this wiki, but now probably is removed), but it's far more advanced.

Installation
PHP DOM extension is required.

After the download and copy of the files, add the following line to your LocalSettings.php. // headingmark attribute default value $egS5SlideHeadingMark = false; // incmark attribute default value $egS5SlideIncMark = '(step)';

require_once( "$IP/extensions/S5SlideShow/S5SlideShow.php" );

Getting started
The tag is used to allow to generate a link for the display of the slideshow. 
 * title: Let's start
 * author: Vitaliy Filippov

Changes

 * 2020-01: Fixes in the works see http://wiki.bitplan.com/index.php/S5SlideShow
 * 2015-10-10: Subsections are no more included in slides. If anybody needs the old behaviour — please fill an issue on github.
 * 2015-10-03: Added support for MediaWiki 1.25.
 * 2014-05-28: Added the ability to turn all page sections into slides, enabled by headingmark equal to an empty string.
 * 2013-11-06: Fixed, i.e. — now slides with animations are scaled correctly, and only the last animation item is shown in print and normal article modes.
 * 2013-09-30: Added display of slideshow tag field values in a definition list.
 * 2013-05-21: Added printing and PDF export ability (for auto-scaled presentations).
 * 2013-05-15: Fixed SVG scaling on initially opened slide in Chrome.
 * 2013-05-15: Automatic slide content scaling now honors content width overflow (previously it scaled slides only based on its content height).
 * 2013-05-07: Committed 'nobook' style.
 * 2012-08-08: Added a check for PHP DOM extension and DOM MediaWiki preprocessor — they are required for this extension to work.
 * 2012-01-19: Smooth slide transitions using CSS3 animations.
 * 2011-11-01: Removed all warnings under E_STRICT. Removed register_globals vulnerabilities. Allow centered slides with titles (centermark).
 * 2011-09-19: Parser hack for better image quality in presentations ($egS5BrowserScaleHack). Images inserted with a specified width will be scaled by browser instead of MediaWiki software.
 * 2011-09-12: Fix SVG scaling errors.
 * 2011-06-17: Allow custom style previews to be stored as uploaded files.
 * 2011-06-15: «noslide» and «slideonly» CSS classes to allow hiding/showing certain elements.
 * 2011-06-10: Fix non-working «incmark» error.
 * 2011-06-06: Follow redirects in presentation mode.
 * 2011-05-29: Refactoring — totally new article parsing method, &lt;slide> is renamed to &lt;slideshow>, much better content scaler (+images +SVG +CSS3), always scales content relatively to the text. Also new optional experimental method for specifying slides — &lt;slides&gt; tag, allows «live thumbnails» mode when viewing article. «pagebreak» option is removed.
 * 2011-05-10: Allow to create own skins using Wiki pages.

Open issue(s)

 * FIXME remove hardcode extensions/S5SlideShow/
 * TODO cache generated stylesheets and flush the cache after saving style articles
 * TODO remove support for loading text from session object and replace it by support for save-staying-in-edit-mode extension