User talk:Petr Matas/AnimatedHistory

From Meta, a Wikimedia project coordination wiki

Tutorial[edit]

Could you please offer a tutorial, I would really love to try this out but I have no idea who to do it. — The preceding unsigned comment was added by Olfbir (talk)

@Olfbir: Sure:
  • Installation
    1. Make sure you are logged in.
    2. Click this: Open your global.js in the editor
    3. Add the following line to it:
      mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Petr_Matas/AnimatedHistory.js&action=raw&ctype=text/javascript');
    4. Click Save.
    5. You will see instructions for bypassing your browser's cache. Do it.
  • Usage
    1. Open an image with some history, for example en:File:Syrian, Iraqi, and Lebanese insurgencies.png.
    2. Navigation buttons should appear just below the thumbnail. Use them to browse the history.
Petr Matas (talk) 04:35, 31 May 2016 (UTC)[reply]

Safari on Mac[edit]

Not working on Mac Safari Version 9.1.1 (11601.6.17) - JS installed properly on global.js page. Also - having issues on Chrome (did not load previous images)

real animation[edit]

Thank you Petr Matas for the script and the turorial. Now I can click through the versions by the navigation buttons - which is good! Still I wonder if there is a button that I might have overlooked so far for a real animation, meaning that the different pictures/frames are shown in a script-driven sequence. Refering to the example in en:animation: I don't want to click manually through these six frames, I want them to be cycled/repeated automatically. I hope I could express myself propperly ;) Greetings, --Qaswed (talk) 22:19, 29 November 2016 (UTC)[reply]