Extension:RevisionSlider/el

Category:GPL licensed extensions/el
Εγχειρίδιο επεκτάσεων MediaWiki
RevisionSlider
Κατάσταση κυκλοφόρησης: σταθερήCategory:Stable extensions/el
Υλοποίηση Διεπαφή χρήστηCategory:User interface extensions/el
Περιγραφή Προσθέτει μια προβολή κύλισης στη σελίδα των πρόσφατων αλλαγών, έτσι ώστε να μπορείτε εύκολα να μετακινείστε μεταξύ των αναθεωρήσεων.
Συγγραφέας(είς) Wikimedia Γερμανίας (WMDE)
Πολιτική συμβατότητας Κυκλοφορίες στιγμιότυπων μαζί με το MediaWiki. Η master δεν είναι συμβατή προς τα πίσω.
MediaWiki 1.25+Category:Extensions with manual MediaWiki version/el
Αλλαγές βάσης δεδομένων Όχι
Άδια Χρήσης GNU General Public License 2.0 ή νεότερη
Κατέβασμα Category:Extensions in Wikimedia version control/el
Μεταφράστε την επέκταση RevisionSlider αν είναι διαθέσιμη στο translatewiki.net
Θέματα Ανοικτά καθήκοντα · Αναφορά σφάλματος
Category:All extensions/el

Η RevisionSlider προσθέτει μια προβολή κύλισης στη σελίδα των πρόσφατων αλλαγών, έτσι ώστε να μπορείτε εύκολα να μετακινείστε μεταξύ των αναθεωρήσεων.

Εγκατάσταση

  • Κάντε λήψη και τοποθετήστε τα αρχεία σε έναν κατάλογο που ονομάζεται RevisionSlider στον φάκελο extensions/ σας.
    Developers and code contributors should install the extension from Git instead, using:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
    
  • Προσθέστε τον παρακάτω κώδικα στο κάτω μέρος του $LocalSettings σας:
    wfLoadExtension( 'RevisionSlider' );
    
  • Yes Done – Πλοηγηθείτε στο Special:Version στο wiki για να βεβαιωθείτε ότι η επέκταση έχει εγκατασταθεί με επιτυχία.

Χρήση

Η RevisionSlider σας βοηθά να πλοηγηθείτε και να συγκρίνετε αναθεωρήσεις στο ιστορικό της σελίδας.

Once expanded, the RevisionSlider fetches data about the revisions and allows you to navigate and compare revisions on the diff page.

Each bar represents a page revision.
Bars on the top show growth in size of the page, bars on the bottom show a reduction.

Στην εικόνα, η αναθεώρηση 1 αντιπροσωπεύει το περιεχόμενο που έχει προστεθεί, ενώ η αναθεώρηση 2 αντιπροσωπεύει την αφαίρεση του περιεχομένου.

Για να συγκρίνετε συγκεκριμένες αναθεωρήσεις, επιλέξτε τις αναθεωρήσεις χρησιμοποιώντας τον κίτρινο και τον μπλε δείκτη. The blue knob controls the newer revision, the yellow knob maps to the older revision.

There are several ways to do this:
  • You can drag and drop the knob to the desired position on the slider.
  • You can click on the desired position on the slider line.
To select the newer revision, click on the blue line, and for selecting the older revision, click on the yellow line. To indicate which revision you're about to select, a preview of a blue or yellow knob appears and the bar turns blue or yellow.
  • You can click into the bar above the middle line (to select the newer revision) or below the line (to select the older revision). This also gives you a preview of the knob on the middle line.

If you move the blue knob to a position left of the yellow knob, the yellow knob is automatically moved along, and vice versa if you move the yellow knob to a position right of the blue knob.

Use the backward and forward arrows to move through revision history and show older and newer revisions.

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 "Να μην εμφανίζεται ο ολισθητής αναθεωρήσεων" in your preferences under "Εμφάνιση" → "Διαφορές".

Technical Background

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.

Examples

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.

Ιστορικό

The RevisionSlider[1] is a feature to fulfill one of the top wishes of the German Community wishlist[2] 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.

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

Παραπομπές

Category:Extensions used on Wikimedia/el#RevisionSlider/el
Category:All extensions/el Category:DifferenceEngineViewHeader extensions/el Category:Extensions in Wikimedia version control/el Category:Extensions included in BlueSpice/el Category:Extensions included in Canasta/el Category:Extensions included in Miraheze/el Category:Extensions included in MyWikis/el Category:Extensions included in ProWiki/el Category:Extensions included in WikiForge/el Category:Extensions included in wiki.gg/el Category:Extensions used on Wikimedia/el Category:Extensions with manual MediaWiki version/el Category:GPL licensed extensions/el Category:GetPreferences extensions/el Category:Stable extensions/el Category:User interface extensions/el