mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-15 11:40:43 +00:00
dc838bc87d
This changes the previous behaviour of fetching always up to 500 most recent revisions. Now the extensions fetches N revisions including the newer revision selected to diff as the most recent revision. N is number of revisions that would fit in the current window when rendered as bars. When user is close to either "end" of the slider, extensions fetches another batch of up to N older or newer revisions, as long as user does not reach the oldest or the newest revision of the page. Among others, this removes the limitations of the previous approach: showing only 500 revisions, and failing to show anything when any of selected revisions was older than 500 recent revisions. This change also simplifies usage of Api class. Bug: T135005 Change-Id: Ib3f4a6ac57ff17008f9d8784c4716bd294443096
34 lines
2.9 KiB
JSON
34 lines
2.9 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"WMDE",
|
|
"Liuxinyu970226",
|
|
"Purodha"
|
|
]
|
|
},
|
|
"revisionslider": "RevisionSlider, see https://www.mediawiki.org/wiki/Extension:RevisionSlider",
|
|
"revisionslider-desc": "{{desc|name=RevisionSlider|url=https://www.mediawiki.org/wiki/Extension:RevisionSlider}}",
|
|
"revisionslider-beta-feature-message": "Label for the RevisionSlider Beta Feature.",
|
|
"revisionslider-beta-feature-description": "Description for the RevisionSlider Beta Feature, describing the feature that will be enabled.",
|
|
"revisionslider-label-date": "Label describing the creation date of this revision.\nParameters:\n* $1 - Creation date.\n{{Identical|Date}}",
|
|
"revisionslider-label-page-size": "Label describing the size of this revision.\nParameters:\n* $1 - Formatted page size.\n* $2 - Page size as raw number used for PLURAL.\n{{Identical|Page size}}",
|
|
"revisionslider-label-change-size": "Label describing the size of the change compared to the revision before.\nParameters:\n* $1 - Formatted change size colored with markup.\n* $2 - Change size as raw number used for PLURAL",
|
|
"revisionslider-label-comment": "Label showing the edit summary of a revision.\n{{Identical|Comment}}",
|
|
"revisionslider-label-username": "Label for the revision's author's username.\nParameters:\n* $1 - Username,\n* $2 - Gender as in user preferences (\"male\", \"female\" or \"unknown\", passed to GENDER),\n* $3 - User page or Special:Contributors subpage for IP addresses.\n\n{{Identical|Username}}",
|
|
"revisionslider-minoredit": "Text labeling a minor edit.",
|
|
"revisionslider-loading-placeholder": "Message shown while the RevisionSlider is still loading on a diff page. Once loaded the message is removed.",
|
|
"revisionslider-loading-failed": "Message shown if the RevisionSlider fails to initially load.",
|
|
"revisionslider-arrow-tooltip-newer": "Text shown after hovering the button scrolling to newer revisions.",
|
|
"revisionslider-arrow-tooltip-older": "Text shown after hovering the button scrolling to older revisions.",
|
|
"revisionslider-show-help": "A symbol shown in the \"Show help\" button.",
|
|
"revisionslider-show-help-tooltip": "Text shown in a tooltip for the \"Show help\" button.",
|
|
"revisionslider-help-dialog-slide1": "Text shown on the first slide of the help dialog.",
|
|
"revisionslider-help-dialog-slide2": "Text shown on the second slide of the help dialog.",
|
|
"revisionslider-help-dialog-slide3": "Text shown on the third slide of the help dialog.",
|
|
"revisionslider-help-dialog-slide4": "Text shown on the fourth slide of the help dialog.",
|
|
"revisionslider-tutorial": "Text shown above the RevisionSlider tutorial.",
|
|
"revisionslider-previous-dialog": "Label of the button to go to the previous tutorial slide.\n{{Identical|Previous}}",
|
|
"revisionslider-next-dialog": "Label of the button to go to the next tutorial slide.\n{{Identical|Next}}",
|
|
"revisionslider-close-dialog": "Label of the button to close the RevisionSlider tutorial.\n{{Identical|Close}}"
|
|
}
|