Extension:RevisionSlider/fr

L’extension RevisionSlider ajoute une visualisation de l’historique aux pages de comparaison de versions, afin de rendre la navigation dans l’historique plus aisée.

Opt-out
If you are not using the RevisionSlider at all and also don't want to see the collapsed RevisionSlider bar at the top of the diff page, you can opt-out by checking Don't show the RevisionSlider in you preferences under Appearance -> Diffs.

JavaScript Hooks
The RevisionSlider uses AJAX to reload the diff page when new revisions are selected. Once the page has been reloaded both the wikipage.content and wikipage.diff hooks are fired. If user JavaScript or extension JavaScript acts on the diff page you may need to listen to these hooks.

Exemples


 * L’extension Thanks
 * Le gadget wikEdDiff de la Wikipédia en anglais

API calls & fetching data
Unless expanded, the tool is not doing any API calls. Only when the user expands the slider, it fetches data about revisions (revision-id, timestamp, user, comment, size and flags). The tool only fetches data for revisions that are currently visible on the screen (maximum 500 revisions) and data about additional revisions is only loaded when the user navigates back or forth on the timeline using the arrows.

Contexte
RevisionSlider est une fonctionnalité conçue pour répondre à une des demandes figurant dans la liste de souhaits prioritaire de la communauté allemande ; elle est développée par l’équipe TCB de la WMDE, inspirée par le gadget revisionjumper de DerHexer et repartant d’un prototype de l’équipe Community Tech de la WMF.

Notes (for rather technical audience) on RTL issues discovered while developing the extension have been published on the separate subpage.