PascalNoisette / mediawiki-extensions-Slides

Slideshow from any mediawiki article
GNU General Public License v2.0
0 stars 1 forks source link

S5SlideShow extension compatibility #3

Open WolfgangFahl opened 3 years ago

WolfgangFahl commented 3 years ago

Trying out http://wiki.bitplan.com/index.php/S5SlideShow#Example_Slideshows shows some basic incompatibilities between the S5SlideShow extension and this extension. It would be good to

WolfgangFahl commented 3 years ago
  1. http://wiki.bitplan.com/index.php?title=SMWConTalk2020-04&action=slide does not work for some reason ?action=slide#/ is now used
  2. There seems to be no <slideshow> tag and the tag content
    <slideshow style="bitplan" headingmark="⌘⌘" incmark="…" scaled="true" font="Comic Sans MS, Calibri, cursive" >

    is ignored - neither the style nor the headingmark nor the incmark nor the scaled nor the font seems to be supported. What are the new ways of doing these and what is the migration path?

WolfgangFahl commented 3 years ago

You might want to compare http://wiki.bitplan.de/index.php?title=SMWConTalk2015-05-01&action=slide to http://wiki.bitplan.com/index.php/SMWConTalk2015-05-01?action=slide#/

WolfgangFahl commented 3 years ago

grafik

WolfgangFahl commented 3 years ago

I can't access the above example. From Slide 3 on there seems be some substructure effect leading to urls like:

http://wiki.bitplan.com/index.php/SMWConTalk2015-05-01?action=slide#/3/16

What causes this effect?

PascalNoisette commented 3 years ago

It look like you reached a "vertical slides". I have chosen to interpret wiki section into slides and their wiki subsections into vertical slides.

WolfgangFahl commented 3 years ago

I'd apprecicate if things would be more configurable. For my immediate problem i am in the process of using https://github.com/BITPlan/pyWikiCMS as a renderer where i can use python code and jinja templates which suite me better than the akward way of writing Mediawiki PHP extensions which are notoriously difficult to debug.

PascalNoisette commented 3 years ago

The former <slideshow> tag will be used to allow customization.

The multiple hooks in S5Slide that initialize some global variable to trigger something might explain why it became impossible to migrate to MW1.35. For this new projet I will keep the PHP code clean and simple and rely on reveal.js and the core engine : less code is better. I need the PHP mediawiki engine to render the widget from other extension such as tables, syntax highlight extension, SimpleMathJax, Score... (apart from the fact this php extension format is mandatory for a mediawiki.com extension)