Extension:RevisionSlider/ckb

زیادکراوی RevisionSlider ڕووکارێکی گوێزەرەوە بۆ بەشی جیاوازی زیاد دەکات کە ڕێگە دەدات بە ئاسانی لەنێوان پێداچوونەوەکات ھاتووچۆ بکەیت.

Background
The RevisionSlider is a feature to fulfill one of the top wishes of the German Community wishlist and is developed by WMDE's TCB team. It is inspired by DerHexer's revisionjumper gadget and based on a prototype by the WMF Community Tech team.

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 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