Extension:RevisionSlider/ru

The RevisionSlider extension adds a slider interface to the diff view, so that you can easily move between revisions.

Предыстория
RevisionSlider это возможность для выполнения одного из первых пожеланий "списка пожеланий" немецкого сообщества и был разработан "WMDE's TCB team". Он вдохновлён гаджетом revisionjumper участника DerHexer и основан на прототипе от Community Tech team Фонда Викимедиа.

JavaScript hook`и
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 many need to listen to these hooks.

Examples


 * 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