Extension:RevisionSlider/gl

A extensión Cronograma de revisións engade un control deslizante ó comparador de diferenzas, para que poida moverse facilmente entre as revisións.

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.

Exemplos


 * A extensión de agradecementos https://phabricator.wikimedia.org/rETHA0b241d4d296f488dc7d3a1f4260aa0e426b2d7f5#1493b925
 * O trebello wikEdDiff da Wikipedia en inglés https://en.wikipedia.org/w/index.php?diff=741585034&oldid=630494053&title=User:Cacycle/wikEdDiff.js

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.

Contexto
O cronograma de revisións é unha característica que materializa un dos principais anhelos da lista de desexos da comunidade alemá. Está desenvolvida polo equipo TCB da WMDE. A ferramenta está inspirada no trebello de DerHexer denominado revisionjumper e está baseada nun prototipo elaborado polo equipo Community Tech da WMF.

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