Extension:RevisionSlider/es

La extensión Cronograma de revisiones añade un cronograma al comparador, para que pueda desplazarse fácilmente entre revisiones.

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.

Ejemplos


 * The Thanks extension https://phabricator.wikimedia.org/rETHA0b241d4d296f488dc7d3a1f4260aa0e426b2d7f5#1493b925
 * The English Wikipedia wikEdDiff gadget 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
El Cronograma de revisiones es una característica que hará posible una de las prioridades en la lista de deseos de la comunidad alemana y está desarrollado por el equipo TCB de la WMDE. Fue inspirado por el gadget de DerHexer revisionjumper y basado en un prototipo de la WMF Community Tech team.